Make iseqsig handle excess precision.
[glibc.git] / ChangeLog
blobcd17710e7c7a601a7feee82f8c0834762b0151ec
1 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
3         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4         conditional on value of [__FLT_EVAL_METHOD__].
5         * math/test-iseqsig-excess-precision.c: New file.
6         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10         * math/s_iseqsig_template.c: Include math-private.h.
12         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13         * posix/tst-posix_fadvise.c: New file.
14         * posix/tst-posix_fadvise64.c: Likewise.
15         * posix/tst-posix_fadvise-common.c: Likewise.
16         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17         (__ASSUME_FADVISE64_64_6ARG): Define.
18         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
20         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
22         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
23         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
24         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
25         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
26         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
27         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
28         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
29         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
30         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
31         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
32         Likewise.
33         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
34         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
35         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
36         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
37         Alias to __posix_fadvise64_l32.
38         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
39         Add compat definition to posix_fadvise64.
40         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
41         Add versioned definition to posix_fadvise64.
42         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
43         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
44         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
45         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
46         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
48         * io/Makefile (tests): Add tst-posix_fallocate and
49         tst-posix_fallocate64.
50         * io/tst-posix_fallocate-common.c: New file.
51         * io/tst-posix_fallocate.c: Likewise.
52         * io/tst-posix_fallocate64.c: Likewise.
53         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
54         file.
55         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
56         Likewise.
57         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
58         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
59         Likewise.
60         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
61         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
62         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
63         SYSCALL_LL to pass both offset and len arguments.
64         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
65         Likewise.
66         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
67         __libc_pwrite64 alias used by posix_fallocate64.
69         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
70         tst-fallocate64.
71         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
72         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
73         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
74         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
75         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
76         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
77         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
78         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
80         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
81         macro on offset argument.
82         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
83         SYSCALL_LL64 on offset argument.
85         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
86         tst-fallocate64.
87         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
88         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
89         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
90         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
91         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
92         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
93         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
94         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
95         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
96         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
97         macro on offset argument.
98         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
99         SYSCALL_LL64 on offset argument.
100         * test-skeleton.c (FAIL_RET): Add macro.
101         (FAIL_EXIT): Likewise.
102         (FAIL_EXIT1): Likewise.
103         (_FAIL): Likewise.
105 2016-10-07  Florian Weimer  <fweimer@redhat.com>
107         [BZ #20629]
108         resolv: Remove RES_USEBSTRING and its implementation.
109         * resolv/resolv.h (RES_USEBSTRING): Remove.
110         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
111         (digitvalue, encode_bitstring, decode_bitstring): Remove.
112         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
113         (labellen): Remove extended label types support.
114         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
115         * resolv/res_init.c (res_setoptions): Likewise.
116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
118 2016-10-07  Florian Weimer  <fweimer@redhat.com>
120         resolv: Remove RES_NOIP6DOTINT and its implementation.
121         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
122         (RES_NOIP6DOTINT): Remove.
123         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
124         handling.
125         * resolv/res_debug.c (p_option): Likewise.
126         * resolv/res_init.c (res_setoptions): Likewise.
127         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
129 2016-10-07  Florian Weimer  <fweimer@redhat.com>
131         resolv: Deprecate unimplemented flags.
132         * misc/sys/cdefs.h (__glibc_macro_warning1)
133         (__glibc_macro_warning): Define.
134         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
135         (RES_KEEPTSIG): Mark as deprecated.
136         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
137         RES_NOCHECKNAME, RES_KEEPTSIG.
138         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
140 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
142         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
143         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
144         Use strong_alias to create symbols for glibc verison 2.19.
146 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
148         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
150 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
152         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
154 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
156         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
158 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
160         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
161         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
162         in header for using it as type for ifunc function because __GI_* symbols
163         for ppc32 do not target the ifunc symbols.
164         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
166 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
168         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
169         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
170         libc_ifunc_hidden_def.
171         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
172         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
173         Redirect ifunced function in header for using it as type of ifunc'ed
174         function. Redefine libc_hidden_def to use fallback non ifunc'ed
175         function for __GI_* symbol.
176         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
177         * include/libc-symbols.h
178         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
180 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
182         [BZ #20478]
183         * sysdeps/s390/multiarch/ifunc-resolve.h
184         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
185         to create ifunc symbols.
186         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
187         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
188         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
189         for using it as type for ifunc function.
190         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
191         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
192         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
193         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
194         * sysdeps/s390/multiarch/strcat.c: Likewise.
195         * sysdeps/s390/multiarch/strchr.c: Likewise.
196         * sysdeps/s390/multiarch/strcmp.c: Likewise.
197         * sysdeps/s390/multiarch/strcpy.c: Likewise.
198         * sysdeps/s390/multiarch/strcspn.c: Likewise.
199         * sysdeps/s390/multiarch/strlen.c: Likewise.
200         * sysdeps/s390/multiarch/strncmp.c: Likewise.
201         * sysdeps/s390/multiarch/strncpy.c: Likewise.
202         * sysdeps/s390/multiarch/strnlen.c: Likewise.
203         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
204         * sysdeps/s390/multiarch/strrchr.c: Likewise.
205         * sysdeps/s390/multiarch/strspn.c: Likewise.
206         * sysdeps/s390/multiarch/wcschr.c: Likewise.
207         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
208         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
209         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
210         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
211         * sysdeps/s390/multiarch/wmemset.c: Likewise.
212         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
213         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
214         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
215         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
216         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
217         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
219 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
221         * include/libc-symbols.h (__ifunc_resolver):
222         New macro is used by __ifunc* macros.
223         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
224         depending on HAVE_GCC_IFUNC.
225         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
226         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
228         Redirect ifunced function in header for using as type for ifunc function.
229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
236         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
237         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
238         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
239         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
240         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
242         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
248         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
249         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
250         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
251         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
252         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
253         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
254         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
255         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
256         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
257         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
258         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
259         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
261         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
263         Add libc_hidden_def() and use libc_ifunc_hidden() macro
264         instead of libc_ifunc() macro.
265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
268 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
270         * config.h.in (HAVE_GCC_IFUNC): New undef.
271         * configure.ac: Add check if gcc supports attribute ifunc feature.
272         * configure: Regenerated.
273         * manual/install.texi: Add recommendation for gcc with
274         indirect-function support.
275         * INSTALL: Regenerated.
277 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
279         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
280         macro.
281         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
282         (__iseqsig): New declaration.
283         * math/s_iseqsig_template.c: New file.
284         * math/Versions (__iseqsigf): New libm symbol at version
285         GLIBC_2.25.
286         (__iseqsig): Likewise.
287         (__iseqsigl): Likewise.
288         * math/libm-test.inc (iseqsig_test_data): New array.
289         (iseqsig_test): New function.
290         (main): Call iseqsig_test.
291         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
292         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
293         * manual/libm-err-tab.pl: Update comment on interfaces without
294         ulps tabulated.
295         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
296         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
297         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
298         * sysdeps/nacl/libm.abilist: Update.
299         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
306         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
310         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
312         Likewise.
313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
314         Likewise.
315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
316         Likewise.
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
318         Likewise.
319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
320         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
321         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
322         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
325         Likewise.
326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
327         Likewise.
328         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
332 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
334         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
335         do_sincos_2, sloww, sloww1): Update comments.
337         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
338         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
340         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
341         K boolean and rename it.
342         (__sin): Adjust.
343         (__cos): Adjust.
345 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
346             Siddhesh Poyarekar  <siddhesh@sourceware.org>
348         * manual/nss.texi: Fix typos in the manual.
350 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
352         * manual/contrib.texi: Fix typos in the manual.
354         * manual/maint.texi: Fix typos in the manual.
356         * manual/install.texi: Fix typos in the manual.
357         * INSTALL: Regenerated.
359         * manual/lang.texi: Fix typos in the manual.
361         * manual/probes.texi: Fix typos in the manual.
363         * manual/threads.texi: Fix typos in the manual.
365         * manual/debug.texi: Fix typos in the manual.
367         * manual/crypt.texi: Fix typos in the manual.
369         * manual/conf.texi: Fix typos in the manual.
371         * manual/sysinfo.texi: Fix typos in the manual.
373         * manual/users.texi: Fix typos in the manual.
375         * manual/job.texi: Fix typos in the manual.
377         * manual/process.texi: Fix typos in the manual.
379         * manual/argp.texi: Fix typos in the manual.
380         * manual/getopt.texi: Likewise.
381         * manual/startup.texi: Likewise.
383         * manual/signal.texi: Fix typos in the manual.
385         * manual/setjmp.texi: Fix typos in the manual.
387         * manual/resource.texi: Fix typos in the manual.
389         * manual/time.texi: Fix typos in the manual.
391         * manual/arith.texi: Fix typos in the manual.
393         * manual/math.texi: Fix typos in the manual.
395         * manual/syslog.texi: Fix typos in the manual.
397         * manual/terminal.texi: Fix typos in the manual.
399         * manual/socket.texi: Fix typos in the manual.
401         * manual/filesys.texi: Fix typos in the manual.
403         * manual/llio.texi: Fix typos in the manual.
405         * manual/stdio.text: Fix typos in the manual.
407 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
409         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
410         instead of K1.
412         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
413         SHIFT_QUADRANT and make it bool.
414         (do_sincos_2): Likewise.
415         (sloww): Likewise.
416         (sloww1): Likewise.
417         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
418         (__cos): Likewise.
420 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
422         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
424 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
426         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
427         Define to __WORDSIZE, not conditional on [LONG_MAX ==
428         0x7fffffffL].
429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
431 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
433         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
434         inline by __inline__.
435         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
436         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
437         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
438         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
439         sigset_t from signal.h.
440         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
441         which is already required.
443 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
445         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
447 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
449         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
450         (struct tcp_repair_window): New type.
452 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
454         * libio/tst-memstream3.c: Include string.h.
456 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
458         [BZ #18241]
459         [BZ #20181]
460         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
461         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
462         write position is at the end the buffer.
463         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
464         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
465         (_IO_str_seekoff): Set correct offset from negative displacement and
466         set EINVAL for invalid ones.
467         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
468         buffer length.
469         (_IO_wstr_switch_to_get_mode): New function.
470         (_IO_wstr_seekoff): Set correct offset from negative displacement and
471         set EINVAL for invalid ones.
472         * libio/tst-memstream3.c: New file.
473         * libio/tst-wmemstream3.c: Likewise.
474         * manual/examples/memstrm.c: Remove warning when priting size_t.
476 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
478         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
479         macro to use __builtin_fma.
480         * sysdeps/x86_64/fpu/dla.h: Remove file.
482         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
483         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
484         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
486 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
488         [BZ #20292]
489         * elf/Makefile (routines): Add dl-addr-obj.
490         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
491         tst-_dl_addr_inside_object.
492         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
493         [ifeq (yesyes,$(have-fpie)$(build-shared))]
494         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
495         [ifeq (yesyes,$(have-fpie)$(build-shared))]
496         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
497         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
498         * elf/dl-open.c: Likewise.
499         * elf/dl-addr-obj.c: New file.
500         * elf/tst-_dl_addr_inside_object.c: New file.
502 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
504         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
505         <bits/iscanonical.h>.
506         * bits/iscanonical.h: New file.
507         * math/s_iscanonicall.c: Likewise.
508         * math/Versions (__iscanonicall): New libm symbol at version
509         GLIBC_2.25.
510         * math/libm-test.inc (iscanonical_test_data): New array.
511         (iscanonical_test): New function.
512         (main): Call iscanonical_test.
513         * math/Makefile (headers): Add bits/iscanonical.h.
514         (type-ldouble-routines): Add s_iscanonicall.
515         * manual/arith.texi (Floating Point Classes): Document
516         iscanonical.
517         * manual/libm-err-tab.pl: Update comment on interfaces without
518         ulps tabulated.
519         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
520         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
521         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
522         Likewise.
523         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
524         test-iscanonical-ldbl-128ibm.
525         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
526         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
527         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
528         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
529         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
530         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
533         Likewise.
534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
535         Likewise.
536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
537         Likewise.
538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
539         Likewise.
540         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
543 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
545         * string/bits/string3.h: Remove C++ style comments.
547 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
549         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
550         instead of ternary condition.
551         (do_sincos_2): Likewise.
552         (__sin): Likewise.
553         (__cos): Likewise.
554         (slow): Likewise.
555         (sloww): Likewise.
556         (sloww1): Likewise.
557         (bsloww): Likewise.
558         (bsloww1): Likewise.
560         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
561         instead of ternary condition.
562         (do_sin_slow): Likewise.
563         (do_sincos_1): Likewise.
564         (do_sincos_2): Likewise.
565         (__cos): Likewise.
566         (sloww): Likewise.
567         (sloww1): Likewise.
568         (sloww2): Likewise.
569         (bsloww): Likewise.
570         (bsloww1): Likewise.
571         (bsloww2): Likewise.
573         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
574         check from here...
575         (slow2): ... and here...
576         (__sin): ... to here.
578 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
580         * math/math.h
581         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
582         Cast argument to its own type.
583         * math/test-iszero-excess-precision.c: New file.
584         * math/Makefile (tests): Add test-iszero-excess-precision.
585         (CFLAGS-test-iszero-excess-precision.c): New variable.
587 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
589         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
590         field, add err field.
591         (__spawni_child): Report error through err member instead of pipe.
592         (__spawnix): Likewise.
594 2016-09-28  Zack Weinberg  <zackw@panix.com>
596         * scripts/check-installed-headers.sh: Generalize treatment of
597         sys/elf.h to all target architectures.
599         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
600         deleted typedef ucontext_t.
602 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
604         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
605         (__INTERNAL_SYSCALL1): Likewise.
606         (__INTERNAL_SYSCALL2): Likewise.
607         (__INTERNAL_SYSCALL3): Likewise.
608         (__INTERNAL_SYSCALL4): Likewise.
609         (__INTERNAL_SYSCALL5): Likewise.
610         (__INTERNAL_SYSCALL6): Likewise.
611         (__INTERNAL_SYSCALL7): Likewise.
612         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
613         (__INTERNAL_SYSCALL_NARGS): Likewise.
614         (__INTERNAL_SYSCALL_DISP): Likewise.
615         (INTERNAL_SYSCALL_CALL): Likewise.
616         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
617         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
618         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
619         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
620         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
621         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
622         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
623         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
624         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
625         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
626         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
627         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
628         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
630 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
632         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
633         macro.
634         * math/libm-test.inc (iszero_test_data): New array.
635         (iszero_test): New function.
636         (main): Call iszero_test.
637         * manual/arith.texi (Floating Point Classes): Document iszero.
638         * manual/libm-err-tab.pl: Update comment on interfaces without
639         ulps tabulated.
641 2016-09-23  Zack Weinberg  <zackw@panix.com>
643         * scripts/check-installed-headers.sh: New script.
644         * Rules: In each directory that defines header files to be installed,
645         run check-installed-headers.sh on them as a special test.
646         * Makefile: Likewise for the headers installed at top level.
648         * include/aliases.h, include/alloca.h, include/argz.h
649         * include/arpa/nameser.h, include/arpa/nameser_compat.h
650         * include/elf.h, include/envz.h, include/err.h
651         * include/execinfo.h, include/fpu_control.h, include/getopt.h
652         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
653         * include/link.h, include/malloc.h, include/mcheck.h
654         * include/mntent.h, include/netinet/ether.h
655         * include/nss.h, include/obstack.h, include/printf.h
656         * include/pty.h, include/resolv.h, include/rpc/auth.h
657         * include/rpc/auth_des.h, include/rpc/auth_unix.h
658         * include/rpc/clnt.h, include/rpc/des_crypt.h
659         * include/rpc/key_prot.h, include/rpc/netdb.h
660         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
661         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
662         * include/rpc/rpc_msg.h, include/rpc/svc.h
663         * include/rpc/svc_auth.h, include/rpc/xdr.h
664         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
665         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
666         * include/rpcsvc/ypupd.h, include/shadow.h
667         * include/stdio_ext.h, include/sys/epoll.h
668         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
669         * include/sys/prctl.h, include/sys/profil.h
670         * include/sys/statfs.h, include/sys/sysctl.h
671         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
672         * sysdeps/arm/nacl/include/bits/setjmp.h
673         * sysdeps/mips/include/sys/asm.h
674         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
675         * sysdeps/unix/sysv/linux/include/sys/timex.h
676         * sysdeps/x86/fpu/include/bits/fenv.h:
677         Add #ifndef _ISOMAC guard around internal declarations.
678         Add multiple-inclusion guard if not already present.
680 2016-09-23  Zack Weinberg  <zackw@panix.com>
682         * sysdeps/generic/sys/ucontext.h
683         * sysdeps/arm/sys/ucontext.h
684         * sysdeps/i386/sys/ucontext.h
685         * sysdeps/m68k/sys/ucontext.h
686         * sysdeps/mips/sys/ucontext.h
687         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
688         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
689         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
690         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
691         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
692         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
693         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
694         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
695         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
696         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
697         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
698         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
699         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
700         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
701         Include both bits/sigcontext.h and bits/sigstack.h.
702         Fix grammar error in comment, if present.
704         * bits/sigstack.h
705         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
706         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
707         * sysdeps/unix/sysv/linux/bits/sigstack.h
708         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
709         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
710         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
711         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
712         * bits/sigcontext.h
713         * sysdeps/mach/hurd/i386/bits/sigcontext.h
714         * sysdeps/unix/sysv/linux/bits/sigcontext.h
715         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
716         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
717         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
718         as well as signal.h, if this was not already allowed.  Request
719         definition of size_t if necessary.  Minimize semantically-null
720         differences across files.
722 2016-09-23  Zack Weinberg  <zackw@panix.com>
724         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
725         Remove all logic conditional on __need macros.  Move all the
726         conditionally defined types to their own headers...
727         * time/bits/types/clock_t.h: Define clock_t here.
728         * time/bits/types/clockid_t.h: Define clockid_t here.
729         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
730         * time/bits/types/struct_timespec.h: Define struct timespec here.
731         * time/bits/types/struct_timeval.h: Define struct timeval here.
732         * time/bits/types/struct_tm.h: Define struct tm here.
733         * time/bits/types/time_t.h: Define time_t here.
734         * time/bits/types/timer_t.h: Define timer_t here.
735         * time/Makefile: Install the new headers.
737         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
738         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
739         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
740         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
741         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
742         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
743         * sysdeps/unix/sysv/linux/bits/resource.h
744         * sysdeps/unix/sysv/linux/bits/timex.h
745         * sysdeps/unix/sysv/linux/mips/bits/resource.h
746         * sysdeps/unix/sysv/linux/net/ppp_defs.h
747         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
748         * sysdeps/unix/sysv/linux/sys/acct.h
749         * sysdeps/unix/sysv/linux/sys/timerfd.h
750         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
751         * time/sys/time.h, time/sys/timeb.h
752         Use the new bits/types headers.
754         * include/time.h: Remove __need logic.
755         * include/bits/time.h
756         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
757         * include/bits/types/time_t.h, include/bits/types/timer_t.h
758         * include/bits/types/struct_itimerspec.h
759         * include/bits/types/struct_timespec.h
760         * include/bits/types/struct_timeval.h
761         * include/bits/types/struct_tm.h:
762         New wrapper headers.
764 2016-09-23  Zack Weinberg  <zackw@panix.com>
766         * sysdeps/mach/hurd/net/if_ppp.h
767         * sysdeps/unix/sysv/linux/net/if_ppp.h:
768         Only define struct ifpppstatsreq and struct ifpppcstatsreq
769         if __USE_MISC is defined, to ensure struct ifreq is declared.
771         * inet/netinet/ether.h: Condition all function prototypes
772         on __USE_MISC, to ensure struct ether_addr is declared.
774         * socket/bits/types/struct_osockaddr.h: New header.
775         * include/bits/types/struct_osockaddr.h: New wrapper.
776         * socket/Makefile: Install the new header.
777         * socket/sys/socket.h, inet/protocols/talkd.h:
778         Refer to bits/types/struct_osockaddr.h for the definition of
779         struct osockaddr.
781 2016-09-23  Zack Weinberg  <zackw@panix.com>
783         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
784         * inet/protocols/routed.h, inet/protocols/talkd.h
785         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
786         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
787         * sysdeps/generic/netinet/if_ether.h
788         * sysdeps/generic/netinet/in_systm.h
789         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
790         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
791         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
792         * sysdeps/mach/hurd/net/if_arp.h
793         * sysdeps/mach/hurd/net/if_ppp.h
794         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
795         * sysdeps/unix/sysv/linux/bits/in.h
796         * sysdeps/unix/sysv/linux/net/ethernet.h
797         * sysdeps/unix/sysv/linux/net/if_arp.h
798         * sysdeps/unix/sysv/linux/net/if_ppp.h
799         * sysdeps/unix/sysv/linux/net/if_shaper.h
800         * sysdeps/unix/sysv/linux/net/route.h
801         * sysdeps/unix/sysv/linux/netinet/if_ether.h
802         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
803         * sysdeps/unix/sysv/linux/netinet/if_tr.h
804         * sysdeps/unix/sysv/linux/netipx/ipx.h
805         * sysdeps/unix/sysv/linux/sys/acct.h
806         * include/arpa/nameser.h, include/resolv.h:
807         Change all uses of u_char to unsigned char,
808         u_short and ushort to unsigned short, u_int and uint to unsigned int,
809         u_long and ulong to unsigned long, u_int8_t to uint8_t,
810         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
811         and u_int64_t and u_quad_t to uint64_t.
813         * mach/sys/reboot.h: Remove two casts of integer literals
814         to the types they already have.
816         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
817         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
818         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
819         from referring to 'unsigned char' to 'uint8_t' for consistency with
820         the macro definition below.
822         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
823         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
824         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
825         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
826         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
827         * sysdeps/unix/sysv/linux/sys/acct.h
828         * include/arpa/nameser.h, include/resolv.h:
829         Fix indentation disrupted by mechanical edits.
831         * inet/protocols/talkd.h, resolv/arpa/nameser.h
832         * sysdeps/generic/netinet/in_systm.h
833         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
834         * sysdeps/gnu/netinet/udp.h
835         * sysdeps/unix/sysv/linux/net/ethernet.h
836         * sysdeps/unix/sysv/linux/net/if_arp.h
837         * sysdeps/unix/sysv/linux/net/if_ppp.h
838         * sysdeps/unix/sysv/linux/net/if_shaper.h
839         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
840         * sysdeps/unix/sysv/linux/netinet/if_tr.h
841         * sysdeps/unix/sysv/linux/netipx/ipx.h
842         * sysdeps/unix/sysv/linux/sys/acct.h
843         Include stdint.h for uintNN_t definitions.
844         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
846 2016-09-23  Zack Weinberg  <zackw@panix.com>
848         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
849         * sysdeps/unix/sysv/linux/netrose/rose.h:
850         Include sys/socket.h and netax25/ax25.h.
852         * inet/netinet/icmp6.h, inet/netinet/ip6.h
853         * resolv/arpa/nameser_compat.h:
854         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
856         * sysdeps/unix/sysv/linux/sys/quota.h:
857         Use __caddr_t instead of caddr_t.
858         * sysdeps/unix/sysv/linux/sys/timerfd.h:
859         Use __clockid_t instead of clockid_t.
861         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
863         * argp/argp.h: Check whether _LIBC is defined before expanding it.
864         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
865         expanding it.
867         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
868         Define __glibc_c99_flexarr_available to 1 when the compiler
869         supports C99-compatible flexible array members, 0 otherwise.
870         * sysdeps/unix/sysv/linux/bits/socket.h
871         * sysdeps/mach/hurd/bits/socket.h
872         * bits/socket.h: Use __glibc_c99_flexarr_available in
873         definitions of struct cmsghdr and CMSG_DATA.
875 2016-09-23  Florian Weimer  <fweimer@redhat.com>
877         * manual/nss.texi (NSS Modules Interface): Adjust function return
878         type to enum nss_status.  Document errnop argument.  Clarify
879         h_errnop semantics.  Fix cross-reference formatting.
880         (NSS Module Function Internals): Mention that *errnop needs to be
881         set on failure, but not to zero.
883 2016-09-23  Florian Weimer  <fweimer@redhat.com>
885         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
886         (get_random_name): New functions.
887         (check_wrapper_flags_mode): Use linkat to give the new file a name
888         determined by get_random_name.
889         (do_test): Add calls to test open64 and openat64.
891 2016-09-23  Florian Weimer  <fweimer@redhat.com>
893         * test-skeleton.c: Remove #include <stdarg.h>.
895 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
897         [BZ #19826]
898         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
899         initialization of static TLS entries.
900         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
901         * nptl/allocatestack.c (init_one_static_tls): Likewise.
903 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
905         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
906         _hurd_malloc_fork_prepare.
907         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
908         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
909         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
910         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
911         (_hurd_fork_child_hook): Drop malloc_fork_child.
912         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
913         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
914         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
915         after locking locks (notably hurd_dtable_lock). Call
916         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
917         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
918         __malloc_fork_unlock_child.
919         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
921 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
923         * soft-fp/extendhftf2.c: New.
924         * soft-fp/fixhfti.c: Likewise.
925         * soft-fp/fixunshfti.c: Likewise.
926         * soft-fp/floattihf.c: Likewise.
927         * soft-fp/floatuntihf.c: Likewise.
928         * soft-fp/half.h: Likewise.
929         * soft-fp/trunctfhf2.c: Likewise.
931 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
933         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
934         macro.
935         * math/libm-test.inc (issubnormal_test_data): New array.
936         (issubnormal_test): New function.
937         * manual/arith.texi (Floating Point Classes): Document
938         issubnormal.
939         * manual/libm-err-tab.pl: Update comment on interfaces without
940         ulps tabulated.
942         * sysdeps/generic/stdint.h: Define
943         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
944         <bits/libc-header-start.h> instead of including <features.h>.
945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
978         * manual/arith.texi (Integers): Document these macros for types
979         specified by width properties.
980         * manual/lang.texi (Width of Type): Document these macros for
981         other standard typedefs.
982         * stdlib/tst-width-stdint.c: New file.
983         * stdlib/Makefile (tests): Add tst-width-stdint.
985 2016-09-21  Florian Weimer  <fweimer@redhat.com>
987         [BZ #20016]
988         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
989         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
990         Move ...
991         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
992         ... here, as compatibility symbols in a new file.
993         * resolv/Makefile (libresolv-routines): Add compat-hooks.
994         * resolv/res_init.c (__res_vinit): Adjust member names.
995         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
996         * resolv/resolv.h (res_sendhookact, res_send_qhook)
997         (res_send_rhook): Remove.
998         (struct __res_state): Rename qhook, rhook members.
1000 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1002         malloc: Use __libc_lock wrappers.
1003         * malloc/arena.c (list_lock, free_list_lock): Define using
1004         __libc_lock_define_initialized.
1005         (arena_lock): Adjust formatting.
1006         * malloc/malloc.c (struct malloc_state): Define mutex using
1007         __libc_lock_define.
1008         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1009         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1010         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1011         (mutex_unlock, mutex_trylock): Remove.
1012         (__pthread_initialize): Remove unused macro.
1013         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1014         (mutex_unlock, mutex_trylock): Remove.
1016 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1018         [BZ #20592]
1019         Remove RR type classification macros.
1020         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1021         (ns_t_udp_p, ns_t_xfr_p): Remove.
1023 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1025         Remove misleading version information.
1026         * resolv/arpa/nameser.h (__NAMESER): Remove.
1027         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1029 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1031         Remove the always-defined BIND_4_COMPAT macro.
1032         * resolv/arpa/nameser.h: Unconditionally include
1033         <arpa/nameser_compat.h>.
1034         (BIND_4_COMPAT): Remove.
1035         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1037 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1039         [BZ #20591]
1040         Remove obsolete DNSSEC support.
1041         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1042         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1043         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1044         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1045         (ns_cert_types): Add comment.
1046         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1047         separately.
1048         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1049         (dst_s_dns_key_id): Remove.
1050         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1051         variables.
1053 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1055         [BZ #20524]
1056         * manual/string.texi (String/Array Comparison): Clarify the
1057         strverscmp behavior.
1059 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1061         * test-skeleton.c (xasprintf): Add function.
1062         * io/tst-open-tmpfile.c: New test.
1063         * io/Makefile (tests): Add it.
1065 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1067         Avoid running $(CXX) during build to obtain header file paths.
1068         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1069         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1070         * Makerules (cstdlib, cmath): Remove variables.  Use
1071         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1072         * configure: Regenerate.
1074 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1076         * Makeconfig (all-object-suffixes): Include .op only if
1077         $(build-profile).
1079 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1081         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1082         conditionals.  Do not define PATH_MAX.
1084 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1086         * posix/Makefile (tests): Add tst-spawn3.
1087         * posix/tst-spawn3.c: New file.
1088         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1089         if it is already opened for open action.
1091         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1092         all signals when executing the clone vfork child.
1093         (SIGALL_SET): Remove macro.
1095         * nptl/Makefile (tests): Add tst-exec5.
1096         * nptl/tst-exec5.c: New file.
1097         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1098         asynchronous cancellation.
1100 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1102         * hurd/exc2signal.c: #include <hurd/signal.h>
1103         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1104         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1105         accordingly.
1106         * mach/mach_error.c (mach_error): Fix old-style function definition.
1107         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1109 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1111         * math/Makefile (libm-calls): Remove s_nanF.
1112         (gen-libm-calls): Add s_nanF.
1114         * math/s_nan.c: Refactor into ...
1115         * math/s_nan_template.c: New file.
1117         * math/s_nanf.c: Removed.
1118         * math/s_nanl.c: Removed.
1119         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1120         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1122         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1123         (LDOUBLE_nanl_libm_version): New macro.
1125         * sysdeps/generic/math-type-macros-double.h:
1126         (M_STRTO_NAN): New macro.
1127         * sysdeps/generic/math-type-macros-float.h: Likewise.
1128         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1130         * sysdeps/generic/math-type-macros.h: Document
1131         M_STRTO_NAN.
1133 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1135         * math/s_nanf.c: Remove __nanf undef.
1136         * math/s_nan.c: Remove __nan undef.
1137         * math/s_nanl.c: Remove __nanl undef.
1139         * sysdeps/generic/math_private.h (__nan): Remove macro
1140         override.
1141         (__nanf): Likewise.
1142         (__nanl): Likewise.
1144 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1146         * math/Makefile (gen-all-calls): New variable.
1147         (generated): Replace gen-libm-calls with gen-all-calls.
1148         (gen-libm-templates.stmp): Likewise.  Also, ensure
1149         the output directory exists or is created and add
1150         dependency on the Makefile.
1151         (calls): Move s_ldexpF into gen-calls.
1152         (gen-calls): New variable.
1154         * math/s_ldexpf.c: Removed.
1155         * math/s_ldexpl.c: Removed.
1156         * math/s_ldexp.c: Refactored into ...
1157         * math/s_ldexp_template.c: New file.
1159         * sysdeps/generic/math-type-macros-double.h: Remove
1160         redundant fall-through definition of declare_mgen_alias.
1161         (declare_mgen_alias_2): New macro.
1163         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1164         New macro for function aliased to two exported symbols.
1166         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1167         new template file.
1168         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1170 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1172         * Makeconfig (all-object-suffixes): Remove .og.
1173         * Makerules (elide-routines.og): Remove.
1174         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1175         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1176         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1178 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1180         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1181         .os objects.
1183 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1185         [BZ #20615]
1186         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1187         fpu directory by non-fpu.
1188         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1189         on non-fpu directory from a fpu directory.
1191 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1193         * include/limits.h: Define
1194         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1195         <bits/libc-header-start.h> instead of including <features.h>.
1196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1207         * manual/lang.texi (Width of Type): Document these macros.
1208         * stdlib/tst-width.c: New file.
1209         * stdlib/Makefile (tests): Add tst-width.
1211 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1213         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1214         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1216 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1218         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1219         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1220         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1222 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1224         [BZ #18243]
1225         * rt/Makefile (test): Add tst-shm-cancel.
1226         * rt/tst-shm-cancel.c: New file.
1227         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1229         [BZ #18243]
1230         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1231         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1232         definition.
1233         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1234         uncontended case.
1235         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1236         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1237         (tf): Fix check for uncontended case.
1238         (do_test): Likewise.
1239         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1240         (tf): Fix check for uncontended case.
1241         (do_test): Likewise.
1242         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1243         (tf): Fix check for uncontended case.
1244         (do_test): Likewise.
1245         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1246         (tf): Fix check for uncontended case.
1247         (do_test): Likewise.
1249         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1250         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1252         [BZ #15765]
1253         * nptl/Makefile (tests): Add tst-sem16.
1254         * nptl/tst-sem16.c: New file.
1255         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1257         * nptl/sem_open.c (sem_open): Init pad value to 0.
1258         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1259         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1261 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1263         [BZ #20611]
1264         * inet/Makefile (routines): Add inet6_scopeid_pton.
1265         (tests): Add tst-inet6_scopeid_pton.
1266         * inet/inet6_scopeid_pton.c: New file.
1267         * inet/net-internal.h: Likewise.
1268         * inet/tst-inet6_scopeid_pton.c: New test.
1269         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1270         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1273 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1275         Remove support for compiling wrappers with PTW.
1276         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1277         * nptl/Makefile (pthread-compat-wrappers): Define.
1278         (libpthread-routines): Use pthread-compat-wrappers.
1279         * sysdeps/unix/sysv/linux/alpha/Makefile
1280         (libpthread-routines, libpthread-shared-only-routines): Remove
1281         ptw- prefix.
1282         * sysdeps/s390/nptl/Makefile
1283         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1284         * sysdeps/ia64/nptl/Makefile
1285         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1286         * sysdeps/nacl/Makefile (libpthread-routines): Use
1287         pthread-compat-wrappers to filter the routines list instead of the
1288         ptw- prefix.
1290 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1292         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1293         with L() and remove explicit suffix, convert real literals
1294         which can be equivalentally substituted with integers, and
1295         transform -L(x) to L(-x).
1297         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1321         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1322         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1345         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1348 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1350         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1352 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1354         * malloc/Makefile (tests): Remove individual static test names
1355         and just add all of tests-static.
1357         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1359 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1361         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1362         file.
1364         * sysdeps/sparc/fpu/fegetmode.c: New file.
1365         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1367         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1368         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1370         * sysdeps/s390/fpu/fegetmode.c: New file.
1371         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1373         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1374         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1375         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1376         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1377         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1380         * sysdeps/mips/fpu/fegetmode.c: New file.
1381         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1383         * sysdeps/m68k/fpu/fegetmode.c: New file.
1384         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1386         * sysdeps/ia64/fpu/fegetmode.c: New file.
1387         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1389         * sysdeps/hppa/fpu/fegetmode.c: New file.
1390         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1392         * sysdeps/arm/fegetmode.c: New file.
1393         * sysdeps/arm/fesetmode.c: Likewise.
1395         * sysdeps/alpha/fpu/fegetmode.c: New file.
1396         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1398         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1399         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1401         * math/fegetmode.c: New file.
1402         * math/fesetmode.c: Likewise.
1403         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1404         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1405         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1406         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1407         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1408         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1409         declaration.
1410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1411         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1412         typedef.
1413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1414         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1415         (femode_t): New typedef.
1416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1417         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1418         (femode_t): New typedef.
1419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1420         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1421         (femode_t): New typedef.
1422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1423         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1424         (femode_t): New typedef.
1425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1426         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1427         (femode_t): New typedef.
1428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1429         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1430         (femode_t): New typedef.
1431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1432         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1433         (femode_t): New typedef.
1434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1435         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1436         (femode_t): New typedef.
1437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1438         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1439         (femode_t): New typedef.
1440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1441         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1442         (femode_t): New typedef.
1443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1444         declaration.
1445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1446         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1447         (femode_t): New typedef.
1448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1449         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1450         (femode_t): New typedef.
1451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1452         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1453         (femode_t): New typedef.
1454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1455         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1456         (femode_t): New typedef.
1457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1458         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1459         (femode_t): New typedef.
1460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1461         * manual/arith.texi (FE_DFL_MODE): Document macro.
1462         (fegetmode): Document function.
1463         (fesetmode): Likewise.
1464         * math/Versions (fegetmode): New libm symbol at version
1465         GLIBC_2.25.
1466         (fesetmode): Likewise.
1467         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1468         (tests): Add test-femode and test-femode-traps.
1469         * math/test-femode-traps.c: New file.
1470         * math/test-femode.c: Likewise.
1471         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1472         alias for __fe_dfl_env.
1473         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1474         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1475         (__fe_dfl_mode): Likewise.
1476         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1477         version GLIBC_2.25.
1478         * sysdeps/nacl/libm.abilist: Update.
1479         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1492         Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1494         Likewise.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1496         Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1502         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1505         Likewise.
1506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1507         Likewise.
1508         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1509         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1512 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1514         [BZ #20495]
1515         [BZ #20508]
1516         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1517         processors, set Use_dl_runtime_resolve_slow and set
1518         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1519         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1520         New.
1521         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1522         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1523         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1524         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1525         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1526         if Use_dl_runtime_resolve_opt is set.  Use
1527         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1528         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1529         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1530         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1531         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1532         New.
1533         (_dl_runtime_resolve_opt): Likewise.
1534         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1535         defined.
1537 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1539         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1540         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1542 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1544         Convert malloc to __libc_lock.  Automated part, using this Perl
1545         s/// command:
1546           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1547             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1548         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1549         conversion.
1551 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1553         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1554         (linknamespace-symlists-tests): Likewise.
1555         (linknamespace-header-tests): Likewise.
1557 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1559         [BZ #19810]
1560         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1561         * elf/tst-noload.c: New test case.
1562         * elf/Makefile (tests): Add tst-noload.
1564 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1566         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1568         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1569         not any more.
1571         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1573 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1575         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1576         (do_cos_slow): Likewise.
1577         (do_sin): Likewise.
1578         (do_sin_slow): Likewise.
1579         (slow): Likewise.
1580         (slow1): Likewise.
1581         (slow2): Likewise.
1582         (sloww): Likewise.
1583         (sloww1): Likewise.
1584         (sloww2): Likewise.
1585         (bsloww): Likewise.
1586         (bsloww1): Likewise.
1587         (bsloww2): Likewise.
1588         (cslow2): Likewise.
1590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1592         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1593         arguments.  Consolidate input partitioning from callers here.
1594         (do_cos_slow): Likewise.
1595         (do_sin): Likewise.
1596         (do_sin_slow): Likewise.
1597         (do_sincos_1): Remove the no longer necessary input partitioning.
1598         (do_sincos_2): Likewise.
1599         (__sin): Likewise.
1600         (__cos): Likewise.
1601         (slow1): Likewise.
1602         (slow2): Likewise.
1603         (sloww1): Likewise.
1604         (sloww2): Likewise.
1605         (bsloww1): Likewise.
1606         (bsloww2): Likewise.
1607         (cslow2): Likewise.
1609 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1611         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1612         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1613         outside of allocated array.
1615 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1617         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1618         instead of MB_CUR_MAX to avoid variable-length array.
1620 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1622         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1623         (type-double-routines): Add k_rem_pio2.
1624         (type-float-routines): Add k_rem_pio2f.
1626         * sysdeps/generic/math_private.h:
1627         (__kernel_rem_pio2l): Removed.
1629         * math/k_rem_pio2l.c: Removed.
1630         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1631         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1632         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1633         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1635 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1637         * math/Makefile (gen-libm-calls): Add s_fmin
1638         (libm-calls): Remove above.
1640         * math/s_fmin.c: Refactor into ...
1641         * math/s_fmin_template.c: New file.
1643         * math/s_fminf.c: Removed.
1644         * math/s_fminl.c: Removed.
1645         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1646         (LDOUBLE_fmin_libm_version): New macro.
1648         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1649         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1651 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1653         * math/Makefile: (gen-libm-calls): Add s_fmax.
1654         (libm-calls): Remove above.
1656         * math/s_fmax.c: Refactor into ...
1657         * math/s_fmax_template.c: New file.
1658         * math/s_fmaxf.c: Removed.
1659         * math/s_fmaxl.c: Removed.
1661         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1662         (LDOUBLE_fmaxl_libm_version): New macro.
1664         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1665         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1667         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1668         s_fmin.c to pick the aarch64 version of the file.
1669         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1670         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1672 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1674         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1675         (libm-calls): Remove above.
1677         * math/s_nextdown.c: Refactor into ...
1678         * math/s_nextdown_template.c: New file.
1679         * math/s_nextdownf.c: Removed.
1680         * math/s_nextdownl.c: Removed.
1682         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1684 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1686         * math/Makefile (gen-libm-calls): Add s_fdim.
1687         (libm-calls): Move to above.
1689         * math/s_fdim.c: Renamed and refactored into to ...
1690         * math/s_fdim_template.c: New file.
1691         * math/s_fdiml.c: Removed.
1692         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1693         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1695         * sysdeps/generic/math-type-macros-double.h:
1696         (declare_mgen_alias): Don't declare if already declared.
1697         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1698         Likewise.
1700         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1701         (declare_mgen_alias): Don't declare if already declared.
1702         (M_LIBM_NEED_COMPAT): Likewise.
1703         (declare_mgen_libm_compat): Likewise.
1704         (LDOUBLE_fdiml_libm_version): New macro.
1706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1707         Include math/s_fdim.c now that ldbl-opt version is not needed.
1708         (declare_mgen_alias): New macro to disable aliasing.
1710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1711         (declare_mgen_alias): Likewise.
1712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1713         (declare_mgen_alias): Likewise.
1714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1715         (declare_mgen_alias): Likewise.
1716         (M_LIBM_NEED_COMPAT): Likewise.
1718 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1720         [BZ #20525]
1721         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1722         Include <linux/quota.h>.
1723         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1724         and btodb.
1725         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1726         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1727         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1728         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1729         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1730         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1731         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1732         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1733         types.
1734         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1735         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1737 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1739         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1740         (gammal_positive): Fix spacing.
1741         (__ieee754_gammal_r): Likewise.
1743 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1745         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1746         (_Float128): Define as long double, always.
1747         (L): Apply long double type suffix, always.
1749         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1750         _Float128, excepting comments.
1752         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1753         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1754         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1755         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1756         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1757         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1758         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1759         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1760         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1761         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1762         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1763         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1765         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1766         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1767         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1768         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1769         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1770         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1771         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1772         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1773         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1774         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1775         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1776         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1777         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1778         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1779         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1780         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1781         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1782         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1783         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1784         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1785         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1786         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1787         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1788         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1789         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1790         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1791         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1792         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1793         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1794         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1795         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1796         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1797         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1799         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1800         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1801         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1802         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1803         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1804         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1805         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1806         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1807         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1808         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1809         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1810         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1811         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1812         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1813         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1814         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1815         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1816         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1817         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1818         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1819         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1821         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1822         _Float128, and include math_private.h.
1823         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1826         long double semantics.
1827         (_Float128): Likewise.
1828         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1829         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1830         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1831         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1833 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1836         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1837         * sysdeps/s390/configure: Regenerated.
1838         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1839         instruction for raising over-/underflow if z196 zarch is supported
1840         by default.
1841         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1843 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1845         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1846         it point to a dumb buffer for RPC to fill it.
1848 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1850         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1851         instead of if/else.
1852         (do_sin_slow): Likewise.
1853         (do_sincos_1): Use fabs instead of if/else.
1854         (do_sincos_2): Likewise.
1855         (__sin): Likewise.
1856         (__cos): Likewise.
1857         (slow2): Likewise.
1858         (sloww): Likewise.
1859         (sloww1): Likewise.  Drop argument M.
1860         (sloww2): Use fabs instead of if/else.
1861         (bsloww): Likewise.
1862         (bsloww1): Likewise.
1863         (bsloww2): Likewise.
1865         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1866         fall through comment.
1867         (do_sincos_1): Likewise.
1869         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1870         Consolidate switch cases 0 and 2.
1872 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1874         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1875         (libm-calls): Remove the above.
1877         * math/s_cexp_template.c: Update using type-generic macros.
1878         * math/s_clog10_template.c: Likewise.
1879         * math/s_cpow_template.c: Likewise.
1880         * math/s_clog_template.c: Likewise.
1881         * math/s_cproj_template.c: Likewise.
1882         * math/s_csqrt_template.c: Likewise.
1884         * math/s_cexp.c: Removed.
1885         * math/s_cexpf.c: Removed.
1886         * math/s_cexpl.c: Removed.
1887         * math/s_clog10.c: Removed.
1888         * math/s_clog10f.c: Removed.
1889         * math/s_clog10l.c: Removed.
1890         * math/s_cpow.c: Removed.
1891         * math/s_cpowf.c: Removed.
1892         * math/s_cpowl.c: Removed.
1893         * math/s_clog.c: Removed.
1894         * math/s_clogf.c: Removed.
1895         * math/s_clogl.c: Removed.
1896         * math/s_cproj.c: Removed.
1897         * math/s_cprojf.c: Removed.
1898         * math/s_cprojl.c: Removed.
1899         * math/s_csqrt.c: Removed.
1900         * math/s_csqrtf.c: Removed.
1901         * math/s_csqrtl.c: Removed.
1903         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1904         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1905         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1906         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1907         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1908         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1910         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1911         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1912         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1913         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1914         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1915         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1916         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1917         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1918         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1919         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1920         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1922         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1923         version.
1925         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1926         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1927         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1928         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1930 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1932         * s_cexp_template.c: Copy of s_cexp.c.
1933         * s_clog_template.c: Copy of s_clog.c.
1934         * s_clog10_template.c: Copy of s_clog10.c.
1935         * s_cpow_template.c: Copy of s_cpow.c.
1936         * s_cproj_template.c: Copy of s_cproj.c.
1937         * s_csqrt_template.c: Copy of s_csqrt.c.
1939 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1941         [BZ #20517]
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1943         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1944         exported.
1946 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1948         * math/fetestexceptflag.c: New file.
1949         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1950         Stefan Liebler.
1951         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1952         (fetestexceptflag): New function declaration.
1953         * manual/arith.texi (fetestexceptflag): Document function.
1954         * math/Versions (fetestexceptflag): New libm symbol at version
1955         GLIBC_2.25.
1956         * math/Makefile (libm-support): Add fetestexceptflag.
1957         (tests): Add test-fetestexceptflag.
1958         * math/test-fetestexceptflag.c: New file.
1959         * sysdeps/nacl/libm.abilist: Update.
1960         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1973         Likewise.
1974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1975         Likewise.
1976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1977         Likewise.
1978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1979         Likewise.
1980         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1981         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1982         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1986         Likewise.
1987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1988         Likewise.
1989         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1990         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1991         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1993 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1995         [BZ #20432]
1996         Avoid strong references to malloc-internal symbols when linking
1997         statically, to support statically interposed mallocs.
1998         * include/libc-symbols.h (call_function_static_weak): New macro.
1999         * malloc/Makefile (tests): Add tst-interpose-nothread,
2000         tst-interpose-thread, tst-interpose-static-nothread,
2001         tst-interpose-static-thread.
2002         (tests-static): Add tst-interpose-static-nothread,
2003         tst-interpose-static-thread.
2004         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2005         tst-interpose-aux-thread.o.
2006         (test-extras): Add tst-interpose-aux-nothread,
2007         tst-interpose-aux-thread.
2008         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2009         tst-interpose-aux-nothread.o.
2010         (tst-interpose-thread, tst-interpose-static-thread): Link with
2011         tst-interpose-aux-thread.o and libthread.
2012         * malloc/tst-interpose-aux-nothread.c: New file.
2013         * malloc/tst-interpose-aux-thread.c: Likewise.
2014         * malloc/tst-interpose-aux.c: Likewise.
2015         * malloc/tst-interpose-aux.h: Likewise.
2016         * malloc/tst-interpose-nothread.c: Likewise.
2017         * malloc/tst-interpose-skeleton.c: Likewise.
2018         * malloc/tst-interpose-static-nothread.c: Likewise.
2019         * malloc/tst-interpose-static-thread.c: Likewise.
2020         * malloc/tst-interpose-thread.c: Likewise.
2021         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2022         * sysdeps/mach/hurd/fork.c (__fork): Only call
2023         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2024         __malloc_fork_unlock_child if defined.
2025         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2027 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2029         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2030         timespec C99 designated initialization.
2032 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2034         [BZ #19946]
2035         Avoid expected SIGALRM signals.
2036         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2037         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2038         (xpthread_create, xpthread_detach, xpthread_join)
2039         (delayed_exit_thread, delayed_exit): New functions.
2040         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2041         (tf): Use xpthread_cond_wait.
2042         (do_test): Likewise.  Replace alarm with delayed_exit.
2043         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2044         (do_test): Call delayed_exit.  Report failure.
2045         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2046         (do_test): Call delayed_exit.
2047         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2048         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2049         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2050         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2051         error.
2052         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2053         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2054         error.
2055         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2056         (do_test): Call delayed_exit.
2057         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2058         (do_test): Call delayed_exit.
2059         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2060         (do_test): Call delayed_exit instead of alarm.  Use
2061         xpthread_mutex_lock.
2062         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2063         (do_test): Call delayed_exit instead of alarm.  Use
2064         xpthread_mutex_lock.
2065         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2066         (do_test): Call delayed_exit instead of alarm.
2067         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2068         (do_test): Call delayed_exit instead of alarm.  Use
2069         xpthread_spin_lock.
2070         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2071         (do_test): Call delayed_exit instead of alarm.  Use
2072         xpthread_join.
2074 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2076         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2077         adjust CFA when allocating register save area on re-aligned
2078         stack.
2080 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2082         * string/tst-cmp.c: New test.
2083         * string/Makefile (tests): Add it.
2085 2016-08-25  Mark Wielaard  <mark@klomp.org>
2087         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2088         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2089         (check_tree_recurse): Use newly defined accessors.
2090         (check_tree): Likewise.
2091         (maybe_split_for_insert): Likewise.
2092         (__tfind): Likewise.
2093         (__tdelete): Likewise.
2094         (trecurse): Likewise.
2095         (tdestroy_recurse): Likewise.
2096         (__tsearch): Likewise. And add asserts for malloc alignment.
2097         (__twalk): Cast root to node in case CHECK_TREE is defined.
2099 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2101         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2103 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2105         * math/Makefile (libm-gen-calls): Add
2106         catan, catanh, ctan, ctanh.
2107         (libm-calls): Remove the above.
2109         * math/s_catan_template.c: Update using type-generic macros.
2110         * math/s_catanh_template.c: Likewise.
2111         * math/s_ctan_template.c: Likewise.
2112         * math/s_ctanh_template.c: Likewise.
2114         * math/s_catanf.c: Removed.
2115         * math/s_catan.c: Removed.
2116         * math/s_catanl.c: Removed.
2117         * math/s_catanhf.c: Removed.
2118         * math/s_catanh.c: Removed.
2119         * math/s_catanhl.c: Removed.
2120         * math/s_ctanf.c: Removed.
2121         * math/s_ctan.c: Removed.
2122         * math/s_ctanl.c: Removed.
2123         * math/s_ctanhf.c: Removed.
2124         * math/s_ctanh.c: Removed.
2125         * math/s_ctanhl.c: Removed.
2127         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2128         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2129         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2130         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2131         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2132         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2134         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2135         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2136         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2137         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2139 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2141         * s_catan_template.c: Copy of s_catan.c.
2142         * s_catanh_template.c: Copy of s_catanh.c.
2143         * s_ctan_template.c: Copy of s_ctan.c.
2144         * s_ctanh_template.c: Copy of s_ctanh.c.
2146 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2148         * math/Makefile (gen-libm-calls): Move
2149         casin, casinh, csin, csinh here.
2150         (libm-calls): Remove the above.
2152         * math/s_casin_template.c: Update using type-generic macros.
2153         * math/s_casinh_template.c: Likewise.
2154         * math/s_csin_template.c: Likewise.
2155         * math/s_csinh_template.c: Likewise.
2156         * math/k_casinh_template.c: Likewise.
2158         * math/s_casinf.c: Removed.
2159         * math/s_casin.c: Removed.
2160         * math/s_casinl.c: Removed.
2161         * math/s_casinh.c: Removed.
2162         * math/s_casinhf.c: Removed.
2163         * math/s_casinhl.c: Removed.
2164         * math/s_csin.c: Removed.
2165         * math/s_csinf.c: Removed.
2166         * math/s_csinl.c: Removed.
2167         * math/s_csinh.c: Removed.
2168         * math/s_csinhf.c: Removed.
2169         * math/s_csinhl.c: Removed.
2170         * math/k_casinh.c: Removed.
2171         * math/k_casinhf.c: Removed.
2172         * math/k_casinhl.c: Removed.
2174         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2175         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2176         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2177         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2179         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2180         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2181         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2182         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2183         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2184         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2185         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2186         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2188         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2189         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2190         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2191         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2193         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2194         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2195         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2196         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2198 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2200         * s_casin_template.c: Copy of s_casin.c.
2201         * s_casinh_template.c: Copy of s_casinh.c.
2202         * s_csin_template.c: Copy of s_csin.c.
2203         * s_csinh_template.c: Copy of s_csinh.c.
2204         * k_casinh_template.c: Copy of k_casinh.c.
2206 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2208         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2210 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2212         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2213         (mul_split) Remove, rename as mul_splitl, remove
2214         redundant float.h include, and include via mul_splitl.h
2216         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2217         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2218         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2219         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2220         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2222         * math/mul_splitl.h: New file.
2224         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2225         Move into mul_split.h, and remove redundant float.h include.
2227         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2229         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2230         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2232         * math/mul_split.h: New file.
2234 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2236         * math/Makefile (libm-gen-calls): Move
2237         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2238         (libm-calls): Remove above.
2240         * math/s_cacos_template.c: Update using type-generic macros.
2241         * math/s_cacosh_template.c: Likewise.
2242         * math/s_ccos_template.c: Likewise.
2243         * math/s_ccosh_template.c: Likwise.
2245         * math/s_cacosf.c: Removed.
2246         * math/s_cacos.c: Removed.
2247         * math/s_cacosl.c: Removed.
2248         * math/s_cacoshf.c: Removed.
2249         * math/s_cacosh.c: Removed.
2250         * math/s_cacoshl.c: Removed.
2251         * math/s_ccosf.c: Removed.
2252         * math/s_ccos.c: Removed.
2253         * math/s_ccosl.c: Removed.
2254         * math/s_ccoshf.c: Removed.
2255         * math/s_ccosh.c: Removed.
2256         * math/s_ccoshl.c: Removed.
2258         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2259         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2260         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2261         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2262         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2263         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2265         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2266         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2267         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2268         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2270         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2271         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2272         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2273         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2275 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2277         * s_cacos_template.c: Copy of s_cacos.c.
2278         * s_cacosh_template.c: Copy of s_cacosh.c.
2279         * s_ccos_template.c: Copy of s_ccos.c.
2280         * s_ccosh_template.c: Copy of s_ccosh.c.
2282 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2284         * stdlib/tst-strtod-round-skeleton.c:
2285         Refactored from tst-strtod-round.c.
2287         (L_): New macro to apply literal modifier.
2288         (FNPFX): New macro to select str or wcs prefix.
2289         (CHAR): New macro to choose wchar_t or char.
2290         (STRM): New macro to choose printf for tested character type.
2292         (STRTO): New macro to choose appropriate string -> real function.
2293         (FNPFXS): Stringitized version of FNPFX.
2294         (STR): Support for above macro.
2295         (STRX): Likewise.
2297         (TEST): Update with above macros.
2298         (test): Likewise.
2299         (GEN_ONE_TEST): Likewise.
2300         (test_in_one_mode): Likewise.
2302         * stdlib/tst-strtod-round.c: New file.
2303         * wcsmbs/tst-wcstod-round.c: New file.
2305         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2306         (tst-wcstod-round): Add libm depencency for fesetround.
2308 2016-08-19  Zack Weinberg  <zackw@panix.com>
2310         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2312 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2314         [BZ #20477]
2315         * resolv/res_hconf.c (do_init): Use atomic access.
2316         * resolv/res_hconf.h: Add comments.
2317         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2318         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2321 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2324         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2325         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2326         Likewise.
2328 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2330         [BZ #16907]
2331         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2332         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2333         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2334         (__attribute__): Remove definition.
2336 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2338         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2339         Remove unused sqrtl declaration.
2341 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2343         * math/Makefile: (gen-libm-templates.stmp): New rule.
2344         (libm-calls): Move carg conj cimag and cabs into ...
2345         (gen-libm-calls): New variable.
2346         (generated): Inform Make objects from gen-libm-calls
2347         may be generated.
2349         * sysdeps/generic/math-type-macros.h: New file.
2350         * sysdeps/generic/math-type-macros-float.h: Likewise.
2351         * sysdeps/generic/math-type-macros-double.h: Likewise.
2352         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2353         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2354         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2356         * math/cabs.c: Refactor into
2357         * math/cabs_template.c: new file.
2358         * math/cabsf.c: Removed.
2359         * math/cabsl.c: Removed.
2360         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2361         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2363         * math/carg.c: Refactor into
2364         * math/carg_template.c: new file.
2365         * math/cargf.c: Removed.
2366         * math/cargl.c: Removed.
2367         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2368         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2370         * math/conj.c: Refactor into
2371         * math/conj_template.c: new file.
2372         * math/conjf.c: Removed.
2373         * math/conjl.c: Removed.
2374         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2375         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2377         * math/cimag.c: Refactor into
2378         * math/cimag_template.c: new file.
2379         * math/cimagf.c: Removed.
2380         * math/cimagl.c: Removed.
2381         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2382         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2384         * math/cimag.c: Refactor into
2385         * math/cimag_template.c: new file.
2386         * math/cimagf.c: Removed.
2387         * math/cimagl.c: Removed.
2388         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2389         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2391 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2393         Reduce time to expected nptl/tst-once5 failure.
2394         * nptl/tst-once5.cc (TIMEOUT): Define.
2396 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2398         [BZ #20452]
2399         Avoid additional copies of objects in libc.a in static libraries.
2400         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2401         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2402         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2403         rt-sysdep.
2404         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2405         Add nptl-sysdep.
2406         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2407         Add ptw-sysdep.
2408         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2409         rt-sysdep.
2410         * sysdeps/unix/sysv/linux/alpha/Makefile
2411         (libpthread-shared-only-routines): Add ptw-sysdep,
2412         ptw-sigprocmask, ptw-rt_sigaction.
2413         * sysdeps/unix/sysv/linux/ia64/Makefile
2414         (librt-shared-only-routines): Add rt-sysdep.
2415         * sysdeps/unix/sysv/linux/i386/Makefile
2416         (libpthread-shared-only-routines): Add libc-do-syscall.
2417         * sysdeps/unix/sysv/linux/microblaze/Makefile
2418         (libpthread-shared-only-routines): Add sysdep.
2419         * sysdeps/unix/sysv/linux/powerpc/Makefile
2420         (librt-shared-only-routines): Add rt-sysdep.
2421         (libpthread-shared-only-routines): Add sysdep.
2422         * sysdeps/unix/sysv/linux/s390/Makefile
2423         (librt-shared-only-routines): Add rt-sysdep.
2424         * sysdeps/unix/sysv/linux/sparc/Makefile
2425         (librt-shared-only-routines): Add rt-sysdep.
2426         (libpthread-shared-only-routines): Add sysdep.
2427         * sysdeps/unix/sysv/linux/tile/Makefile
2428         (libpthread-shared-only-routines): Likewise.
2430 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2432         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2433         Mask implicit bit out of unpacked value.
2434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2438         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2440         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2442         * sysdeps/s390/fpu/fesetexcept.c: New file.
2444         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2445         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2446         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2448         * sysdeps/mips/fpu/fesetexcept.c: New file.
2450         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2452         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2454         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2456         * sysdeps/arm/fesetexcept.c: New file.
2458         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2460         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2462         * math/fesetexcept.c: New file.
2463         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2464         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2465         * math/fenv.h: Define
2466         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2467         <bits/libc-header-start.h> instead of including <features.h>.
2468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2469         declaration.
2470         * manual/arith.texi (fesetexcept): Document function.
2471         * math/Versions (fesetexcept): New libm symbol at version
2472         GLIBC_2.25.
2473         * math/Makefile (libm-support): Add fesetexcept.
2474         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2475         * math/test-fesetexcept.c: New file.
2476         * math/test-fesetexcept-traps.c: Likewise.
2477         * sysdeps/nacl/libm.abilist: Update.
2478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2487         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2511 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2513         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2514         New.
2515         (do_test): Apply default_stack_size_in_mb if not set.
2516         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2518 2016-08-15  Andreas Schwab  <schwab@suse.de>
2520         [BZ #20435]
2521         CVE-2016-6323
2522         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2523         as .cantunwind.
2525 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2527         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2528         comment from fraiseexcpt.c.
2530         * math/test-fexcept.c (feraiseexcept_exact): New function.
2531         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2532         (test_except): Likewise.
2534 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #20455]
2537         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2538         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2539         to be restored.
2541         * math/test-fexcept-traps.c: New file.
2542         * math/test-fexcept.c: Likewise.
2543         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2544         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2545         macro.
2546         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2547         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2549 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2551         * include/atomic.h (atomic_fetch_and_relaxed,
2552         atomic_fetch_and_release, atomic_fetch_or_release,
2553         atomic_fetch_xor_release): New.
2555 2016-08-06  Christian Seiler  <christian@iwakd.de>
2557         [BZ #20444]
2558         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2559         MACH_PORT_NULL.
2561 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2563         * math/s_fdim.c: Avoid alias renamed.
2564         * math/s_fdimf.c: Likewise.
2565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2566         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2567         Add s_fdimf-vis3, s_fdim-vis3.
2568         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2569         (CFLAGS-s_fdim-vis3.c): Likewise.
2570         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2571         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2573 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2576         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2577         Remove s_fdimf-vis3, s_fdim-vis3.
2578         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2579         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2586         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2587         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2589 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2591         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2592         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2593         -Wa,-Av9a -mvis.
2595 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2597         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2598         LIT() to individual constants in simple expressions
2599         after splitting on spaces.
2600         (_apply_lit): Rename replaced version, and use it to
2601         apply to what appears to be a token.
2603         * math/libm-test.inc: Fix many, many issues with
2604         spacing.
2606 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2608         * math/math.h: Move comment about <bits/mathdef.h> definitions
2609         above inclusion of <bits/mathdef.h>.  Do not mention
2610         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2612 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2614         * include/atomic.h (atomic_exchange_relaxed): New.
2616 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2618         * math/e_scalb.c: Do not include <fenv.h>.
2619         (invalid_fn): Do calculation resulting in NaN instead of raising
2620         FE_INVALID and returning a NaN explicitly.
2621         * math/e_scalbf.c: Do not include <fenv.h>.
2622         (invalid_fn): Do calculation resulting in NaN instead of raising
2623         FE_INVALID and returning a NaN explicitly.
2624         * math/e_scalbl.c: Do not include <fenv.h>.
2625         (invalid_fn): Do calculation resulting in NaN instead of raising
2626         FE_INVALID and returning a NaN explicitly.
2628 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2630         * po/de.po: Updated from Translation Project.
2631         * po/fi.po: Likewise.
2632         * po/sv.po: Likewise.
2634 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2636         [BZ #20452]
2637         Use sysdep.o from libc.a in static libraries.
2638         * sysdeps/unix/sysv/linux/i386/Makefile
2639         (libpthread-shared-only-routines): Add sysdep.
2640         (librt-shared-only-routines): Likewise.
2642 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2644         * math/tgmath.h (nextdown): Define if
2645         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2646         (nextup): Likewise.
2648         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2649         macro.
2650         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2651         Document.
2652         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2653         Document macro.
2654         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2655         (exp10f): Likewise.
2656         (exp10l): Likewise.
2657         * math/bits/mathcalls.h (exp10): Declare if
2658         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2660         * manual/arith.texi (nextup): Fix typo in last change.
2662 2016-08-03  Zack Weinberg  <zackw@panix.com>
2664         [BZ #19239]
2665         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2666         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2667         define major, minor, and makedev to issue deprecation warnings on use.
2668         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2669         previously-activated deprecation warnings for these macros and prevent
2670         subsequent inclusions of this header from having any effect.
2671         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2672         including <sys/sysmacros.h>, and undefine it again afterward.
2674 2016-08-03  Zack Weinberg  <zackw@panix.com>
2676         * sysdeps/generic/sys/sysmacros.h: Delete file.
2677         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2678         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2679         * bits/sysmacros.h: ... here; this encoding is now the generic
2680         encoding.  Now defines only the following macros:
2681         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2682         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2683         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2685         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2686         bits/sysmacros.h and the above new macros to generate the
2687         public implementations of major, minor, and makedev.
2688         * misc/tst-makedev.c: New test.
2689         * include/sys/sysmacros.h: New wrapper.
2691         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2692         (routines): Add makedev.
2693         (tests): Add tst-makedev.
2694         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2695         gnu_dev_makedev.
2696         * posix/Makefile (headers): Remove sys/sysmacros.h.
2697         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2699         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2700         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2701         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2702         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2703         * sysdeps/unix/sysv/linux/arm/libc.abilist
2704         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2705         * sysdeps/unix/sysv/linux/i386/libc.abilist
2706         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2707         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2708         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2709         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2710         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2711         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2712         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2713         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2714         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2719         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2720         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2721         * sysdeps/unix/sysv/linux/sh/libc.abilist
2722         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2723         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2726         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2727         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2728         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2729         Add GLIBC_2.25.
2731         * include/features.h (__glibc_clang_prereq): New macro.
2732         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2733         (__attribute_deprecated_msg__): New macros.
2735 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2737         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2738         macro.
2739         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2740         * manual/arith.texi (issignaling): Document as ISO from TS
2741         18661-1:2014.
2742         (nextup): Likewise.
2743         (nextupf): Likewise.
2744         (nextupl): Likewise.
2745         (nextdown): Likewise.
2746         (nextdownf): Likewise.
2747         (nextdownl): Likewise.
2748         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2749         macro.
2750         * math/math.h: Define
2751         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2752         <bits/libc-header-start.h> instead of including <features.h>.
2753         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2754         [__USE_GNU].
2755         * math/bits/mathcalls.h (nextdown): Declare if
2756         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2757         (nextup): Likewise.
2758         (__issignaling): Likewise.
2760 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2762         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2763         check, and remove __glibc_likely hint
2764         from FP_INFINITE check.
2765         * s_csinhf.c (__csinhf): Likewise.
2767         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2768         hint from FP_INFINITE check.
2769         * s_csinhl.c (__csinhl): Likewise.
2771 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2773         * math/Makefile (libm-calls): Insert F placeholder into
2774         object names.  Move w_lgamma_compat* routines into
2775         (libm-compat-calls): New variable.
2776         (libm-compat-calls-ldouble-yes): New variable.
2777         (calls): Insert F placeholder.
2778         (generated): Redefine using new type-foreach macro call.
2779         (routines): Likewise.
2781         (types): New variable to hold a list of symbolic names
2782         for each type supported by the target machine.
2783         (libm-routines): Redefine using new types variable.
2784         (type-foreach): macro to replace fooF with the
2785         appropriately suffixed foo for each types.
2787         (type-ldouble-suffix): New variable.
2788         (type-ldouble-routines): Likewise.
2789         (type-ldouble-yes): Likewise.
2790         (type-double-suffix): Likewise.
2791         (type-double-routines): Likewise.
2792         (type-float-suffix): Likewise.
2793         (type-float-routines): Likewise.
2795         (dbl-only-routines): Remove.
2796         (long-c-yes): Likewise.
2797         (long-m-routines): Likewise.
2798         (long-m-support): Likewise.
2799         (long-m-yes): Likewise.
2800         (test-longdouble-yes): Likewise.
2802         (test-float.o): Simplify by increasing the scope of the
2803         recipe which adds libm-test.stmp to the vector types.
2804         (test-ifloat.o): Likewise.
2805         (test-float-finite.o): Likewise.
2806         (test-double.o): Likewise
2807         (test-idouble.o): Likewise.
2808         (test-double-finite.o): Likewise.
2809         (test-ldouble.o): Likewise
2810         (test-ildoubl.o): Likewise.
2811         (test-ldouble-finite.o): Likewise.
2813         (libm-tests): Redefine type tests using foreach and the
2814         list of types in types.
2816         (CPPFLAGS-test-ildoubl.c): Rename to
2817         (CPPFLAGS-test-ildouble.c): New variable
2819         * math/test-ildoubl.c: Rename to
2820         * math/test-ildouble.c: New file.
2822 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2824         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2825         Use fabsl instead of fabs.
2826         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2827         Likewise.
2828         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2829         Add long double suffix to constant to ensure proper
2830         promotion to long double.
2832 2016-08-03  Tom Tromey  <tom@tromey.com>
2834         [BZ #20311]
2835         * nptl_db/Makefile (headers): Add proc_service.h.
2836         * nptl_db/proc_service.h: Add include guard.  Use
2837         __BEGIN/__END_DECLS.
2838         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2839         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2840         arguments.
2843 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2845         [BZ #17730]
2846         Avoid using memalign for TCB allocations.
2847         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2848         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2849         Avoid alignment gap in the TLS_DTV_AT_TP case.
2850         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2851         determine the pointer to free.
2852         * nptl/tst-tls3-malloc.c: New test.
2853         * nptl/Makefile (tests): Add it.
2854         (tst-tls3-malloc): Link with libdl, libpthread.
2855         (LDFLAGS-tst-tls3-malloc): Set.
2856         (tst-tls3-malloc.out): Depend on DSO used in test.
2858 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2860         [BZ #17730]
2861         Avoid using memalign for TLS allocations.
2862         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2863         is_static member with to_free member.
2864         (union dtv): Use struct dtv_pointer.
2865         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2866         dtv_pointer instead of is_static.
2867         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2868         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2869         instead of val.
2870         (allocate_dtv_entry): New function.
2871         (allocate_and_init): Return struct dtv_pointer.  Call
2872         allocate_dtv_entry instead of __libc_memalign.
2873         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2874         instead of val.
2875         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2876         instead of is_static.  Adjust call to allocate_and_init.
2877         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2878         struct dtv_pointer instead of val.
2880 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2882         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2883         (MALLOC_ALIGN_MASK): Move ...
2884         * malloc/malloc-internal.h: ... to here.
2885         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2887 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2889         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2890         (UDP_ENCAP_GTP1U): Likewise.
2892         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2893         (PF_MAX): Update value.
2894         (AF_QIPCRTR): New macro.
2896 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2898         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2899         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2900         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2901         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2902         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2903         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2904         s_truncf-vis3, s_trunc-vis3.
2905         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2906         (CFLAGS-s_ceil-vis3.c): Likewise.
2907         (CFLAGS-s_floorf-vis3.c): Likewise.
2908         (CFLAGS-s_floor-vis3.c): Likewise.
2909         (CFLAGS-s_truncf-vis3.c): Likewise.
2910         (CFLAGS-s_trunc-vis3.c): Likewise.
2911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2919         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2920         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2921         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2922         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2924 2016-08-02  David S. Miller  <davem@davemloft.net>
2926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2927         (__nearbyint_vis3): Don't check for sNaN before float register is
2928         loaded with the incoming argument.
2929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2930         (__nearbyintf_vis3): Likewise.
2931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2932         Likewise.
2933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2934         Likewise.
2936         * string/test-strncmp.c (do_test_limit): Make sure the test data
2937         stream is aligned as required for the type "CHAR".
2938         (do_test): Likewise.
2940 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2942         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2943         by beq instructions jumping to the end of the function.
2944         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2945         clobber list. Use "i" constraint instead of "X".
2946         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2947         of "X".
2949 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2951         * bits/libc-header-start.h: New file.
2952         * Makefile (headers): Add bits/libc-header-start.h.
2953         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2954         (__GLIBC_USE): New macro.
2955         * libio/stdio.h: Define
2956         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2957         <bits/libc-header-start.h> instead of including <features.h>.
2958         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2959         (open_memstream): Likewise.
2960         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2961         (__asprintf): Likewise.
2962         (asprintf): Likewise.
2963         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2964         (getdelim): Likewise.
2965         (getline): Likewise.
2966         * string/string.h: Define
2967         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2968         <bits/libc-header-start.h> instead of including <features.h>.
2969         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2970         (strndup): Likewise.
2971         * wcsmbs/wchar.h: Define
2972         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2973         <bits/libc-header-start.h> instead of including <features.h>.
2974         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2975         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2977 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2979         Support linking against compatibility symbols, for use in tests.
2980         * include/libc-symbols.h (symbol_version_reference): New macro.
2981         (symbol_version): Use it.
2982         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2983         (compat_symbol): Use compat_symbol_reference.
2984         (compat_symbol_1, compat_symbol_2): Remove.
2985         (compat_symbol_reference, compat_symbol_reference_1)
2986         (compat_symbol_reference_2): New macro.  Use
2987         symbol_version_reference.
2989 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2991         [BZ #19469]
2992         * malloc/Makefile (CPPFLAGS): Compile tests with
2993         -DTEST_NO_MALLOPT.
2994         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2996 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2998         [BZ #20033]
2999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3000         finite version.
3001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3003         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3004         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3005         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3006         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3007         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3009         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3015         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3016         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3018         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3019         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3020         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3021         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3022         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3023         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3024         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3025         in zero power.
3027 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3029         [BZ #20370]
3030         * malloc/arena.c (get_free_list): Update comment.  Assert that
3031         arenas on the free list have no attached threads.
3032         (remove_from_free_list): New function.
3033         (reused_arena): Call it.
3035 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3037         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3038         when it is a NaN.
3039         [_IEEE_FP_INEXACT] Remove.
3040         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3041         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3042         when it is a NaN.
3043         [_IEEE_FP_INEXACT] Remove.
3044         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3045         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3046         when it is a NaN.
3047         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3048         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3049         when its absolute value is greater than 0x1.0p52.
3050         [_IEEE_FP_INEXACT] Remove.
3051         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3052         when its absolute value is greater than 0x1.0p23.
3053         [_IEEE_FP_INEXACT] Remove.
3055 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3057         * version.h (RELEASE): Set to "development"
3058         (VERSION): Set to 2.24.90.
3059         * NEWS: Add 2.25 section.
3061         * version.h (RELEASE): Set to "stable"
3062         (VERSION): Set to 2.24.
3063         * include/features.h (__GLIBC_MINOR__): Set to 24.
3065         * NEWS: Add 2.24 fixed bugs.
3066         * po/libc.pot: Regenerate.
3068 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3071         [$(subdir) = math] (libm-sysdep_routines): Remove.
3072         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3073         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3074         s_truncf-vis3, s_trunc-vis3.
3075         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3077         file.
3078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3111         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3112         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3113         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3114         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3117         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3118         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3119         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3120         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3122 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3124         [BZ #20384]
3125         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3126         test-double-libmvec-sincos-avx-main.o,
3127         test-double-libmvec-sincos-avx2-main.o,
3128         test-double-libmvec-sincos-main.o,
3129         test-float-libmvec-sincosf-avx-main.o,
3130         test-float-libmvec-sincosf-avx2-main.o and
3131         test-float-libmvec-sincosf-main.o.
3132         test-float-libmvec-sincosf-avx512-main.o.
3133         ($(objpfx)test-double-libmvec-sincos): Also link with
3134         $(objpfx)test-double-libmvec-sincos-main.o.
3135         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3136         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3137         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3138         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3139         ($(objpfx)test-float-libmvec-sincosf): Also link with
3140         $(objpfx)test-float-libmvec-sincosf-main.o.
3141         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3142         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3143         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3144         test-double-libmvec-sincos-avx512-main.o and
3145         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3146         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3147         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3148         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3149         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3150         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3151         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3152         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3153         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3154         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3155         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3156         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3157         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3158         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3159         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3160         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3161         -DREQUIRE_AVX2.
3162         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3163         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3164         -DREQUIRE_AVX512F.
3165         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3166         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3167         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3168         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3169         file.
3170         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3171         Likewise.
3172         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3173         Likewise.
3174         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3175         Likewise.
3176         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3177         Likewise.
3178         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3179         Likewise.
3180         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3181         Likewise.
3182         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3183         Likewise.
3185 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3187         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3189 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3191         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3192         and typo in a comment about AT_HWCAP entry.
3194 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3196         * sysdeps/aarch64/libm-test-ulps: Updated.
3198 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3200         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3201         of r13 as it is not restored in mvcle case.
3203 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3205         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3206         Rename "ret" to "__ret".
3207         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3208         inline_syscall5, inline_syscall6): Likewise.
3210 2016-07-19   Will Newton  <will.newton@gmail.com>
3212         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3213         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3214         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3215         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3216         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3218 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3220         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3221         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3222         -mfpmath=387 with $(rtld-CFLAGS).
3223         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3224         $(rtld-CFLAGS).
3226 2016-07-18   Ross Burton  <ross.burton@intel.com>
3227              Khem Raj  <raj.khem@gmail.com>
3229         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3230         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3231         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3232         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3233         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3234         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3235         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3236         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3237         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3238         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3239         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3240         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3241         R_METAG_TLS_DTPOFF): New.
3243 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3244             Matt Clay  <mclay@lycos.com>
3246         [BZ #20357]
3247         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3248         to call __mpsin/__mpcos and to negate values.
3249         * math/auto-libm-test-in: Add test.
3250         * math/auto-libm-test-out: Regenerate.
3252 2016-07-18  Zack Weinberg  <zackw@panix.com>
3254         * grp/Makefile: Don't install the internal header grp-merge.h.
3256 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3258         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3260 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3262         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3264 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3266         [BZ #15368]
3267         * sysdeps/unix/sysv/linux/nptl-signals.h
3268         (__nptl_clear_internal_signals): New function.
3269         (__libc_signal_block_all): Likewise.
3270         (__libc_signal_block_app): Likewise.
3271         (__libc_signal_restore_set): Likewise.
3272         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3273         implementation.
3274         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3275         the cached pid/tid value in pthread structure.
3277 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3279         [BZ #20347]
3280         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3282 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3284         [BZ #20348]
3285         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3286         preadv64, pwrite64 and pwritev64.
3288 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3290         [BZ #20350]
3291         * posix/tst-preadwrite.c: Renamed to ...
3292         * posix/tst-preadwrite-common.c: This.
3293         (PREAD): Removed.
3294         (PWRITE): Likewise.
3295         (STRINGIFY): Likewise.
3296         (STRINGIFY2): Likewise.
3297         (do_prepare): Make it static and remove function arguments.
3298         (do_test): Likewise.
3299         (PREPARE): Updated.
3300         (TEST_FUNCTION): New.
3301         (name): Make it static.
3302         (fd): Likewise.
3303         (do_prepare): Use create_temp_file.
3304         (do_test): Renamed to ...
3305         (do_test_with_offset): This.  Make it static and accept offset.
3306         Properly check return value of PWRITE and PREAD.  Return bytes
3307         read.  Don't close fd nor unlink name.
3308         * posix/tst-preadwrite.c: Rewrite.
3309         * posix/tst-preadwrite64.c: Likewise.
3311 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3313         [BZ #20309]
3314         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3315         -mtls-dialect=gnu2 works.
3316         * configure: Regenerated.
3317         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3318         (tests): Add tst-gnu2-tls1.
3319         (modules-names): Add tst-gnu2-tls1mod.
3320         ($(objpfx)tst-gnu2-tls1): New.
3321         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3322         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3323         * elf/tst-gnu2-tls1.c: New file.
3324         * elf/tst-gnu2-tls1mod.c: Likewise.
3325         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3326         bytes for push in the PLT entry to align the stack.
3328 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3330         [BZ #20349]
3331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3333 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3335         [BZ #18707]
3336         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3337         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3339 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3341         * sysdeps/unix/sysv/linux/sysdep.h
3342         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3343         guards.
3344         * misc/tst-preadvwritev-common.c: New file.
3345         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3346         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3347         a check for files larger than 2GB.
3349         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3350         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3351         * sysdeps/unix/sysv/linux/pread.c
3352         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3353         __OFF_T_MATCHES_OFF64_T.
3354         * sysdeps/unix/sysv/linux/pread64.c
3355         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3356         * sysdeps/unix/sysv/linux/preadv.c
3357         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3358         * sysdeps/unix/sysv/linux/preadv64.c
3359         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3360         * sysdeps/unix/sysv/linux/pwrite.c
3361         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3362         * sysdeps/unix/sysv/linux/pwrite64.c
3363         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3364         * sysdeps/unix/sysv/linux/pwritev.c
3365         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3366         * sysdeps/unix/sysv/linux/pwritev64.c
3367         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3369 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3372         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3374 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3376         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3378 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3380         [BZ #20240]
3381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3382         (CFLAGS-s_modf-ppc32.c): New variable.
3383         (CFLAGS-s_modff-ppc32.c): Likewise.
3384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3385         (CFLAGS-s_modf-ppc64.c): Likewise.
3386         (CFLAGS-s_modff-ppc64.c): Likewise.
3388 2016-07-07  Andreas Schwab  <schwab@suse.de>
3390         [BZ #20263]
3391         * nptl/tst-robust10.c: New test.
3392         * nptl/Makefile (tests): Add tst-robust10.
3394 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3396         [BZ #20263]
3397         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3399 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3401         * sysdeps/s390/linkmap.h (struct link_map_machine):
3402         Remove member gotplt and add member jmprel.
3403         * sysdeps/s390/s390-32/dl-machine.h
3404         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3405         instead of gotplt with &got[3].
3406         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3407         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3409 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3411         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3413 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3415         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3416         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3417         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3418         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3419         * libio/vtables.c (_IO_vtable_check)
3420         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3421         * libio/libioP.h (IO_set_accept_foreign_vtables)
3422         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3424 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3426         [BZ #20314]
3427         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3428         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3429         $(common-objpfx)cmath.
3430         ($(common-objpfx)cstdlib): New target.
3431         ($(common-objpfx)cmath): Likewise.
3433 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3435         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3437 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3439         [BZ #20327]
3440         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3441         are not part of the string.
3443 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3445         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3446         * nptl/tst-cancel4-common.h (fifoname): New variable.
3447         (fifofd): Likewise.
3448         (cl_fifo): New function.
3449         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3450         SIGINT.
3451         (tf_open): Add early cancel test.
3453 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3455         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3457 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3459         * sysdeps/generic/ldsodefs.h
3460         (dl_symbol_visibility_binds_local_p): New inline function.
3461         * elf/dl-addr.c (determine_info): Treat hidden and internal
3462         symbols as local.
3463         * elf/dl-lookup.c (do_lookup_x): Likewise.
3464         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3466 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3468         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3469         invalid exception for a sNaN input.
3470         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3471         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3472         (__nearbyint_vis3): Likewise
3473         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3474         (__nearbyintf_vis3): Likewise
3475         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3476         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3477         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3478         Likewise.
3479         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3480         Likewise.
3482 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3484         [BZ #20139]
3485         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3486         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3487         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3488         2.24 or above.
3489         (HAVE_AVX512_ASM_SUPPORT): Removed.
3490         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3491         * sysdeps/x86_64/configure: Regenerated.
3492         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3493         check unconditional.
3494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3495         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3496         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3497         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3498         Likewise.
3499         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3500         Likewise.
3501         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3502         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3503         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3504         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3505         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3506         Likewise.
3507         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3508         Likewise.
3509         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3510         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3512         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3513         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3514         Likewise.
3515         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3516         Likewise.
3517         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3518         Likewise.
3519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3520         Likewise.
3521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3522         Likewise.
3523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3524         Likewise.
3525         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3526         Likewise.
3527         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3528         Likewise.
3529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3530         Likewise.
3531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3532         Likewise.
3533         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3534         Likewise.
3536 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3538         [BZ #20024]
3539         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3541         of this implementation of vector function.
3542         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3544         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3545         Likewise.
3546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3548         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3549         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3550         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3551         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3552         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3553         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3554         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3555         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3556         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3557         for testing vector sincos with fixed ABI.
3558         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3559         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3561         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3562         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3564         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3565         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3566         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3567         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3568         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3569         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3570         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3571         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3572         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3573         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3575 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3577         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3579 2016-06-30  Anton Blanchard  <anton@samba.org>
3581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3582         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3583         s_sinf-ppc64.
3584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3587         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3589 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3593         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3594         e_expf-ppc64.
3595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3598         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3600 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3602         [BZ #20277]
3603         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3604         when SHARED is defined.
3606 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3608         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3609         (index_arch_Prefer_ERMS): Likewise.
3610         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3611         __memcpy_erms for Prefer_ERMS.
3612         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3613         (__memmove_erms): Enabled for libc.a.
3614         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3615         __memmove_erms or Prefer_ERMS.
3616         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3617         __mempcpy_erms for Prefer_ERMS.
3618         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3619         __memset_erms for Prefer_ERMS.
3621 2016-06-30  Andreas Schwab  <schwab@suse.de>
3623         [BZ #20262]
3624         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3625         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3626         of memory.
3628 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3630         [BZ #18645]
3631         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3632         (test-extras): Add tst-cleanupx4aux.
3633         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3634         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3635         tst-cleanupx4aux.o.
3636         * nptl/tst-cleanupx4aux.c: New file.
3638 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3640         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3642 2016-06-29  Andreas Schwab  <schwab@suse.de>
3644         [BZ #20260]
3645         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3646         address before the beginning of the string as an integer to avoid
3647         array-bounds warning.
3649 2016-06-28  Richard Henderson  <rth@redhat.com>
3651         * elf/elf.h (EM_BPF): New.
3652         (EM_NUM): Update.
3653         (R_BPF_NONE, R_BPF_MAP_FD): New.
3655         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3656         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3657         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3658         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3659         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3660         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3661         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3662         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3663         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3664         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3665         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3666         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3667         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3668         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3669         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3670         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3671         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3672         (EM_NUM): Update.
3674 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3676         [BZ #18960]
3677         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3678         Set _nl_current_LC_CATEGORY_used to two instead of one.
3680 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3682         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3683         (do_test): ... this.
3684         (TEST_FUNCTION): New macro.
3685          Include test-skeleton.c.
3686         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3687         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3689 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3691         [BZ #15479]
3692         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3693         floating-point environment rather than just control word.
3694         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3695         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3696         floating-point environment, with "invalid" exceptions merged in,
3697         rather than just control word.
3698         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3699         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3700         "inexact" exceptions.
3702         [BZ #15479]
3703         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3704         floating-point environment rather than just control word.
3705         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3706         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3707         floating-point environment, with "invalid" exceptions merged in,
3708         rather than just control word.
3709         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3710         * math/libm-test.inc (floor_test_data): Do not allow spurious
3711         "inexact" exceptions.
3713         [BZ #15479]
3714         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3715         floating-point environment rather than just control word.
3716         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3717         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3718         floating-point environment, with "invalid" exceptions merged in,
3719         rather than just control word.
3720         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3721         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3722         "inexact" exceptions.
3724 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3726         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3727         __libc_vfork.
3728         (__vfork) [IS_IN (libc)]: Remove alias.
3729         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3730         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3731         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3733 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3735         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3736         of atomic_compare_and_exchange_bool_rel.
3737         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3738         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3739         catomic_compare_and_exchange_bool_rel): Remove.
3740         * sysdeps/aarch64/atomic-machine.h
3741         (atomic_compare_and_exchange_bool_rel): Likewise.
3742         * sysdeps/alpha/atomic-machine.h
3743         (atomic_compare_and_exchange_bool_rel): Likewise.
3744         * sysdeps/arm/atomic-machine.h
3745         (atomic_compare_and_exchange_bool_rel): Likewise.
3746         * sysdeps/mips/atomic-machine.h
3747         (atomic_compare_and_exchange_bool_rel): Likewise.
3748         * sysdeps/microblaze/atomic-machine.h
3749         ( __arch_compare_and_exchange_bool_8_rel,
3750         __arch_compare_and_exchange_bool_16_rel): Likewise.
3751         * sysdeps/powerpc/atomic-machine.h
3752         ( __arch_compare_and_exchange_bool_8_rel,
3753         __arch_compare_and_exchange_bool_16_rel): Likewise.
3754         * sysdeps/powerpc/powerpc32/atomic-machine.h
3755         ( __arch_compare_and_exchange_bool_32_rel,
3756         __arch_compare_and_exchange_bool_64_rel): Likewise.
3757         * sysdeps/powerpc/powerpc64/atomic-machine.h
3758         ( __arch_compare_and_exchange_bool_32_rel,
3759         __arch_compare_and_exchange_bool_64_rel): Likewise.
3760         * sysdeps/tile/atomic-machine.h
3761         (atomic_compare_and_exchange_bool_rel): Likewise.
3763 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3765         [BZ #20296]
3766         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3767         when either argument is a NaN.
3768         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3769         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3771         * math/libm-test.inc (snan_value_ld): New macro.
3772         (isgreater_test_data): Add sNaN tests.
3773         (isgreaterequal_test_data): Likewise.
3774         (isless_test_data): Likewise.
3775         (islessequal_test_data): Likewise.
3776         (islessgreater_test_data): Likewise.
3777         (isunordered_test_data): Likewise.
3778         (nextafter_test_data): Likewise.
3779         (nexttoward_test_data): Likewise.
3780         (remainder_test_data): Likewise.
3781         (remquo_test_data): Likewise.
3782         (significand_test_data): Likewise.
3783         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3785 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3787         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3788         environment macros are defined.
3789         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3791 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3793         [BZ #20191]
3794         Implement vtable verification in libio.
3795         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3796         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3797         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3798         _IO_new_file_init_internal instead of _IO_file_init.
3799         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3800         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3801         * libio/Makefile (routines): Add vtables.
3802         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3803         (_IO_init): Remove, not for internal use.
3804         (_IO_init_internal): Declare, internal replacement for _IO_init.
3805         (_IO_file_init): Remove, not for internal use.
3806         (_IO_new_file_init): Remove, not for internal use.
3807         (_IO_new_file_init_internal): Declare, internal replacement for
3808         _IO_new_file_init.
3809         (_IO_old_file_init): Remove, not for internal use.
3810         (_IO_old_file_init_internal): Declare, internal replacement for
3811         _IO_old_file_init.
3812         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3813         internal use.
3814         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3815         Declare.
3816         (libio_vtable): New macro.
3817         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3818         functions.
3819         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3820         _IO_new_file_init.
3821         (_IO_new_file_init): New externally visible wrapper which disables
3822         vtable verification.
3823         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3824         Define as vtables.
3825         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3826         (_IO_init): New externally visible wrapper which disables
3827         vtable verification.
3828         * libio/iofdopen.c (_IO_new_fdopen): Call
3829         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3830         comment.
3831         * libio/iofopen.c (__fopen_internal): Call
3832         _IO_new_file_init_internal instead of _IO_file_init.
3833         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3834         Define as vtables.
3835         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3836         _IO_new_file_init_internal instead of _IO_file_init.
3837         * libio/iopopen.c (_IO_new_popen): Likewise.
3838         (_IO_proc_jumps): Define as vtable.
3839         * libio/iovdprintf.c (_IO_vdprintf): Call
3840         _IO_new_file_init_internal instead of _IO_file_init.
3841         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3842         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3843         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3844         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3845         _IO_old_file_init.
3846         (_IO_old_file_init): New externally visible wrapper which disables
3847         vtable verification.
3848         (_IO_old_file_jumps): Define as vtable.
3849         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3850         _IO_old_file_init_internal instead of _IO_old_file_init.
3851         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3852         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3853         (_IO_old_proc_jumps): Define as vtable.
3854         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3855         Define as vtables.
3856         * libio/vtables.c: New file.
3857         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3858         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3859         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3860         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3861         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3862         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3863         instead of _IO_init.
3865 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3867         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3869 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3871         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3872         potentially unused.
3874 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3876         * test-skeleton.c (write_message): New function.
3877         * malloc/tst-mallocfork2.c (write_message): Remove.
3878         * debug/tst-longjmp_chk2.c (write_indented): New function.
3879         (write_message): Remove.
3880         (stackoverflow_handler): Call write_indented.
3882 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3884         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3885         "inexact" exceptions after fnstenv.
3886         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3887         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3888         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3890 2015-06-22  Zack Weinberg  <zackw@panix.com>
3892         * sysdeps/generic/bits/hwcap.h: Moved to ...
3893         * bits/hwcap.h: Here.
3895 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3897         * sysdeps/aarch64/memcpy.S (memcpy):
3898         Further tuning for performance.
3900 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3902         [BZ #20284]
3903         * malloc/arena.c (reused_arena): Do not return NULL if we start
3904         out with a non-corrupted arena.
3906 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3908         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3909         * misc/tst-preadvwritev.c: New file.
3910         * misc/tst-preadvwritev64.c: Likewise.
3911         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3912         usage.
3913         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3914         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3915         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3916         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3918 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3920         [BZ #19654]
3921         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3922         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3923         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3924         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3925         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3926         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3927         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3928         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3929         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3930         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3931         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3932         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3933         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3934         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3935         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3936         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3937         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3938         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3941         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3942         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3943         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3944         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3945         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3946         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3948 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3950         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3951         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3953 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3955         * sysdeps/aarch64/memcpy.S (memcpy):
3956         Rewrite of optimized memcpy and memmove.
3957         * sysdeps/aarch64/memmove.S (memmove): Remove
3958         memmove code (merged into memcpy.S).
3960 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3962         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3963         * sysdeps/generic/dl-dtv.h: New file.
3964         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3965         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3966         (dtv_t): Remove.
3967         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3968         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3969         (dtv_t): Remove.
3970         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3971         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3972         (dtv_t): Remove.
3973         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3974         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3975         (dtv_t): Remove.
3976         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3977         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3978         (dtv_t): Remove.
3979         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3980         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3981         (dtv_t): Remove.
3982         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3983         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3984         (dtv_t): Remove.
3985         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3986         (dtv_t): Remove.
3987         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3988         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3989         (dtv_t): Remove.
3990         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3991         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3992         (dtv_t): Remove.
3993         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3994         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3995         (dtv_t): Remove.
3996         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3997         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3998         (dtv_t): Remove.
3999         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4000         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4001         (dtv_t): Remove.
4002         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4003         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4004         (dtv_t): Remove.
4005         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4006         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4007         (dtv_t): Remove.
4008         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4009         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4010         (dtv_t): Remove.
4012 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4014         Revert symbol poisoning of  __malloc_initialize_hook.
4015         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4016         poisoning.
4017         * malloc/Makefile: Remove un-poisoning.
4018         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4019         instead of old__malloc_initialize_hook.
4020         * malloc/malloc-hooks.h: Likewise.
4021         * malloc/malloc.c: Likewise.
4022         * malloc/mcheck-init.c: Likewise.
4024 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4026         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4028 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4030         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4031         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4032         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4033         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4035 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4037         * NEWS: Mention addition of nextup and nextdown.
4038         * manual/arith.texi: Document nextup and nextdown.
4039         * manual/libm-err-tab.pl: Add nextup and nextdown.
4040         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4041         * math/Versions (libm): Add GLIBC_2.24.
4042         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4043         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4044         Add new test.
4045         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4046         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4047         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4048         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4049         (nextup_test_data): Likewise.
4050         (nextdown_test_data): Likewise.
4051         * math/s_nextdown.c: New file.
4052         * math/s_nextdownf.c: Likewise.
4053         * math/s_nextdownl.c: Likewise.
4054         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4055         F(nextup): New function.
4056         F(nextdown): Likewise.
4057         * math/tgmath.h: Add nextup and nextdown.
4058         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4059         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4060         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4061         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4063         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4064         Add nextup and nextdown.
4065         (CFLAGS-nldbl-nextup.c): New variable.
4066         (CFLAGS-nldbl-nextdown.c): Likewise.
4067         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4068         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4069         * sysdeps/nacl/libm.abilist: Update.
4070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4071         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4084         Likewise.
4085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4087         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4095         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4096         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4097         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4099 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4101         * manual/pattern.texi: Fix typos & grammar errors.
4103 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4105         * manual/search.texi: Fix typos & grammar errors.
4107 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4109         * manual/message.texi: Fix typos & grammar errors.
4111 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4113         * manual/contrib.texi: Fix spelling typos.
4114         * manual/crypt.texi: Likewise.
4115         * manual/filesys.texi: Likewise.
4116         * manual/locale.texi: Likewise.
4117         * manual/message.texi: Likewise.
4118         * manual/nss.texi: Likewise.
4119         * manual/string.texi: Likewise.
4121 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4123         * manual/locale.texi: Fix typos & grammar errors.
4125 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4127         * manual/charset.texi: Fix typos & grammar errors.
4129 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4131         * manual/string.texi: Fix typos.
4133 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4135         * manual/ctype.texi: Fix typos.
4137 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4139         * manual/memory.texi: Fix various typos & grammar errors.
4141 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4143         [BZ #20255]
4144         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4145         * math/libm-test.inc (fdim_test_data): Add another test.
4147         [BZ #6796]
4148         [BZ #20255]
4149         [BZ #20256]
4150         * math/s_fdim.c: Include <math_private.h>.
4151         (__fdim): Use math_narrow_eval on result.
4152         * math/s_fdimf.c: Include <math_private.h>.
4153         (__fdimf): Use math_narrow_eval on result.
4154         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4155         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4156         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4157         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4158         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4159         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4160         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4161         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4162         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4163         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4164         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4165         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4166         overflow.  Add sNaN tests.
4168         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4169         fpclassify.
4170         * math/s_fdimf.c (__fdimf): Likewise.
4171         * math/s_fdiml.c (__fdiml): Likewise.
4173 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4175         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4176         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4178         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4179         ifunc'ed strcasecmp/strncasecmp.
4180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4181         [EALIGN]: Removed.
4182         [END]: Likewise.
4183         [__strcasecmp]: Define instead of the above to control symbol name.
4184         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4185         for __strcasecmp_power8.
4186         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4187         for __strncasecmp_power8.
4188         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4189         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4190         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4191         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4192         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4193         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4195 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4197         [BZ #20252]
4198         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4199         arguments when second argument is a NaN.
4200         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4201         qNaN tests.
4203         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4204         (conj_test_data): Likewise.
4205         (copysign_test_data): Likewise.
4206         (creal_test_data): Likewise.
4207         (fma_test_data): Likewise.
4208         (fmod_test_data): Likewise.
4210         [BZ #20250]
4211         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4212         itself.
4213         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4214         zero input to itself.
4215         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4216         Likewise.
4217         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4218         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4219         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4220         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4221         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4223 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4225         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4226         * nptl/tst-cancel4-common.c: New file.
4227         * nptl/tst-cancel4-common.h: Likewise.
4228         * nptl/tst-cancel4.c: Move common definitions to
4229         tst-cancel4-common.{c,h} file.
4230         * nptl/tst-cancel4_1.c: New test.
4231         * nptl/tst-cancel4_2.c: New test.
4233 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4235         [BZ #20248]
4236         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4237         (write_message): New function.
4238         (stackoverflow_handler): Call it instead of printf, to avoid
4239         excessive stack usage by printf.
4240         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4242 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4244         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4245         (prio_inherit_missing): Remove define.
4246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4247         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4249         Likewise.
4250         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4251         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4252         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4253         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4254         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4255         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4257 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4259         [BZ #19670]
4260         [BZ #19672]
4262         * io/test-lfs.c (do_prepare): Use xmalloc.
4263         * io/tst-fcntl.c (do_prepare): Likewise.
4264         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4265         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4266         * login/tst-utmp.c (do_prepare): Likewise.
4267         * posix/tst-exec.c (do_prepare): Likewise.
4268         * posix/tst-pathconf.c (prepare): Likewise.
4269         * posix/tst-spawn.c (do_prepare): Likewise.
4270         * posix/tst-truncate.c (do_prepare): Likewise.
4271         * rt/tst-aio.c (do_prepare): Likewise.
4272         * rt/tst-aio64.c (do_prepare): Likewise.
4274 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4276         [BZ #20237]
4277         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4278         (get*ent): Set entidx to NULL during initialization.  If entidx is
4279         NULL, start iteration from the beginning.
4281 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4283         * malloc/malloc.c (musable): Return correct size for dumped fake
4284         mmapped chunk.
4286 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4288         [BZ #20222]
4289         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4290         (_IO_cookie_write): Likewise.
4291         (_IO_cookie_seek): Likewise.
4292         (_IO_cookie_close): Likewise.
4293         (_IO_old_cookie_seek): Likewise.
4294         (set_callbacks): New function.
4295         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4297 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4299         * locale/programs/localedef.c (oldstyle_tables): Remove.
4300         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4302 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4304         [BZ #20240]
4305         * math/Makefile (CFLAGS-s_modf.c): New variable.
4306         (CFLAGS-s_modff.c): Likewise.
4307         (CFLAGS-s_modfl.c): Likewise.
4308         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4310 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4312         [BZ #20215]
4313         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4314         [!__GNUC_PREREQ (3,2)]: Likewise.
4316 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4318         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4319         (msghdr.msg_controllen): Likewise.
4320         (cmsghdr.cmsg_len): Likewise.
4321         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4322         ptw-oldsendmsg.
4323         (CFLAGS-oldrecvmsg.c): Remove rule.
4324         (CFLAGS-oldsendmsg.c): Likewise.
4325         (CFLAGS-recvmsg.c): Add rule.
4326         (CFLAGS-sendmsg.c): Likewise.
4327         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4328         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4329         (CFLAGS-recvmsg.c): Remove rule.
4330         (CFLAGS-sendmsg.c): Likewise.
4331         (CFLAGS-oldrecvmsg.c): Likewise.
4332         (CFLAGS-oldsendmsg.c): Likewise.
4333         (CFLAGS-recvmmsg.c): Likewise.
4334         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4335         to kernel defined interfaces.
4336         (msghdr.msg_controllen): Likewise.
4337         (cmsghdr.cmsg_len): Likewise.
4338         (msghdr.__glibc_reserved1): Remove member.
4339         (msghdr.__glibc_reserved2): Likewise.
4340         (cmsghdr.__glibc_reserved1): Likewise.
4341         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4342         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4343         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4344         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4345         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4346         version.
4347         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4348         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4349         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4350         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4351         Remove recvmsg and sendmsg.
4352         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4353         Likewise.
4354         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4355         Likewise.
4356         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4357         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4358         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4359         Likewise.
4360         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4363         [libc] (GLIBC_2.24): Likewise.
4364         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4369         [libc] (GLIBC_2.24): Likewise.
4370         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4375         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4376         Likewise.
4377         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4378         Likewise.
4379         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4380         Likewise.
4381         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4382         Likewise.
4383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4384         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4385         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4386         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4387         version for {recv,send,recm,sendm}msg.
4388         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4389         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4394         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4395         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4396         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4397         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4398         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4399         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4401         Likewise.
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4403         Likewise.
4404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4406         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4407         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4408         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4409         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4410         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4411         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4415         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4416         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4418 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4420         [BZ #19564]
4421         Remove __malloc_initialize_hook from the API.
4422         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4423         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4424         #pragma GCC poison.
4425         * malloc/malloc-hooks.h: New file.
4426         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4427         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4428         (old__malloc_initialize_hook): Rename from
4429         __malloc_initialize_hook to evade poisoning.  Turn into compat
4430         symbol.
4431         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4432         __malloc_initialize_hook.
4433         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4434         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4435         * manual/memory.texi (Hooks for Malloc): Remove
4436         __malloc_initialize_hook.  Adjust hook example.
4438 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4440         [BZ #20235]
4441         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4442         itself.
4443         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4444         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4446         [BZ #20234]
4447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4448         infinity or NaN input to itself.
4450         [BZ #20233]
4451         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4452         to itself.
4454         [BZ #20232]
4455         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4456         itself.
4458 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4460         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4461         __libc_start_main via GOT.
4463 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4465         * sysdeps/x86_64/memcopy.h: New file.
4466         * sysdeps/x86_64/wordcopy.c: Likewise.
4468 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4470         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4471         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4472         <cstdlib>.
4473         (optimization_barrier): New.
4474         (do_test): Use it.  Call quick_exit in the global namespace.
4475         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4476         instead of <cstdlib>, <thread>.
4477         (optimization_barrier): New.
4478         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4479         Call quick_exit in the global namespace.
4480         (do_test): Call optimization_barrier.  Use pthread_create,
4481         pthread_join instead of std::thread.
4483 2016-06-09  Andreas Schwab  <schwab@suse.de>
4485         [BZ #19755]
4486         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4487         new entries in auto-propagate mode.
4488         * nscd/grpcache.c (cache_addgr): Likewise.
4490 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4492         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4493         New functions.
4494         (add_temp_file): Use them.
4496 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4498         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4500 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4502         [BZ #20229]
4503         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4504         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4505         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4507         [BZ #20228]
4508         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4509         itself.
4510         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4511         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4513         [BZ #20227]
4514         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4515         itself.
4516         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4517         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4518         * math/libm-test.inc (log_test_data): Add sNaN tests.
4520         [BZ #20226]
4521         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4522         itself.
4523         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4524         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4525         (exp10_test_data): Likewise.
4526         (expm1_test_data): Likewise.
4528         [BZ #20225]
4529         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4530         itself.
4531         * math/s_ldexpf.c (__ldexpf): Likewise.
4532         * math/s_ldexpl.c (__ldexpl): Likewise.
4533         * math/w_scalbln.c (__w_scalbln): Likewise.
4534         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4535         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4536         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4537         (scalbln_test_data): Likewise.
4539         [BZ #20224]
4540         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4541         argument to itself.
4542         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4544 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4546         [BZ #19776]
4547         * sysdeps/x86_64/memcpy.S: Make it dummy.
4548         * sysdeps/x86_64/mempcpy.S: Likewise.
4549         * sysdeps/x86_64/memmove.S: New file.
4550         * sysdeps/x86_64/memmove_chk.S: Likewise.
4551         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4552         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4553         * sysdeps/x86_64/memmove.c: Removed.
4554         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4555         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4556         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4557         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4558         Likewise.
4559         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4560         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4562         memcpy-sse2-unaligned, memmove-avx-unaligned,
4563         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4565         (__libc_ifunc_impl_list): Replace
4566         __memmove_chk_avx512_unaligned_2 with
4567         __memmove_chk_avx512_unaligned.  Remove
4568         __memmove_chk_avx_unaligned_2.  Replace
4569         __memmove_chk_sse2_unaligned_2 with
4570         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4571         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4572         with __memmove_avx512_unaligned.  Replace
4573         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4574         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4575         with __memcpy_chk_avx512_unaligned.  Remove
4576         __memcpy_chk_avx_unaligned_2.  Replace
4577         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4578         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4579         Replace __memcpy_avx512_unaligned_2 with
4580         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4581         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4582         with __mempcpy_chk_avx512_unaligned.  Remove
4583         __mempcpy_chk_avx_unaligned_2.  Replace
4584         __mempcpy_chk_sse2_unaligned_2 with
4585         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4586         Replace __mempcpy_avx512_unaligned_2 with
4587         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4588         Replace __mempcpy_sse2_unaligned_2 with
4589         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4590         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4591         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4592         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4593         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4594         (ENTRY): Removed.
4595         (END): Likewise.
4596         (ENTRY_CHK): Likewise.
4597         (libc_hidden_builtin_def): Likewise.
4598         Don't include ../memcpy.S.
4599         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4600         __memcpy_chk_avx512_unaligned_erms and
4601         __memcpy_chk_avx512_unaligned.  Use
4602         __memcpy_chk_avx_unaligned_erms and
4603         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4604         Default to __memcpy_chk_sse2_unaligned.
4605         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4606         Change function suffix from unaligned_2 to unaligned.
4607         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4608         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4609         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4610         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4611         (ENTRY): Removed.
4612         (END): Likewise.
4613         (ENTRY_CHK): Likewise.
4614         (libc_hidden_builtin_def): Likewise.
4615         Don't include ../mempcpy.S.
4616         (mempcpy): New.  Add a weak alias.
4617         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4618         __mempcpy_chk_avx512_unaligned_erms and
4619         __mempcpy_chk_avx512_unaligned.  Use
4620         __mempcpy_chk_avx_unaligned_erms and
4621         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4622         Default to __mempcpy_chk_sse2_unaligned.
4624 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4626         [BZ #19881]
4627         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4628         into ...
4629         * sysdeps/x86_64/memset.S: This.
4630         (__bzero): Removed.
4631         (__memset_tail): Likewise.
4632         (__memset_chk): Likewise.
4633         (memset): Likewise.
4634         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4635         defined.
4636         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4637         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4638         (__memset_zero_constant_len_parameter): Check SHARED instead of
4639         PIC.
4640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4641         memset-avx2 and memset-sse2-unaligned-erms.
4642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4643         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4644         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4645         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4646         (__bzero): Enabled.
4647         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4648         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4649         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4650         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4651         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4652         (memset): Removed.
4653         (__memset_chk): Likewise.
4654         (MEMSET_SYMBOL): New.
4655         (libc_hidden_builtin_def): Replace __memset_sse2 with
4656         __memset_sse2_unaligned.
4657         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4658         __memset_chk_sse2 and __memset_chk_avx2 with
4659         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4660         Use __memset_chk_sse2_unaligned_erms or
4661         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4662         __memset_chk_avx512_unaligned_erms and
4663         __memset_chk_avx512_unaligned.
4665 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4667         * math/gen-auto-libm-test.c (fp_format_desc): remove
4668         suffix member.
4669         (output_generic_value): Remove usage of suffix member,
4670         and the resulting unuse of the fp_format argument.
4671         (output_for_one_input_case): Remove unused fp_format
4672         parameter.
4674         * math/auto-libm-test-out: Regenerate.
4676         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4677         usage with TEST_COND_ibm128.
4678         (TEST_COND_flt_32): Remove.
4679         (TEST_COND_dbl_64): Remove.
4680         (TEST_COND_ldbl_96_intel): Remove.
4681         (TEST_COND_ldbl_96_m68k): Remove.
4682         (TEST_COND_ldbl_128): Remove.
4684 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4686         * auto-libm-test-in:
4687         Replace flt-32 usage with binary32.
4688         Replace dbl-64 usage with binary64.
4689         Replace ldbl-intel-96 usage with intel96.
4690         Replace ldbl-m68k-96 usage with m68k96.
4691         Replace ldbl-128ibm usage with ibm128.
4692         Replace ldbl-128 usage with binary128.
4694         * auto-libm-test-out: Regenerate.
4696 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4698         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4699         (parse_ulps): Dynamically generate type name matching
4700         string from all_floats.
4701         (get_ulps): Generate the ulps as an array instead.
4702         (output_ulps): Dynamically compose the type based
4703         on the number of supported formats, and print
4704         the indices as type specific helper macros.
4706         * math/libm-test.inc: Remove comment about CHOOSE.
4707         (ulp_data): Generate the type in libm-test-ulps.h.
4708         (ULP_IDX): New macro.
4709         (find_ulps): Update usage of max_ulp.
4711         * math/test-double-vlen2.h (CHOOSE): Remove.
4712         * math/test-double-vlen4.h (CHOOSE): Likewise.
4713         * math/test-double-vlen8.h (CHOOSE): Likewise.
4714         * math/test-float.c (CHOOSE): Likewise.
4715         * math/test-float-finite.c (CHOOSE): Likewise.
4716         * math/test-double.c (CHOOSE): Likewise.
4717         * math/test-double-finite.c (CHOOSE): Likewise.
4718         * math/test-idouble.c (CHOOSE): Likewise.
4719         * math/test-ifloat.c (CHOOSE): Likewise.
4720         * math/test-ildoubl.c (CHOOSE): Likewise.
4721         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4722         * math/test-ldouble.c (CHOOSE): Likewise.
4724         * math/test-float.h (TEST_FLOAT): Remove.
4725         * math/test-double.h (TEST_DOUBLE): Likewise.
4726         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4728 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4730         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4731         (parse_args): Strip C suffix from floating point literals
4732         typed with 'f' and wrap them with LIT().
4734         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4735         (test_ff_f_data_nexttoward): Rename to
4736         (test_fj_f_data): New struct.
4737         (nexttoward_test_data): Relabel tests as
4738         TEST_fj_f instead of TEST_ff_f.
4740 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4742         Emacs bug 23726.
4743         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4744         (__libc_realloc): Correct size computation for dumped fake mmapped
4745         chunks.
4747 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #20219]
4750         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4751         to itself.
4752         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4754         [BZ #20218]
4755         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4756         to itself.
4757         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4759 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4761         [BZ #20195]
4762         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4763         check to ...
4764         (init_cpu_features): Here.
4766 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4768         [BZ #20214]
4769         * sysdeps/unix/sysv/linux/bits/in.h
4770         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4771          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4772         Define to 1.
4773         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4774          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4775         Define to 0.
4776         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4777         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4779 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4781         [BZ #20198]
4782         * stdlib/Makefile (tests): Add tst-quick_exit, and
4783         tst-thread-quick_exit.
4784         [ifeq ($(have-cxx-thread_local),yes)]
4785         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4786         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4787         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4788         (LDLIBS-tst-thread-quick_exit): Likewise.
4789         [ifneq ($(have-cxx-thread_local),yes)]
4790         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4791         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4792         If run_dtors is true call __call_tls_dtors.
4793         (exit): Call __run_exit_handlers with run_dtors set to true.
4794         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4795         definition.
4796         * stdlib/quick_exit.c (quick_exit): Remove function.
4797         (__new_quick_exit): New function.
4798         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4799         function.
4800         * stdlib/tst-quick_exit.cc: New file.
4801         * stdlib/tst-thread-quick_exit.cc: New file.
4802         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4803         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4804         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4805         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4806         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4807         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4808         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4809         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4810         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4811         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4812         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4813         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4814         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4815         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4816         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4817         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4822         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4823         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4824         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4826         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4829         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4830         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4831         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4833 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4835         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4836         a typo in comments.
4838 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4840         [BZ #20213]
4841         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4842         argument to itself.
4843         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4845 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4847         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4848         required flags.
4849         (CFLAGS-pwritev64.c): Likewise.
4850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4852         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4853         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4854         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4855         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4856         syscall from auto-generation.
4857         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4858         [WORDSIZE == 64] (pwritev64): Remove macro.
4859         [!PWRITEV] (PWRITEV): Likewise.
4860         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4861         [!PWRITEV] (PWRITE): Likewise.
4862         [!PWRITEV] (OFF_T): Likewise.
4863         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4864         (LO_HI_LONG): Remove macro.
4865         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4866         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4867         (PWRITEV): Remove macro.
4868         (PWRITEV_REPLACEMENTE): Likewise.
4869         (PWRITE): Likewise.
4870         (OFF_T): Likewise.
4871         (pwritev64): New function.
4872         * nptl/tst-cancel4.c (tf_writev): Add test.
4874         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4875         required flags.
4876         (CFLAGS-preadv64.c): Likewise.
4877         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4878         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4879         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4880         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4881         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4882         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4883         syscall from auto-generation.
4884         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4885         [WORDSIZE == 64] (preadv64): Remove macro.
4886         [!PREADV] (PREADV): Likewise.
4887         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4888         [!PREADV] (PREAD): Likewise.
4889         [!PREADV] (OFF_T): Likewise.
4890         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4891         (LO_HI_LONG): Remove macro.
4892         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4893         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4894         (PREADV): Remove macro.
4895         (PREADV_REPLACEMENTE): Likewise.
4896         (PREAD): Likewise.
4897         (OFF_T): Likewise.
4898         (preadv64): New function.
4899         * nptl/tst-cancel4.c (tf_preadv): Add test.
4901 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4903         [BZ #20212]
4904         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4905         argument to itself.
4906         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4908 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4910         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4911         New symbol defined as libc_hidden_def.
4912         (strcasestr): Became a weak alias to __strcasestr.
4913         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4914         according to multi-arch support.  Move __stpncpy hidden
4915         definition from here to...
4916         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4917         symbol stpncpy.
4918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4919         libc_hidden_builtin_def.
4920         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4921         memset symbol to use when multi-arch support is available.
4923 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4925         * dlfcn/tst-rec-dlopen.c: Include string.h.
4927 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4929         * manual/install.texi: Remove mention of --without-tls
4930         * INSTALL: Regenerate.
4932 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4934         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4935         Remove.
4936         (call_function, interposed_malloc_called): New variables.
4937         (malloc): New function.
4938         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4939         and clear call_function as needed.
4941 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4943         * include/wchar.h (__wmemset): Use __typeof.
4945 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4947         * include/wchar.h (__wmemset): Declare function without typeof.
4949 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4951         [BZ #20205]
4952         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4953         exponent when incrementing negative subnormal with low mantissa
4954         word zero.
4955         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4956         Add another test.
4958 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4960         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4961         __wmemset instead of wmemset.
4963 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4965         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4966         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4967         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4968         __USE_KERNEL_IPV6_DEFS to 0.
4969         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4970         Update comment.
4972 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4974         [BZ #19861]
4975         Do not use IFUNC resolver with potentially unrelocated symbol.
4976         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4977         (DEFINE_FORK): Remove macro and inline definition.
4978         (fork_alias): Renamed from fork_ifunc.
4979         (__fork_alias): Renamed from __fork_ifunc.
4981 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4983         [BZ 19653]
4984         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4985         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4987 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4989         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4990         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4991         i386-linux-gnu).
4992         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4993         Set to no.
4994         * sysdeps/mach/hurd/configure: Refresh.
4996 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4998         [BZ #20178]
4999         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5000         on failure instead of exit.
5002 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5004         [BZ #3629]
5005         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5006         of POSIX.1-2008.
5008 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5010         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5011           Use PLT entry for calling _hurd_self_sigstate.
5013 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5015         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5016         available logical processors with SMT level type sharing L2
5017         cache for Intel processors.
5019 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5021         [BZ #20160]
5022         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5023         argument to itself before returning the result.
5024         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5025         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5026         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5027         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5028         Likewise.
5029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5030         Likewise.
5031         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5032         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5033         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5034         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5035         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5036         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5038         [BZ #20160]
5039         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5040         argument to itself before returning the result.
5041         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5042         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5043         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5045         Likewise.
5046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5047         Likewise.
5048         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5049         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5050         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5051         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5052         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5053         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5055 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5057         * libm-test.inc: Replace usage of M_El with
5058         (lit_e): New macro.
5060 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5062         * libm-test.inc: Replace usage of M_PI_4l with
5063         (lit_pi_4_d): New macro.
5065 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5067         * libm-test.inc: Replace usage of M_PIl with
5068         (lit_pi): New macro.
5070 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5072         * libm-test.inc: Replace usage of M_PI2l with
5073         (lit_pi_2_d): New macro.
5075         * math/test-double.h (LITM): New macro.
5076         * math/test-float.h (LITM): Likewise.
5077         * math/test-ldouble.h (LITM): Likewise.
5079 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5081         * libm-test.inc (M_PI_34l): Rename to
5082         (lit_pi_3_m_4_d): New Macro.
5083         (M_PI_34_LOG10El): Rename to
5084         (lit_pi_3_m_4_ln10_m_d): New Macro.
5085         (M_PI2_LOG10El): Rename to
5086         (lit_pi_2_ln10_m_d):  New Macro.
5087         (M_PI4_LOG10El): Rename to
5088         (lit_pi_4_ln10_m_d):  New Macro.
5089         (M_PI_LOG10El): Rename to
5090         (lit_pi_ln10_d):  New Macro.
5092 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5094         [BZ #20157]
5095         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5096         determine whether to negate low half if [_ARCH_PPCGR], and integer
5097         comparison otherwise.
5098         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5099         determine whether to negate low half.
5101         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5102         (NO_TEST_INLINE_DOUBLE): Likewise.
5103         (TEST_COND_x86_64): Likewise.
5104         (TEST_COND_x86): Likewise.
5105         (M_PI_6l): Likewise.
5107 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5109         * math/libm-test.inc:
5110         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5111         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5112         (TEST_LDOUBLE): Update usage to evaluate as true if
5113         the guarded tests match the property being tested.
5114         (LDBL_MAX_EXP): Change to MAX_EXP.
5115         (LDBL_MIN_EXP): Change to MIN_EXP.
5116         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5117         nexttoward tests.
5119 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5121         * math/libm-test.inc:
5122         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5123         (TYPE_MIN): Likewise.
5124         (TYPE_TRUE_MIN): Likewise.
5125         (TYPE_MAX): Likewise.
5126         (MIN_EXP): Likewise.
5127         (MAX_EXP): Likewise.
5128         (MANT_DIG): Likewise.
5130         (FSTR_MAX): New macro.
5131         (__CONCATX): Likewise.
5132         (QTYPE_STR): Likewise.
5133         (TEST_COND_binary32): Likewise.
5134         (TEST_COND_binary64): Likewise.
5135         (TEST_COND_binary128): Likewise.
5136         (TEST_COND_ibm128): Likewise.
5137         (TEST_COND_intel96): Likewise.
5138         (TEST_COND_m68k96): Likewise.
5140         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5141         (TEST_COND_dbl_64): Likewise.
5142         (TEST_COND_ldbl_96_intel): Likewise.
5143         (TEST_COND_ldbl_96_m68k): Likewise.
5144         (TEST_COND_ldbl_128): Likewise.
5145         (TEST_COND_ldbl_128ibm): Likewise.
5147         (plus_zero): Redefine using LIT macro.
5148         (minus_zero): Likewise.
5149         (plus_infty): Redefine as (INF).
5150         (minux_infty): Redefine as (-INF).
5151         (max_value): Redefine as TYPE_MAX.
5152         (min_value): Redefine as TYPE_MIN.
5153         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5155         (print_float): Refactor to use snprintf to convert FLOAT values
5156         to string. This brings it closer to dropin replacement of strtof
5157         for the TS 18661 defined types.
5158         (update_stats): Likewise.
5159         (print_complex_function_ulps): Likewise.
5160         (print_max_error): Likewise.
5161         (print_complex_max_error): Likewise.
5162         (check_float_internal): Likewise.
5164         * math/test-float.h (PREFIX): New macro.
5165         (LIT): Likewise.
5166         (TYPE_STR): Likewise.
5167         (FTOSTR): Likewise.
5169         * math/test-double.h (PREFIX): New macro.
5170         (LIT): Likewise.
5171         (TYPE_STR): Likewise.
5172         (FTOSTR): Likewise.
5174         * math/test-ldouble.h (PREFIX): New macro.
5175         (LIT): Likewise.
5176         (TYPE_STR): Likewise.
5177         (FTOSTR): Likewise.
5179 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5181         [BZ #20156]
5182         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5183         to itself when zero or not finite.
5184         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5187         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5189 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5191         [BZ #20153]
5192         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5193         x * x + x for infinities and NaNs.
5195         [BZ #20151]
5196         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5197         argument to itself before returning result.
5198         (__ieee754_y0l): Likewise.
5199         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5200         (__ieee754_y1l).
5202         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5203         (atan_test_data): Likewise.
5204         (ceil_test_data): Likewise.
5205         (cos_test_data): Likewise.
5206         (cosh_test_data): Likewise.
5207         (erf_test_data): Likewise.
5208         (exp2_test_data): Likewise.
5209         (fabs_test_data): Likewise.
5210         (floor_test_data): Likewise.
5211         (ilogb_test_data): Likewise.
5212         (j0_test_data): Likewise.
5213         (j1_test_data): Likewise.
5214         (jn_test_data): Likewise.
5215         (lgamma_test_data): Likewise.
5216         (lrint_test_data): Likewise.
5217         (llrint_test_data): Likewise.
5218         (logb_test_data): Likewise.
5219         (lround_test_data): Likewise.
5220         (llround_test_data): Likewise.
5221         (nearbyint_test_data): Likewise.
5222         (rint_test_data): Likewise.
5223         (round_test_data): Likewise.
5224         (sin_test_data): Likewise.
5225         (sincos_test_data): Likewise.
5226         (sinh_test_data): Likewise.
5227         (sqrt_test_data): Likewise.
5228         (tan_test_data): Likewise.
5229         (tanh_test_data): Likewise.
5230         (tgamma_test_data): Likewise.
5231         (trunc_test_data): Likewise.
5232         (y0_test_data): Likewise.
5233         (y1_test_data): Likewise.
5234         (yn_test_data): Likewise.
5236         * math/libm-test.inc: Update comment about NaN testing.
5237         (TEST_SNAN): New macro.
5238         (snan_value): Likewise.
5239         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5240         (fpclassify_test_data): Add sNaN tests.
5241         (isfinite_test_data): Likewise.
5242         (isinf_test_data): Likewise.
5243         (isnan_test_data): Likewise.
5244         (isnormal_test_data): Likewise.
5245         (issignaling_test_data): Likewise.
5246         (signbit_test_data): Likewise.
5247         * math/gen-libm-test.pl (%beautify): Add snan_value.
5248         (show_exceptions): Add argument $test_snan.
5249         (parse_args): Handle snan_value as non-finite.  Update call to
5250         show_exceptions.
5251         * math/Makefile (libm-test-no-inline-cflags): Add
5252         -fsignaling-nans.
5254 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5256         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5257         (CFLAGS-oldsendmsg.c): Add rule.
5258         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5259         Correct recvmsg symbol name.
5260         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5261         Likewise.
5263 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5265         * sysdeps/unix/sysv/linux/Makefile
5266         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5267         oldsendmmsg.
5268         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5269         sendmmsg.
5270         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5271         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5273         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5278         Likewise.
5279         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5280         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5281         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5282         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5283         iovlen and controllen fields to adjust to POSIX specification.
5284         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5286         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5287         and change to correct expected type.
5288         (msghdr.msg_controllen): Likewise.
5289         (cmsghdr.cmsg_len): Likewise.
5290         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5291         expected POSIX assumption about the size.
5292         (msghdr.msg_controllen): Likewise.
5293         (msghdr.__glibc_reserved1): Likewise.
5294         (msghdr.__glibc_reserved2): Likewise.
5295         (cmsghdr.cmsg_len): Likewise.
5296         (cmsghdr.__glibc_reserved1): Likewise.
5297         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5298         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5299         (CFLAGS-sendmsg.c): Remove rule.
5300         (CFLAGS-recvmsg.c): Likewise.
5301         (CFLAGS-oldsendmsg.c): Add rule.
5302         (CFLAGS-oldrecvmsg.c): Likewise.
5303         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5304         recvmsg and sendmsg.
5305         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5308         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5309         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5310         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5311         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5312         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5313         Likewise.
5314         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5315         Likewise.
5316         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5317         Likewise.
5318         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5319         Likewise.
5320         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5321         Likewise.
5322         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5323         Likewise.
5324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5325         (GLIBC_2.24): Likewise.
5326         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5327         Likewise.
5328         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5331         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5334         Likewise.
5335         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5336         Likewise.
5337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5338         (GLIBC_2.24): Likewise.
5339         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/Makefile
5344         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5345         (CFLAGS-sendmsg.c): Add rule.
5346         (CFLAGS-recvmsg.c): Likewise.
5347         (CFLAGS-oldsendmsg.c): Likewise.
5348         (CFLAGS-oldrecvmsg.c): Likewise.
5349         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5350         initialization.
5351         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5352         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5353         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5354         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5355         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5356         iovlen and controllen fields to adjust to POSIX specification.
5357         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5358         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5359         added recvmsg and sendmsg.
5360         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5366         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5367         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5368         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5369         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5370         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5371         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5373         Likewise.
5374         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5376         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5377         Likewise.
5378         Likewise.
5379         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5381         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5386         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5388         Likewise.
5389         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5390         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5392         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5393         from auto-generation.
5394         (sendmsg): Likewise.
5395         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5396         (sendmsg): Likewise.
5397         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5398         (sendmsg): Likewise.
5399         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5400         (sendmsg): Likewise.
5401         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5402         (sendmsg): Likewise.
5403         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5404         (sendmsg): Likewise.
5405         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5406         Likewise.
5407         (sendmsg): Likewise.
5408         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5409         (sendmsg): Likewise.
5410         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5412         Remove.
5413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5414         Likewise.
5415         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5416         Undefine.
5417         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5418         Likewise.
5419         * sysdeps/unix/sysv/linux/kernel-features.h
5420         (__ASSUME_SENDMSG_SYSCALL): Define.
5421         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5422         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5423         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5424         Remove.
5425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5426         Likewise.
5427         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5428         Undefine.
5429         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5430         Likewise.
5431         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5432         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5433         Remove.
5434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5435         Likewise.
5436         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5437         Undefine.
5438         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5439         Likewise.
5440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5441         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5442         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5443         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5444         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5445         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5446         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5447         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5448         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5450 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5452         * stdlib/gen-tst-strtod-round.c: Add backslash to
5453         compile command in comment.
5454         (printfp): Remove the literal suffix, and define an infinite
5455         value as INF to avoid expansion clash with INFINITY.
5456         (round_str): Remove the literal suffix.
5457         (round_for_all): Likewise, remove the now duplicate ldbl-64
5458         entry, and remove some magic constants.
5460         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5461         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5462         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5463         (_CONCAT): New macro.
5464         (CONCAT): Likewise.
5465         (CHOOSE_ld): Likewise.
5466         (CHOOSE_f): Likewise.
5467         (CHOOSE_d): Likewise.
5468         (FTYPE_MEMBER): Likewise.
5469         (BOOL_MEMBER): Likewise.
5470         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5471         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5472         (_XNTRY): Likewise.
5473         (XNTRY): Likewise.
5474         (_ENTRY): Likewise.
5475         (ENTRY): Likewise.
5476         (test_exactness): Generate members via macro.
5477         (test_results): Likewise.
5478         (test): Update members.
5479         (TEST): Redefine using new macros.
5480         (INF): New macro.
5481         (fetestmodes): New structure.
5482         (do_test): Refactor to be type generic.
5483         (test_in_one_mode): Refactor duplicate code into
5484         (GEN_ONE_TEST): New macro.
5486         * stdlib/tst-strtod-round-data.h: Regenerate.
5488         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5489         Extend to pass additional arbitrary parameters to
5490         generators.
5492 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5494         [BZ #15479]
5495         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5496         floating-point state after first floating-point operation on
5497         input.  Restore full floating-point state instead of just rounding
5498         mode.
5499         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5500         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5501         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5502         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5503         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5505         [BZ #15479]
5506         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5507         floating-point state after first floating-point operation on
5508         input.  Restore full floating-point state instead of just rounding
5509         mode.
5510         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5511         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5512         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5513         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5514         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5516 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5518         [BZ #19727]
5519         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5520         valid high surrogate.
5521         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5522         of an utf16 surrogate.
5523         * iconv/gconv_simple.c (BODY): Likewise.
5524         * iconvdata/bug-iconv12.c: New file.
5525         * iconvdata/Makefile (tests): Add bug-iconv12.
5527 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5529         [BZ #19726]
5530         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5531         outptrp in case of an illegal input.
5532         * iconv/tst-iconv6.c: New file.
5533         * iconv/Makefile (tests): Add tst-iconv6.
5535 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5537         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5538         an error in case of a value in range of an utf16 low surrogate.
5540 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5542         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5543         an error in case of a value in range of an utf16 low surrogate.
5545 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5547         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5548         Move to ...
5549         * sysdeps/s390/Makefile: ... here.
5550         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5551         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5552         (BRANCH_ON_COUNT): New define.
5553         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5554         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5555         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5556         run on s390-32, too.
5557         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5558         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5559         run on s390-32, too.
5560         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5561         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5562         run on s390-32, too.
5564 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5566         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5567         etf3eh or new vector loop-variant.
5569 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5571         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5572         etf3eh or new vector loop-variant.
5574 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5576         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5577         or new vector loop-variant.
5579 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5581         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5582         Rename to TR_LOOP and usage of tr instead of troo instruction.
5584 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5586         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5587         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5589 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5591         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5592         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5593         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5594         New override define.
5595         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5597 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5599         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5600         * sysdeps/s390/configure.ac: Add test for S390 vector register
5601         support in gcc.
5602         * sysdeps/s390/configure: Regenerated.
5604 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5606         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5607         Install file from $(objpfx)gconv-modules.
5608         ($(objpfx)gconv-modules): Concatenate architecture specific file
5609         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5610         * sysdeps/s390/gconv-modules: New file.
5611         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5612         Deleted.
5613         ($(objpfx)gconv-modules-s390): Deleted.
5614         (sysdeps-gconv-modules): New variable.
5616 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5618         [BZ #15479]
5619         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5620         of immediate operand to rounding instruction.
5621         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5622         Likewise.
5623         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5624         Likewise.
5625         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5626         Likewise.
5628 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5630         * math/libm-test.inc (MIN_EXP): Directly define as
5631         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5633 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5635         * math/libm-test.inc (MANT_DIG): Directly define as
5636         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5638 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5640         * stdlib/gen-tst-strtod-round.c (main):
5641           Change usage to more closely match the generated
5642           output.  Add usage and compilation instructions.
5643           (string_to_fp): Add and use FILE* parameter as
5644           output target.
5645           (print_fp): Likewise.
5646           (round_str): Likewise.
5647           (round_for_all): Likewise.
5648         * stdlib/tst-strtod-round.c (tests): Move into
5649         * stdlib/tst-strtod-round-data.h: New file.
5651 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5653         [BZ #15479]
5654         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5655         (__round): Do not force "inexact" exception.
5656         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5657         variable.
5658         (__round): Do not force "inexact" exception.
5659         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5660         (__roundf): Do not force "inexact" exception.
5661         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5662         (__roundl): Do not force "inexact" exception.
5663         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5664         (__roundl): Do not force "inexact" exception.
5665         * math/libm-test.inc (round_test_data): Do not allow spurious
5666         "inexact" exceptions.
5668         [BZ #15479]
5669         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5670         exception in comment.
5671         (huge): Remove variable.
5672         (__floor): Do not force "inexact" exception.
5673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5674         "inexact" exception in comment.
5675         (huge): Remove variable.
5676         (__floor): Do not force "inexact" exception.
5677         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5678         exception in comment.
5679         (huge): Remove variable.
5680         (__floorf): Do not force "inexact" exception.
5681         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5682         exception in comment.
5683         (huge): Remove variable.
5684         (__floorl): Do not force "inexact" exception.
5686         [BZ #15479]
5687         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5688         exception in comment.
5689         (huge): Remove variable.
5690         (__ceil): Do not force "inexact" exception.
5691         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5692         "inexact" exception in comment.
5693         (huge): Remove variable.
5694         (__ceil): Do not force "inexact" exception.
5695         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5696         (__ceilf): Do not force "inexact" exception.
5697         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5698         exception in comment.
5699         (huge): Remove variable.
5700         (__ceill): Do not force "inexact" exception.
5702 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5704         * config.h.in (BIND_NOW): New.
5705         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5706         * configure: Regenerated.
5707         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5708         indirect branch via the GOT slot.
5710 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5712         [BZ #19765]
5713         * sysdeps/s390/mempcpy.S: New File.
5714         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5716         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5717         Add mempcpy variants.
5718         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5719         (memcpy): Adjust to be usable from mempcpy entry point.
5720         (__memcpy_mvcle): Likewise.
5721         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5722         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5723         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5724         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5725         (__memcpy_z10): Likewise.
5726         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5728 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5730         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5731         Remove __GI_ symbol.
5732         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5733         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5734         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5735         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5736         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5737         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5739 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5741         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5742         Use cghi instead of chi to compare 64bit value.
5744 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5746         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5747         Jump to 1MB check before executing mvc-loop.
5749 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5751         [BZ #6527]
5752         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5753         unconditionally.
5754         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5756 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5758         * stdlib/tst-strtod6.c (do_test): Use new type generic
5759         invocation of the test function.
5760         (test): Refactor into ...
5761         (TEST_STRTOD): New macro base function.
5763 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5765         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5766         (TEST_STRTOD): New macro.
5767         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5769 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5771         * stdlib/tst-strtod6.c (do_test): Use new type generic
5772         invocation of the test function.
5773         (test): Refactor into ...
5774         (TEST_STRTOD): New macro base function.
5776 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5778         CVE-2016-4429
5779         [BZ #20112]
5780         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5781         payload.
5783 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5785         [BZ #20111]
5786         * bits/sockaddr.h (_SS_SIZE): Define.
5787         * bits/socket.h (_SS_SIZE): Remove.
5788         (_SS_PADSIZE): Adjust to account for all padding.
5789         (struct sockaddr_storage): Update comment.  Avoid implicit
5790         padding.
5791         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5792         (_SS_PADSIZE): Adjust to account for all padding.
5793         (struct sockaddr_storage): Update comment.  Avoid implicit
5794         padding.
5795         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5796         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5797         (_SS_PADSIZE): Adjust to account for all padding.
5798         (struct sockaddr_storage): Update comment.  Avoid implicit
5799         padding.
5800         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5801         __SS_SIZE is 126 in this version.
5802         * inet/tst-sockaddr.c: New file.
5803         * inet/Makefile (tests): Add tst-sockaddr.c
5804         (tst-sockaddr.c): Compile with non-strict aliasing.
5806 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5808         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5809         [XPG3 || XPG4].
5810         (NL_ARGMAX): Also expect for [XPG3].
5811         (NL_LANGMAX): Likewise.
5812         (NL_MSGMAX): Likewise.
5813         (NL_NMAX): Likewise.
5814         (NL_SETMAX): Likewise.
5815         (NL_TEXTMAX): Likewise.
5816         (NZERO): Likewise.
5817         (TMP_MAX): Likewise.
5818         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5819         variable.
5821         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5822         (PF_MAX): Update value.
5823         (AF_KCM): New macro.
5824         (SOL_NETBEUI): Likewise.
5825         (SOL_LLC): Likewise.
5826         (SOL_DCCP): Likewise.
5827         (SOL_NETLINK): Likewise.
5828         (SOL_TIPC): Likewise.
5829         (SOL_RXRPC): Likewise.
5830         (SOL_PPPOL2TP): Likewise.
5831         (SOL_BLUETOOTH): Likewise.
5832         (SOL_PNPIPE): Likewise.
5833         (SOL_RDS): Likewise.
5834         (SOL_IUCV): Likewise.
5835         (SOL_CAIF): Likewise.
5836         (SOL_ALG): Likewise.
5837         (SOL_NFC): Likewise.
5838         (SOL_KCM): Likewise.
5839         (MSG_BATCH): New enum value and macro.
5841 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5843         [BZ #18185]
5844         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5845         sharing L2 cache to 2 for Knights Landing.
5847 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5849         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5850         (FTW_DP): Do not expect for [XPG3 || XPG4].
5851         (FTW_SL): Do not expect for [XPG3].
5852         (FTW_SLN): Likewise.
5853         (FTW_PHYS): Likewise.
5854         (FTW_MOUNT): Likewise.
5855         (FTW_DEPTH): Likewise.
5856         (FTW_CHDIR): Likewise.
5857         (nftw): Likewise.
5858         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5859         variable.
5861 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5863         * manual/errno.texi: Fix various typos & grammar errors.
5865 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5867         * manual/intro.texi: Fix duplicated typo.
5869 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5871         [BZ #13304]
5872         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5873         <float.h>, <math_private.h> and <stdlib.h>.
5874         (add_split): New function.
5875         (mul_split): Likewise.
5876         (ext_val): New typedef.
5877         (store_ext_val): New function.
5878         (mul_ext_val): New function.
5879         (compare): New function.
5880         (add_split_ext): New function.
5881         (__fmal): After checking for Inf, NaN and zero, compute result as
5882         an exact sum of scaled double values in round-to-nearest before
5883         adding those up and adjusting for other rounding modes.
5884         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5885         tests of fma.
5886         * math/auto-libm-test-out: Regenerated.
5888 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5890         [BZ #20119]
5891         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5892         processor level type mask for CPUID with EAX == 11.
5894 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5896         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5897         logical threads if the HTT bit is 0.
5898         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5899         (index_cpu_HTT): Likewise.
5900         (reg_HTT): Likewise.
5902 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5904         [BZ #20115]
5905         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5906         Remove alignments on jump targets.
5908 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5910         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5911         (getpwent): Likewise.
5912         (setpwent): Likewise.
5913         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5914         variable.
5916         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5917         (remque): Likewise.
5918         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5919         variable.
5921 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5923         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5924         not being tested.
5926 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5928         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5929         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5930         call.
5931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5932         (__condvar_cleanup1): Likewise.
5934 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5936         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5937         New
5938         (__pthread_unwind): Renamed to ...
5939         (PTHREAD_UNWIND): This.
5940         (__pthread_enable_asynccancel): Replace
5941         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5943 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5945         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5946         (CLONE_NEWCGROUP): New macro.
5948         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5949         (Q_GETNEXTQUOTA): New macro.
5951 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5953         [BZ #19907]
5954         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5955         buffer updated by the previous run.
5956         * string/test-memcpy.c (do_one_test): Likewise.
5957         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5958         * string/test-memmove.c (do_one_test): Likewise.
5960 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #20094]
5963         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5964         not [__USE_XOPEN].
5965         (unlockpt): Likewise.
5966         (ptsname): Likewise.
5967         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5968         variable.
5970         [BZ #20076]
5971         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5972         instead of [__USE_UNIX98].
5973         (S_ISSOCK): Likewise.
5974         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5975         variable.
5977         [BZ #20074]
5978         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5979         [__USE_POSIX].
5980         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5981         variable.
5983         [BZ #20051]
5984         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5985         (ttyslot): Do not declare.
5986         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5987         (ttyslot): New prototype.
5988         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5989         variable.
5990         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5992 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5994         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5996 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5998         Fix race condition in tst-mallocfork2, use fewer resources.
5999         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6000         to current process group.
6001         (signal_sender): Yield in the non-sleeping case.
6003 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6005         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6006         (ecvt): Likewise.
6007         (fcvt): Likewise.
6008         (gcvt): Likewise.
6009         (getsubopt): Likewise.
6010         (grantpt): Likewise.
6011         (initstate): Likewise.
6012         (l64a): Likewise.
6013         (mktemp): Likewise.
6014         (mkstemp): Likewise.
6015         (ptsname): Likewise.
6016         (random): Likewise.
6017         (realpath): Likewise.
6018         (setstate): Likewise.
6019         (srandom): Likewise.
6020         (ttyslot): Likewise.
6021         (unlockpt): Likewise.
6022         (valloc): Likewise.
6024         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6025         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6026         variable.
6028 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6030         [BZ #20072]
6031         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6032         init_cpu_features only if SHARED is defined.
6033         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6035 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6037         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6038         non-inclusive caches on Intel processors.
6040 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6042         * malloc/malloc.c (dumped_main_arena_start)
6043         (dumped_main_arena_end): New variables.
6044         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6045         (do_check_chunk): Skip dumped fake mmapped chunks.
6046         (munmap_chunk): Likewise.
6047         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6048         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6049         mmapped chunks.
6050         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6051         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6052         and dumped_main_arena_end to cover the dumped heap.
6054 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6056         * conform/data/time.h-data (getdate_err): Do not expect for
6057         [XPG3].
6058         (getdate): Likewise.
6059         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6060         variable.
6062         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6063         (F_ULOCK): Likewise.
6064         (F_TEST): Likewise.
6065         (F_TLOCK): Likewise.
6066         (useconds_t): Likewise.
6067         (intptr_t): Do not expect for [XPG3] or [XPG4].
6068         (brk): Do not expect for [XPG3]
6069         (fchown): Likewise.
6070         (fchdir): Likewise.
6071         (ftruncate): Likewise.
6072         (getdtablesize): Likewise.
6073         (gethostid): Likewise.
6074         (getpagesize): Likewise.
6075         (getpgid): Likewise.
6076         (getsid): Likewise.
6077         (getwd): Likewise.
6078         (lchown): Likewise.
6079         (lockf): Likewise.
6080         (readlink): Likewise.
6081         (sbrk): Likewise.
6082         (setpgrp): Likewise.
6083         (setregid): Likewise.
6084         (setreuid): Likewise.
6085         (symlink): Likewise.
6086         (sync): Likewise.
6087         (truncate): Likewise.
6088         (ualarm): Likewise.
6089         (usleep): Likewise.
6090         (vfork): Likewise.
6091         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6092         variable.
6094         [BZ #20054]
6095         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6096         not [__USE_UNIX98].
6097         * conform/data/unistd.h-data (gethostname): Do not expect for
6098         [XPG3].
6100         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6101         [!POSIX] (S_IFBLK): Likewise.
6102         [!POSIX] (S_IFCHR): Likewise.
6103         [!POSIX] (S_IFIFO): Likewise.
6104         [!POSIX] (S_IFREG): Likewise.
6105         [!POSIX] (S_IFDIR): Likewise.
6106         [!POSIX] (S_IFLNK): Likewise.
6107         [!POSIX] (S_IFSOCK): Likewise.
6108         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6109         variable.
6110         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6112 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6114         * sysdeps/aarch64/memset.S (__memset):
6115         Rewrite of optimized memset.
6117 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6119         [BZ #19703]
6120         Partially async-signal-safe fork for single-threaded processes.
6121         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6122         variable.  Do not acquire and reset/release malloc and libio locks
6123         in single-threaded processes.
6124         * malloc/tst-mallocfork2.c: New file.
6125         * malloc/Makefile (tests): Add it.
6127 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6129         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6130         argument.  Use scratch buffer instead of extend_alloca.
6131         (gethosts): Use scratch buffer instead of extend_alloca.
6132         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6133         extend_alloca.
6134         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6136 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6138         [BZ #20055]
6139         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6140         instead of [__USE_UNIX98].
6141         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6142         [__USE_UNIX98].
6143         * conform/data/termios.h-data (tcgetsid): Do not expect for
6144         [XPG3].
6145         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6146         variable.
6147         (test-xfail-XPG4/termios.h/conform): Likewise.
6149 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6151         Do not use mcheck in localedef.
6152         * locale/programs/localedef.c (turn_on_mcheck)
6153         (__malloc_initialize_hook): Remove.
6155 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6157         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6158         * sysdeps/s390/s390-64/Makefile: Likewise.
6160 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6162         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6163         Remove ifunc-defines.sym.
6164         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6165         Likewise.
6166         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6167         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6168         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6169         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6170         rtld-global-offsets.sym.
6171         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6172         * sysdeps/x86/cpu-features-offsets.sym: This.
6173         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6174         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6176 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6178         [BZ #20073]
6179         * io/sys/stat.h (fchmod): Declare for
6180         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6181         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6182         variable.
6184         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6185         [XPG3] (S_IFSOCK): Likewise.
6186         [XPG3] (S_ISVTX): Likewise.
6187         [XPG3] (S_ISLNK): Likewise.
6188         [XPG3] (S_ISSOCK): Likewise.
6189         [XPG3] (fchmod): Likewise.
6190         [XPG3] (lstat): Likewise.
6191         [XPG3] (mknod): Likewise.
6193         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6194         [XPG3].  Expect type long and XFAIL for [XPG4].
6195         (st_blocks): Likewise.
6197         [BZ #20044]
6198         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6199         (pthread_atfork): New prototype.
6200         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6201         variable.
6203         [BZ #20043]
6204         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6205         prototype.
6207 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6209         [BZ #20017]
6210         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6211         gmtime.
6213 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6215         [BZ #19994]
6216         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6217         flag in _res.options.
6219 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6221         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6222         [XPG3 || XPG4].
6223         (blksize_t): Likewise.
6224         (clockid_t): Likewise.
6225         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6226         variable.
6227         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6229 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6231         * sysdeps/unix/sysv/linux/s390/init-first.c:
6232         Add VDSO_SYMBOL(getcpu).
6233         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6234         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6235         Add VDSO_SYMBOL(getcpu).
6236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6237         New define HAVE_GETCPU_VSYSCALL.
6238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6240 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6242         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6243         instead of <sysdeps/x86_64/cacheinfo.c>.
6244         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6245         * sysdeps/x86/cacheinfo.c: Here.
6247 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6249         * malloc/malloc-internal.h: Adjust header file guard.
6251 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6253         [BZ #19787]
6254         * inet/getnameinfo.c (check_sprintf_result): New function.
6255         (CHECKED_SNPRINTF): New macro.
6256         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6257         to the host buffer.
6258         (gni_host_local): Use checked_copy to copy the host name.
6259         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6260         (gni_serv_local): Use checked_copy to copy the service name.
6261         (getnameinfo): Remove unnecessary truncation of result buffers.
6263 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6265         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6266         in case of inet_ntop failure.
6268 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6270         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6271         avoid long lines.
6272         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6273         variables.
6274         (gni_host_inet, gni_host_local): Add comment.
6275         (gni_host): Add comment.  Use temporary to avoid long lines.
6277 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6279         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6280         registers specifiers where general purpose registers specifiers should
6281         have been used.
6283 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6285         [BZ #19779]
6286         CVE-2016-1234
6287         Avoid copying names of directory entries.
6288         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6289         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6290         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6291         (struct readdir_result): New type.
6292         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6293         (GL_READDIR): New macros.
6294         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6295         (convert_dirent, convert_dirent64): New functions.
6296         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6297         convert_dirent64.  Adjust references to the readdir result.
6298         * sysdeps/unix/sysv/linux/i386/glob64.c:
6299         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6300         * posix/bug-glob2.c (LONG_NAME): Define.
6301         (filesystem): Add LONG_NAME.
6302         (my_DIR): Increase the size of room_for_dirent.
6304 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6306         [BZ #20041]
6307         * misc/sys/select.h (__need_timespec): Only define if
6308         [__USE_XOPEN2K].
6309         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6310         variable.
6311         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6312         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6313         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6315 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6316             Segher Boessenkool  <segher@gcc.gnu.org>
6318         [BZ #20004]
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6320         (__novec_swapcontext): Add missing load.
6322 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6324         [BZ #20023]
6325         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6326         <time.h>.
6327         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6328         variable.
6329         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6331 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6334         flags CLONE_VM compare.
6336 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6338         [BZ #20031]
6339         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6340         completely empty.
6342 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6344         [BZ #19573]
6345         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6346         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6347         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6348         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6349         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6350         (hesiod_free_list): Mark as hidden.
6351         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6352         res_set, res_get.
6353         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6354         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6355         (hesiod_init): Remove obsolete res_ninit call.
6356         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6357         (hesiod_bind): Do not call init.
6358         (get_txt_records): Use res_mkquery, res_send instead of
6359         res_nmkquery, res_nsend.
6360         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6361         instead of _nss_hesiod_init.
6362         (_nss_hesiod_initgroups_dyn): Likewise.
6363         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6364         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6365         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6367 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6369         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6370         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6372 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6374         * hesiod/hesiod.h: Remove RCS keyword.
6375         * hesiod/hesiod_p.h: Likewise.
6377         * hesiod/hesiod.c: Likewise.
6379 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6381         [BZ #12450]
6382         * locale/iso-639.def: Add Samogitian/sgs.
6384 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6386         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6388         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6390 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6391             Carlos O'Donell  <carlos@redhat.com>
6393         [BZ #19072]
6394         * grp/Makefile (headers): Add grp-merge.h
6395         (routines): Add grp-merge.
6396         * grp/getgrgid_r.c: Include grp-merge.h.
6397         (DEEPCOPY_FN): Define.
6398         (MERGE_FN): Define.
6399         * grp/getgrname_r.c: Include grp-merge.h.
6400         (DEEPCOPY_FN): Define.
6401         (MERGE_FN): Define.
6402         * grp/grp-merge.c: New file.
6403         * grp/grp-merge.h: New file.
6404         * include/grp-merge.h: New file.
6405         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6406         __copy_grp@GLIBC_PRIVATE.
6407         * manual/nss.texi (Actions in the NSS configuration): Describe
6408         return, continue, and merge.
6409         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6410         (DEEPCOPY_FN): Define.
6411         (MERGE_FN): Define.
6412         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6413         (DEEPCOPY_FN): Define.
6414         (MERGE_FN): Define.
6415         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6416         [!MERGE_FN]: Define __merge_einval.
6417         (CHECK_MERGE): Define.
6418         (REENTRANT_NAME): Process merge if do_merge is true.
6419         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6420         (__nss_getent_r): Likewise.
6421         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6422         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6424 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6426         [BZ #20012]
6427         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6428         length to calculate the buffer to read.
6429         (fmemopen_write): Set the buffer position based on bytes written.
6430         (fmemopen_seek): Return EINVAL for invalid whence modes.
6432         [BZ #19957]
6433         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6434         tst-getpid2.
6435         (test): Add tst-clone2.
6436         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6437         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6438         pid/tid fields for CLONE_VM.
6439         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6440         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6441         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6442         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6443         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6444         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6445         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6446         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6452         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6453         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6454         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6455         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6456         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6457         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6458         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6460 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6462         [BZ #19642]
6463         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6464         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6465         (gni_serv_local, gni_serv): New functions extracted from
6466         getnameinfo.
6467         (getnameinfo): Call gni_host and gni_serv to perform the
6468         processing.  Always free scratch buffer.
6470 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6472         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6473         remaining bytes in the dest string, with zeros.
6475 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6477         [BZ #20010]
6478         CVE-2016-3706
6479         * sysdeps/posix/getaddrinfo.c
6480         (convert_hostent_to_gaih_addrtuple): New function.
6481         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6482         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6483         AF_INET data.
6485 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6487         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6488         callback function gl_readdir.
6489         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6490         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6491         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6492         memcpy to copy the name.
6493         * manual/pattern.texi (Calling Glob): Document requirements for
6494         implementations of the gl_readdir callback function.
6495         * manual/examples/mkdirent.c: New example.
6496         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6497         per the manual guidance.
6498         * posix/tst-gnuglob.c (my_readdir): Likewise.
6500 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6502         [BZ #20014]
6503         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6504         not [__USE_POSIX].
6505         (getchar_unlocked): Likewise.
6506         (putc_unlocked): Likewise.
6507         (putchar_unlocked): Likewise.
6508         (flockfile): Likewise.
6509         (ftrylockfile): Likewise.
6510         (funlockfile): Likewise.
6511         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6512         variable.
6513         (test-xfail-XPG4/stdio.h/conform): Likewise.
6515         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6516         Expect constant.
6517         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6518         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6519         variable.
6520         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6521         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6523         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6524         [__USE_LARGEFILE64] (off64_t): Likewise.
6525         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6526         variable.
6528 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6530         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6532 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6534         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6535         * resolv/res_init.c: Likewise.
6536         * resolv/res_mkquery.c: Likewise.
6538 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6540         * resolv/res_init.c (isascii): Do not define.  Use definition in
6541         <ctype.h>.
6542         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6543         (LOG_AUTH): Remove.
6544         (SPRINTF): Remove, adjust caller.
6545         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6547 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6549         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6550         SUNSECURITY conditional.
6551         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6553 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6555         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6556         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6557         Remove BSD-related preprocessor conditionals.
6558         * conf/portability.h: Remove.
6560 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6562         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6563         * resolv/res_data.c: Likewise.
6565 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6567         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6568         * resolv/res_data.c: Remove code conditional on ultrix.
6570 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6572         * resolv/res_init.c (RFC1535): Do not define.  Remove
6573         RFC1535 preprocessor conditionals.
6574         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6575         because there configuration options which make the resolver
6576         behavior different.
6578 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6580         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6581         RESOLVSORT preprocessor conditionals.
6582         * resolv/nss_dns/dns-host.c: Likewise.
6583         * resolv/res_init.c: Likewise.
6585 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6587         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6588         is never defined.
6590 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6592         * inet/inet_lnaof.c: Remove SCSS keyword.
6593         * inet/inet_mkadr.c: Likewise.
6594         * inet/inet_net.c: Likewise.
6595         * inet/inet_netof.c: Likewise.
6596         * inet/rcmd.c: Likewise.
6597         * inet/rexec.c: Likewise.
6598         * inet/ruserpass.c: Likewise.
6600 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6602         * resolv/inet_addr.c: Remove _LIBC conditionals.
6603         * resolv/res_data.c: Likewise.
6604         * resolv/res_init.c: Likewise.
6605         * resolv/res_mkquery.c: Likewise.
6606         * resolv/res_libc.c: Update comment.
6607         * resolv/README: Update.
6609 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6611         * resolv/gethnamaddr.c: Remove SCSS keyword.
6612         * resolv/herror.c: Likewise.
6613         * resolv/inet_addr.c: Likewise.
6614         * resolv/inet_net_ntop.c: Likewise.
6615         * resolv/inet_net_pton.c: Likewise.
6616         * resolv/inet_neta.c: Likewise.
6617         * resolv/inet_ntop.c: Likewise.
6618         * resolv/inet_pton.c: Likewise.
6619         * resolv/ns_date.c: Remove RCS keyword.
6620         * resolv/ns_name.c: Likewise.
6621         * resolv/ns_netint.c: Likewise.
6622         * resolv/ns_parse.c: Likewise.
6623         * resolv/ns_print.c: Likewise.
6624         * resolv/ns_samedomain.c: Likewise.
6625         * resolv/ns_ttl.c: Likewise.
6626         * resolv/nsap_addr.c: Likewise.
6627         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6628         * resolv/res_data.c: Remove RCS keyword.
6629         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6630         * resolv/res_init.c: Likewise.
6631         * resolv/res_mkquery.c: Likewise.
6632         * resolv/res_query.c: Likewise.
6633         * resolv/res_send.c: Likewise.
6635 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6637         * conform/data/stdio.h-data (fdopen): Expect also for
6638         [XPG3 || XPG4].
6640         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6641         (fseeko): Likewise.
6642         (ftello): Likewise.
6643         (ftrylockfile): Likewise.
6644         (funlockfile): Likewise.
6645         (getc_unlocked): Likewise.
6646         (getchar_unlocked): Likewise.
6647         (putc_unlocked): Likewise.
6648         (putchar_unlocked): Likewise.
6650 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6652         [BZ #19868]
6653         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6654         DNS packet syntax checks (which were not needed before).  Skip
6655         over non-PTR records.
6657 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6659         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6660         definition.  Include <stddef.h> instead.
6662 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6664         [BZ #19831]
6665         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6666         function.
6667         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6668         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6670 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6672         [BZ #19862]
6673         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6674         (getanswer_r): Do not call syslog.
6675         (gaih_getanswer_slice): Likewise.
6676         * resolv/gethnamaddr.c (AskedForGot): Remove.
6677         (getanswer): Do not call syslog.
6678         (gethostbyaddr): Likewise.
6680 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6682         * conform/data/signal.h-data (union sigval): Expect also if
6683         [XOPEN2K].
6684         (struct sigevent): Likewise.
6685         (SIGEV_NONE): Likewise.
6686         (SIGEV_SIGNAL): Likewise.
6687         (SIGEV_THREAD): Likewise.
6688         (SIGRTMIN): Likewise.
6689         (SIGRTMAX): Likewise.
6690         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6691         variable.
6692         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6694 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6696         [BZ #19830]
6697         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6698         (gaih_getanswer_slice): Likewise.
6699         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6700         Also check for availability of RR metadata.
6702 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6704         [BZ #19825]
6705         * resolv/res_send.c (send_vc): Remove early *resplen2
6706         initialization.  Set *resplen2 on socket error.  Call
6707         close_and_return_error for other errors.
6709 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6711         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6712         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6713         (SCM_IUCV_TRGCLS): New define.
6715 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6717         [BZ #20005]
6718         * libio/fmemopen.c (fmemopen_write): Update internal position after
6719         write.
6720         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6721         * stdio-common/tst-fmemopen4.c: New file..
6723 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6725         [BZ #19996]
6726         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6727         not [__USE_XOPEN2K].
6728         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6729         variable.
6731         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6732         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6733         variable.
6735         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6736         [__USE_XOPEN2K8].
6737         [__USE_LARGEFILE64] (off64_t): Likewise.
6738         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6739         variable.
6741 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6743         [BZ #19989]
6744         * libio/stdio.h (cuserid): Do not declare if
6745         [__USE_XOPEN2K && !__USE_GNU].
6746         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6747         variable.
6749 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6751         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6752         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6754         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6755         ifunc'ed strcspn.
6756         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6757         [EALIGN]: Removed.
6758         [END]: Likewise
6759         [STRSPN]: Define instead of the above to control symbol name.
6760         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6761         New file.
6762         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6763         Likewise.
6764         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6765         Likewise.
6766         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6767         Likewise.
6768         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6769         [INITIAL_MASK]: New macro.
6770         [STRCSPN]: Likewise.
6771         [UPDATE_MASK]: Likewise.
6772         [USE_AS_STRCSPN]: Lisewise.
6774 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6776         [BZ #19931]
6777         * stdio-common/tst-vfprintf-width-prec.c: New file.
6778         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6779         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6780         (generated): Add mtrace-related files.
6781         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6782         (tst-%-mem.out): New pattern rule, replaces
6783         tst-printf-bz18872-mem.out.
6784         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6785         specifier, deallocate any previously allocated work buffer.
6787 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6789         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6790         Add nop before __startcontext, add explaining comments.
6792 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6794         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6795         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6796         completely different API.
6798         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6799         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6800         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6801         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6802         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6803         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6804         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6805         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6806         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6807         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6809 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6811         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6813 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6815         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6816         when it is the default of 0.
6818 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6820         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6821         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6822         (sysdep_routines): Add new strcasestr targets.
6823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6824         (__libc_ifunc_impl_list): Likewise.
6825         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6826         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6827         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6828         * sysdeps/powerpc/powerpc64/power8/Makefile:
6829         New file to add strcasestr-ppc64 to sysdep_routines.
6830         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6831         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6833 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6835         * benchtests/Makefile (wcsmbs-benchset): Include only for
6836         native builds and runs.
6837         (LOCALES): Likewise.
6838         (bench-build): Build timing-type here instead of the bench
6839         target.  Generate locale only for native builds.
6840         * benchtests/README: Add note for cross-building.
6842         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6844         * benchtests/README: Update README to include instructions on
6845         using bench-build.
6847         * Makefile.in (bench-build): New target.
6848         * Rules (PHONY): Add bench-build target.
6849         * benchtests/Makefile (bench): Depend on bench-build.
6850         (bench-build): New target.
6852 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6854         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6855         profil_reply_port.
6856         (profile_waiter): Do not initialize profil_reply_port.
6857         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6858         frequency instead of tick length in us.
6860 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6862         [BZ #18712]
6863         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6864         (__old_mempcpy_small): Likewise.
6865         (__old_strcpy_small): Likewise.
6866         (__old_stpcpy_small): Likewise.
6867         (__old_strpbrk_c2): Fix compat symbol name.
6868         (__old_strpbrk_c3): Likewise.
6869         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6870         (__mempcpy_small): Remove.
6871         (__strcpy_small): Remove.
6872         (__stpcpy_small): Remove.
6874 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6876         [BZ #19400]
6877         * locale/iso-639.def: Add the Talossan/tzl language.
6879 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6881         [BZ #16983]
6882         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6883         comment.  Add "ln" to strchr check on postal_fmt.
6885 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6887         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6888         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6889         tel_dom_fmt.
6891 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6893         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6894         (sysdep_routines): Added __strlen_power8.
6895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6896         __strlen_power8 entry.
6897         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6898         Implementation for POWER8.
6899         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6900         for __strlen_power8.
6901         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6902         Implementation for POWER8.
6904 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6906         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6908 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6910         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6911         Goldmont and Airmont processors.
6913 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6915         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6916         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6917         (__STRING2_SMALL_GET32): Remove.
6918         (memset): Remove.
6919         (__memset_1): Remove.
6920         (__memset_gc): Remove.
6921         (__mempcpy): Remove.
6922         (mempcpy): Remove.
6923         (__mempcpy_args): Remove.
6924         (strchr): Remove.
6925         (strcpy): Remove.
6926         (strcpy_args): Remove.
6927         (__stpcpy_args): Remove.
6928         (__strcmp_cc): Remove.
6929         (__strcmp_gc): Remove.
6930         (strstr): Remove.
6932 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6934         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6935         * nis/nis_call.c (nis_server_cache_add): Likewise.
6937 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6939         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6941 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6943         * malloc/arena.c (__malloc_fork_lock_parent)
6944         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6945         internal_function attribute.
6947 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6949         * stdio-common/printf_fp.c (__printf_fp_l):
6950         Rename ___printf_fp_l to __printf_fp_l and
6951         remove strong alias. Use libc_hidden_def instead
6952         of ldbl_hidden_def macro.
6954 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6956         Remove malloc hooks from fork handler.  They are no longer needed
6957         because malloc runs right before fork, and no malloc calls from
6958         other fork handlers are not possible anymore.
6959         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6960         declarations.
6961         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6962         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6963         (atfork_recursive_cntr): Remove.
6964         (__malloc_fork_lock_parent): Do not override malloc hooks and
6965         thread_arena.
6966         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6967         thread_arena.
6968         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6969         thread_arena instead of save_arena.
6971 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6973         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6974         (thread_atfork, thread_atfork_static): Remove.
6975         * sysdeps/mach/hurd/malloc-machine.h:
6976         (thread_atfork, thread_atfork_static): Remove.
6978 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6980         [BZ #19431]
6981         Run the malloc fork handler as late as possible to avoid deadlocks.
6982         * malloc/malloc-internal.h: New file.
6983         * malloc/malloc.c: Include it.
6984         * malloc/arena.c (ATFORK_MEM): Remove.
6985         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6986         Update comment.
6987         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6988         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6989         Remove outdated comment.
6990         (ptmalloc_init): Do not call thread_atfork.  Remove
6991         thread_atfork_static.
6992         * malloc/tst-malloc-fork-deadlock.c: New file.
6993         * Makefile (tests): Add tst-malloc-fork-deadlock.
6994         (tst-malloc-fork-deadlock): Link against libpthread.
6995         * manual/memory.texi (Aligned Memory Blocks): Update safety
6996         annotation comments.
6997         * sysdeps/nptl/fork.c (__libc_fork): Call
6998         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6999         __malloc_fork_unlock_child.
7000         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7002 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7004         [BZ #19613]
7005         Remove union wait.
7006         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7007         (w_stopsig, w_stopval): Remove.
7008         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7009         stat_loc argument.
7010         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7011         (__WAIT_STATUS_DEFN): Remove.
7012         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7013         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7014         (wait, wait3, wait4): Use int * for the stat_loc argument.
7015         * posix/wait.c (__wait): Likewise.
7016         * posix/wait3.c (__wait3): Likewise.
7017         * posix/wait4.c (__wait4): Likewise.
7018         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7019         (__WAIT_STATUS_DEFN): Remove.
7020         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7021         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7022         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7023         argument.
7024         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7025         * sysdeps/posix/wait3.c (__wait3): Likewise.
7026         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7027         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7028         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7029         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7030         stat_loc argument.
7031         * manual/process.texi (BSD Wait Functions): Remove union wait.
7033 2016-04-13  Andreas Schwab  <schwab@suse.de>
7035         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7036         (test-extras): Add tst-tlsalign-vars.
7037         * math/Makefile: Wrap long lines.
7038         (libm-vec-test-wrappers): Define.
7039         (test-extras): Add $(libm-vec-test-wrappers).
7040         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7041         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7042         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7043         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7044         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7045         (extra-test-objs): Add corresponding objects.
7047 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7049         [BZ #19928]
7050         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7051         New.
7052         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7053         times of shared cache size.
7054         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7055         (VMOVNT): New.
7056         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7057         (VMOVNT): Likewise.
7058         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7059         (VMOVNT): Likewise.
7060         (VMOVU): Changed to movups for smaller code sizes.
7061         (VMOVA): Changed to movaps for smaller code sizes.
7062         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7063         comments.
7064         (PREFETCH): New.
7065         (PREFETCH_SIZE): Likewise.
7066         (PREFETCHED_LOAD_SIZE): Likewise.
7067         (PREFETCH_ONE_SET): Likewise.
7068         Rewrite to use forward and backward loops, which move 4 vector
7069         registers at a time, to support overlapping addresses and use
7070         non temporal store if size is above the threshold and there is
7071         no overlap between destination and source.
7073 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7075         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7076         Include dl-vdso.
7077         * sysdeps/unix/sysv/linux/mips/Versions: Add
7078         __vdso_clock_gettime.
7079         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7080         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7081         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7082         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7083         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7084         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7085         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7086         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7087         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7089 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7091         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7092         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7095         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7096         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7099         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7101         syscalls generation.
7102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7103         [__NR_pwrite64] (__NR_write): Remove define.
7104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7105         [__NR_pwrite64] (__NR_write): Remove define.
7106         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7107         Remove define.
7108         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7109         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7110         Remove define.
7111         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7112         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7113         Linux implementation as base.
7114         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7116         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7117         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7122         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7124         syscall generation.
7125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7126         [__NR_pread64] (__NR_pread): Remove define.
7127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7128         [__NR_pread64] (__NR_pread): Likewise.
7129         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7130         define.
7131         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7132         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7133         Remove define.
7134         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7135         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7136         Linux implementation as base.
7137         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7138         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7139         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7141         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7142         definition.
7143         (__ALIGNMENT_COUNT): Likewise.
7144         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7145         (__ALIGNMENT_COUNT): Likewise.
7146         (SYSCALL_LL): New define.
7147         (SYSCALL_LL64): Likewise.
7148         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7149         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7150         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7151         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7153         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7154         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7156         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7157         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7158         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7160 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7162         [BZ #19865]
7163         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7164         original buffer before retry.
7166 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7168         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7169         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7170         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7171         GLRO(dl_auxv) list.
7172         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7173         including <ldsodefs.h>.
7174         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7176 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7178         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7179         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7180         $(CPPFLAGS).
7182 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7184         [BZ #17950]
7185         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7186         Add -mfpmath=387.
7188 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7190         * sysdeps/i386/configure.ac: Change == to = when calling test.
7191         * sysdeps/x86_64/configure.ac: Likewise.
7192         * sysdeps/i386/configure: Regenerated.
7193         * sysdeps/x86_64/configure: Likewise.
7195 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7197         [BZ #16137]
7198         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7199         * benchtests/bench-strcoll.c (input_files): Likewise.
7200         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7201         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7202         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7204 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7206         [BZ #19929]
7207         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7208         [__USE_XOPEN2K8 && !__USE_GNU].
7209         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7210         variable.
7212         [BZ #19925]
7213         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7214         define if [!__USE_MISC && __USE_XOPEN2K].
7215         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7216         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7217         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7218         Likewise.
7219         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7220         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7221         variable.
7222         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7224 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7226         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7227         (sysdep_routines): Add new strspn targets.
7228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7229         (__libc_ifunc_impl_list): Add strspn.
7230         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7231         New file.
7232         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7233         Likewise.
7234         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7235         Likewise.
7236         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7237         Likewise.
7239 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7241         * misc/hsearch_r.c: Include <limits.h>.
7243 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7245         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7247 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7249         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7250         (MEMCPY_SYMBOL): New.
7251         (MEMPCPY_SYMBOL): Likewise.
7252         (MEMMOVE_CHK_SYMBOL): Likewise.
7253         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7254         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7255         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7256         Provide alias for memcpy in libc.a and ld.so.
7258 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7260         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7261         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7262         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7263         Disabled fro now.
7264         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7265         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7267 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7269         * benchtests/Makefile (string-benchset): Add memcpy-large,
7270         memmove-large and memset-large.
7271         * benchtests/bench-memcpy-large.c: New file.
7272         * benchtests/bench-memmove-large.c: Likewise.
7273         * benchtests/bench-memmove-large.c: Likewise.
7274         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7276 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7278         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7279         32-bit displacement to avoid long nop between instructions.
7281 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7283         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7284         a comment on VMOVU and VMOVA.
7286 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7288         [BZ #19633]
7289         Use specified locale for number formatting in strfmon_l.
7290         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7291         (__nl_lookup_word): New inline functions.
7292         * include/printf.h (__print_fp_l): Declare.
7293         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7294         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7295         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7296         (___printf_fp): New function.
7297         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7298         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7299         * stdlib/tst-strfmon_l.c (do_test): New test.
7300         * stdlib/Makefile (tests): Add kt.
7301         (LOCALES): Build additional locales.
7302         (tst-strfmon_l.out): Require locales.
7304 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7306         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7307         if not in libc.
7308         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7309         Likewise.
7310         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7311         Likewise.
7312         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7313         Likewise.
7315 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7317         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7318         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7319         with unaligned_erms.
7320         (__memmove_erms): Skip if source == destination.
7321         (__memmove_unaligned_erms): Don't check source == destination
7322         first.
7324 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7326         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7327         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7329 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7331         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7332         * string/strspn.c (strspn): Likewise.
7334 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7336         * benchtests/bench-memset.c (do_test): Support 64-byte
7337         alignment.
7338         (test_main): Test 64-byte alignment.
7340 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7342         * benchtests/bench-memmove.c (test_main): Test 64-byte
7343         alignment.
7345 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7347         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7349 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7351         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7352         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7353         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7355         * string/strpbrk.c (strpbrk): Rewrite function.
7356         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7357         (__strpbrk_c2): Likewise.
7358         (__strpbrk_c3): Likewise.
7359         * string/string-inlines.c
7360         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7361         Likewise.
7362         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7363         Likewise.
7365         * string/strspn.c (strcspn): Rewrite function.
7366         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7367         (__strspn_c1): Remove inline function.
7368         (__strspn_c2): Likewise.
7369         (__strspn_c3): Likewise.
7370         * string/string-inlines.c
7371         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7372         compatibility symbol.
7373         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7374         Likewise.
7375         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7376         Likewise.
7377         * string/string-inlines.c: Include generic version.
7379 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7380             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7382         * string/Version (libc): Add GLIBC_2.24.
7383         * string/strcspn.c (strcspn): Rewrite function.
7384         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7385         (__strcspn_c1): Remove inline function.
7386         (__strcspn_c2): Likewise.
7387         (__strcspn_c3): Likewise.
7388         * string/string-inline.c
7389         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7390         compatibility symbol.
7391         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7392         Likewise.
7393         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7394         Likewise.
7395         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7397 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7399         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7400         Use ahi instead of aghi to adjust stack pointer.
7402 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7404         [BZ #19853]
7405         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7406         TEST to take significant digits as second parameter.
7407         [TEST]: Redefine in terms of TEST_N taking 30
7408         significant digits.
7409         (do_test): Add test case to demonstrate precision
7410         failure in the ldbl-128ibm printf.
7411         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7412         (__mpn_extract_long_double): Carry 7 extra intermediate
7413         bits of precision to aide computing difference when
7414         signs differ.
7416 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7418         [BZ #19881]
7419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7420         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7421         memset-avx512-unaligned-erms.
7422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7423         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7424         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7425         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7426         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7427         __memset_sse2_unaligned_erms, __memset_erms,
7428         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7429         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7430         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7431         file.
7432         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7433         Likewise.
7434         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7435         Likewise.
7436         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7437         Likewise.
7439 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7441         [BZ #19776]
7442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7443         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7444         memmove-avx512-unaligned-erms.
7445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7446         (__libc_ifunc_impl_list): Test
7447         __memmove_chk_avx512_unaligned_2,
7448         __memmove_chk_avx512_unaligned_erms,
7449         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7450         __memmove_chk_sse2_unaligned_2,
7451         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7452         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7453         __memmove_avx512_unaligned_erms, __memmove_erms,
7454         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7455         __memcpy_chk_avx512_unaligned_2,
7456         __memcpy_chk_avx512_unaligned_erms,
7457         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7458         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7459         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7460         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7461         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7462         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7463         __mempcpy_chk_avx512_unaligned_erms,
7464         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7465         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7466         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7467         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7468         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7469         __mempcpy_erms.
7470         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7471         file.
7472         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7473         Likwise.
7474         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7475         Likwise.
7476         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7477         Likwise.
7479 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7481         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7482         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7483         (La_s390_64_regs): Likewise.
7484         (La_s390_32_retval): Append vector register lrv_v24.
7485         (La_s390_64_retval): Likeweise.
7486         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7487         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7488         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7489         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7491 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7493         [BZ #19916]
7494         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7495         to create a non-vector/vector version for _dl_runtime_resolve and
7496         _dl_runtime_profile. Move implementation to ...
7497         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7498         (_dl_runtime_resolve) Save and restore fpr/vrs.
7499         (_dl_runtime_profile) Save and restore vrs and fix some issues
7500         if _dl_call_pltexit is called.
7501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7502         Choose the correct resolver function if running on a machine with vx.
7503         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7504         to create a non-vector/vector version for _dl_runtime_resolve and
7505         _dl_runtime_profile. Move implementation to ...
7506         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7507         (_dl_runtime_resolve) Save and restore fpr/vrs.
7508         (_dl_runtime_profile) Save and restore vrs and fix some issues
7509         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7510         Choose the correct resolver function if running on a machine with vx.
7512 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7514         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7516 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7518         [BZ #19509]
7519         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7520         skip_map != NULL.
7521         * elf/tst-dlsym-error.c: New file.
7522         * elf/Makefile (tests): Add tst-dlsym-error.
7523         (tst-dlsym-error): Link against libdl.
7525 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7527         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7528         (__ASSUME_FUTIMESAT): Remove macro.
7529         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7531 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7533         [BZ #19879]
7534         CVE-2016-3075
7535         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7536         copy name.
7538 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7540         [BZ #19837]
7541         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7542         error if parse_line fails.
7544 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7546         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7547         (index_cpu_ERMS): Likewise.
7548         (reg_ERMS): Likewise.
7550 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7552         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7553         PER_LINUX_FDPIC): Add.
7555 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7558         memcpy-avx512-no-vzeroupper.
7559         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7560         to ...
7561         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7562         (MEMCPY): Don't define.
7563         (MEMCPY_CHK): Likewise.
7564         (MEMPCPY): Likewise.
7565         (MEMPCPY_CHK): Likewise.
7566         (MEMPCPY_CHK): Renamed to ...
7567         (__mempcpy_chk_avx512_no_vzeroupper): This.
7568         (MEMPCPY_CHK): Renamed to ...
7569         (__mempcpy_chk_avx512_no_vzeroupper): This.
7570         (MEMCPY_CHK): Renamed to ...
7571         (__memmove_chk_avx512_no_vzeroupper): This.
7572         (MEMCPY): Renamed to ...
7573         (__memmove_avx512_no_vzeroupper): This.
7574         (__memcpy_avx512_no_vzeroupper): New alias.
7575         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7577 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7579         [BZ #18858]
7580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7581         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7582         and mempcpy-avx512-no-vzeroupper.
7583         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7584         New.
7585         (MEMPCPY): Likewise.
7586         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7587         (MEMPCPY_CHK): New.
7588         (MEMPCPY): Likewise.
7589         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7590         (MEMPCPY): Likewise.
7591         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7592         (MEMPCPY): Likewise.
7593         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7594         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7595         Likewise.
7596         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7597         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7599 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7600              Amit Pawar  <Amit.Pawar@amd.com>
7602         [BZ #19583]
7603         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7604         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7605         processors.  Set Fast_Copy_Backward for AMD Excavator
7606         processors.
7607         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7608         New.
7609         (index_arch_Fast_Unaligned_Copy): Likewise.
7610         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7611         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7613 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7615         [BZ #19791]
7616         * resolv/res_send.c (close_and_return_error): New function.
7617         (send_dg): Initialize *resplen2 after reopen failure.  Call
7618         close_and_return_error for error returns.  On error paths without
7619         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7620         successful return.
7622 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7624         [BZ# 19860]
7625         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7626         zero if the compiler does not provide the AVX512F bit.
7628 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7630         [BZ #19848]
7631         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7632         from 8 to 4.
7633         (__ieee754_powl): Compare integer exponent against 4 not 8.
7634         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7635         from 8 to 4.
7636         (__ieee754_powl): Compare integer exponent against 4 not 8.
7637         * math/auto-libm-test-in: Add more tests of pow.
7638         * math/auto-libm-test-out: Regenerated.
7639         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7642 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7644         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7645         Make code unconditional.
7646         [!__NR_utimensat]: Remove conditional code.
7647         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7648         Make code unconditional.
7649         [!__NR_utimensat]: Remove conditional code.
7650         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7651         Make code unconditional.
7652         [!__NR_utimensat]: Remove conditional code.
7654 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7656         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7657         Make code unconditional.
7659 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7661         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7662         call-clobbered %eax on retry path.
7663         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7665 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7667         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7668         Don't set %rcx twice before "rep movsb".
7670 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7672         [BZ #19583]
7673         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7674         inline.  Check family before setting family, model and
7675         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7676         bits here.
7677         (init_cpu_features): Replace HAS_CPU_FEATURE and
7678         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7679         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7680         for Intel processors with usable AVX2.  Call get_common_indeces
7681         for other processors with family == NULL.
7682         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7683         (CPU_FEATURES_ARCH_P): Likewise.
7684         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7685         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7687 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7689         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7690         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7691         $(shared-thread-library) instead of hardcoding the path to libpthread.
7693 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7695         * sysdeps/unix/sysv/linux/kernel-features.h
7696         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7697         * sysdeps/unix/sysv/linux/getdents.c
7698         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7699         [!have_no_getdents64_defined]: Likewise.
7700         (__GETDENTS): Remove __have_no_getdents64 conditional.
7702 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7705         Remove macro.
7706         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7707         <kernel-features.h>.
7708         (signalfd) [__NR_signalfd4]: Make code unconditional.
7709         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7711 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7713         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7714         style.
7716 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7718         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7719         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7720         __pthread_unwind.
7721         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7722         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7724         (__condvar_cleanup1): Likewise.
7726 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7728         [BZ #19822]
7729         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7730         move it to the final $@ location.
7732 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7734         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7735         access where posix_spawn success and pid argument is null.
7736         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7737         success case.
7739 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7741         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7743         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7745         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7746         and __fcntl.
7747         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7748         __fcntl only.
7749         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7750         adding attribute_hidden to __open and __fcntl.
7752         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7753         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7754         depend on libc-modules.h,
7755         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7757 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7760         Remove macro.
7761         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7762         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7763         entry.
7765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7766         Remove macro.
7767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7768         include <kernel-features.h>.
7769         [!__ASSUME_FALLOCATE]: Remove conditional code.
7770         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7772 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7774         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7775         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7776         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7777         (_ZGVdN4v_cos_avx2): Likewise.
7778         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7779         (_ZGVdN4v_cos): Likewise.
7780         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7781         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7782         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7783         (_ZGVdN4v_exp_avx2): Likewise.
7784         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7785         (_ZGVdN4v_exp): Likewise.
7786         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7787         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7788         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7789         (_ZGVdN4v_log_avx2): Likewise.
7790         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7791         (_ZGVdN4v_log): Likewise.
7792         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7793         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7794         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7795         (_ZGVdN4vv_pow_avx2): Likewise.
7796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7797         (_ZGVdN4vv_pow): Likewise.
7798         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7799         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7801         (_ZGVdN4v_sin_avx2): Likewise.
7802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7803         (_ZGVdN4v_sin): Likewise.
7804         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7805         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7807         (_ZGVdN4vvv_sincos_avx2): Likewise.
7808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7809         (_ZGVdN4vvv_sincos): Likewise.
7810         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7811         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7812         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7813         (_ZGVbN4v_cosf_sse4): Likewise.
7814         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7815         (_ZGVdN8v_cosf_avx2): Likewise.
7816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7817         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7818         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7819         (_ZGVbN4v_expf_sse4): Likewise.
7820         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7821         (_ZGVdN8v_expf_avx2): Likewise.
7822         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7823         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7824         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7825         (_ZGVbN4v_logf_sse4): Likewise.
7826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7827         (_ZGVdN8v_logf_avx2): Likewise.
7828         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7829         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7830         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7831         (_ZGVbN4vv_powf_sse4): Likewise.
7832         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7833         (_ZGVdN8vv_powf_avx2): Likewise.
7834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7835         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7836         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7837         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7839         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7841         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7842         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7843         (_ZGVbN4v_sinf_sse4): Likewise.
7844         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7845         (_ZGVdN8v_sinf_avx2): Likewise.
7846         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7847         Use JUMPTARGET to call callee.
7848         (WRAPPER_IMPL_SSE2_ff): Likewise.
7849         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7850         (WRAPPER_IMPL_AVX): Likewise.
7851         (WRAPPER_IMPL_AVX_ff): Likewise.
7852         (WRAPPER_IMPL_AVX_fFF): Likewise.
7853         (WRAPPER_IMPL_AVX512): Likewise.
7854         (WRAPPER_IMPL_AVX512_ff): Likewise.
7855         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7856         Likewise.
7857         (WRAPPER_IMPL_SSE2_ff): Likewise.
7858         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7859         (WRAPPER_IMPL_AVX): Likewise.
7860         (WRAPPER_IMPL_AVX_ff): Likewise.
7861         (WRAPPER_IMPL_AVX_fFF): Likewise.
7862         (WRAPPER_IMPL_AVX512): Likewise.
7863         (WRAPPER_IMPL_AVX512_ff): Likewise.
7864         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7866 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7868         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7869         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7870         qualifier.
7871         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7872         internal_function qualifiers.
7874 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7876         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7877         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7878         * math/atest-exp.c (exp_mpn): Mark chk unused.
7879         * math/atest-exp2.c (exp_mpn): Likwise.
7880         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7881         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7883 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7886         Remove macro.
7887         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7888         <kernel-features.h>.
7889         [__NR_ppoll]: Make code unconditional.
7890         [!__ASSUME_PPOLL]: Remove conditional code.
7892         * sysdeps/unix/sysv/linux/kernel-features.h
7893         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7894         (__ASSUME_ACCEPT4): Likewise.
7895         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7896         Define.
7897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7898         Likewise.
7899         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7900         Likewise.
7901         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7904         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7905         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7906         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7907         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7908         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7909         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7911         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7912         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7913         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7914         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7915         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7917         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7919         Likewise.
7920         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7921         Likewise.
7922         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7923         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7924         0x040300].
7925         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7926         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7928         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7929         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7930         0x030300].
7931         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7933         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7934         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7935         0x040300].
7936         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7939         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7940         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7941         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7942         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7943         0x030300].
7944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7946         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7947         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7949         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7952         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7953         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7954         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7955         0x040300].
7956         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7957         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7958         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7959         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7960         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7961         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7962         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7963         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7964         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7966         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7967         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7968         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7969         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7970         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7971         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7972         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7973         Likewise.
7974         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7975         Likewise.
7977 2016-03-15  Andreas Schwab  <schwab@suse.de>
7979         [BZ #19257]
7980         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7981         statp->_u._ext.nscount as loop count.
7983 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7985         * math/test-signgam-finite-c99.c: Also #undef
7986         __LIBC_INTERNAL_MATH_INLINES.
7987         * math/test-signgam-main.c: Likewise.
7989 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7991         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7992         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7993         (MADV_FREE): Likewise.
7994         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7995         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7996         EPOLLEXCLUSIVE.
7998 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8000         * timezone/README: Remove mention of checktab.awk. Mention wiki
8001         SharedSourceFiles.
8003 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8005         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8006         WUNTRACED.
8008 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8010         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8011         order to match the type of p when calling atomic_exchange_acq().
8013 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8015         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8016         cfi_offset calls.
8017         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8018         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8019         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8020         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8021         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8023 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8025         * timezone/checktab.awk: Removed.
8027 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8029         * manual/math.texi (Errors in Math Functions): Document relaxed
8030         accuracy goals for IBM long double.
8031         * math/libm-test.inc (test_exceptions): Always allow spurious
8032         "underflow" and "inexact" exceptions for IBM long double.
8034 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8036         [BZ #19762]
8037         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8038         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8039         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8040         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8041         (bit_arch_*): This for feature array.
8042         (bit_*): Renamed to ...
8043         (bit_cpu_*): This for cpu array.
8044         (index_*): Renamed to ...
8045         (index_arch_*): This for feature array.
8046         (index_*): Renamed to ...
8047         (index_cpu_*): This for cpu array.
8048         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8049         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8050         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8051         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8052         bit_##name with index_cpu_##name and bit_cpu_##name.
8053         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8054         bit_##name with index_arch_##name and bit_arch_##name.
8056 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8058         [BZ #19792]
8059         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8060         Terminate FDE before return label.
8062 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8064         [BZ #19790]
8065         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8066         (rintl): Define as macro.
8067         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8068         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8069         of fesetround.  Ensure results are evaluated before end of scope.
8070         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8071         USE_AS_NEARBYINTL and include s_rintl.c.
8072         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8073         Disable exception traps in new environment.
8074         (libc_feholdsetround_ppc_ctx): Likewise.
8076 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8078         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8079         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8080         (tst_audit10_aux) [__AVX512F__]: ... here.
8082 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8084         * include/sys/auxv.h: New file.
8086 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8088         [BZ #19759]
8089         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8091 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8093         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8094         operand modifier.
8095         (feclearexcept): Likewise.
8097 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8099         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8100         to reflect the entire 32-bit HWCAP.
8101         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8102         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8104 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8106         [BZ #19783]
8107         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8108         $(test-via-rtld-prefix).
8109         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8111 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8113         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8114         union wait.  Report any non-zero exit status as error.
8116 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8118         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8119         configured with --enable-hardcoded-path-in-tests.
8121 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8123         [BZ #19677]
8124         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8125         (__ieee754_remainderl): Put zero low parts in canonical form.
8126         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8127         file.  Based on
8128         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8129         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8130         with wrapper round test-fmodrem-ldbl-128ibm.c.
8131         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8132         file.
8133         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8134         Likewise.
8135         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8136         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8138 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8140         [BZ #19610]
8141         * elf/ldconfig.c (opt_link): Update comment.
8142         (options): Update help string for option -X.
8143         (search_dir): Unlink stale symbolic link only if updating symbolic
8144         links.
8145         * elf/tst-ldconfig-X.sh: New file.
8146         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8147         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8149 2016-03-07  Andreas Schwab  <schwab@suse.de>
8151         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8152         needed arguments.
8154 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8156         [BZ #15333]
8157         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8158         to lstat64.
8160 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8162         * libio/filedoalloc.c (isatty): Remove.
8163         (local_isatty): Add comment.  Call __isatty directly.
8164         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8165         * libio/wfiledoalloc.c (isatty): Remove.
8166         (_IO_wfile_doallocate): Update comment.
8168 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8170         [BZ #19269]
8171         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8172         tst-audit4-aux.o.
8173         (tst-audit10): Depend on tst-audit10-aux.o.
8174         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8175         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8176         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8177         instead of inline AVX code.
8178         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8179         instead of inline AVX512 code.
8180         * sysdeps/x86_64/tst-audit4-aux.c: New file
8181         * sysdeps/x86_64/tst-audit10-aux.c: New file
8183         [BZ #19648]
8184         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8186 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8188         [BZ #14750]
8189         [BZ #10354]
8190         [BZ #18433]
8191         * include/sched.h (__clone): Add hidden prototype.
8192         (__clone2): Likewise.
8193         * include/unistd.h (__dup): Likewise.
8194         * posix/Makefile (tests): Add tst-spawn2.
8195         * posix/tst-spawn2.c: New file.
8196         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8197         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8198         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8199         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8200         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8201         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8202         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8203         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8204         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8205         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8206         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8208         Likewise.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8210         Likewise.
8211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8212         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8213         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8214         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8215         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8216         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8217         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8218         * sysdeps/unix/sysv/linux/nptl-signals.h
8219         (____nptl_is_internal_signal): New function.
8220         * sysdeps/unix/sysv/linux/spawni.c: New file.
8222         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8223         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8224         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8225         * posix/tst-execvp2.c (do_test): Likewise.
8226         * posix/tst-execvp3.c (do_test): Likewise.
8227         * posix/tst-execvp4.c (do_test): Likewise.
8228         * posix/tst-execvpe1.c: New file.
8229         * posix/tst-execvpe2.c: Likewise.
8230         * posix/tst-execvpe3.c: Likewise.
8231         * posix/tst-execvpe4.c: Likewise.
8232         * posix/tst-execvpe5.c: Likewise.
8233         * posix/tst-execvpe6.c: Likewise.
8235         [BZ #19534]
8236         * posix/execl.c (execl): Remove dynamic memory allocation.
8237         * posix/execle.c (execle): Likewise.
8238         * posix/execlp.c (execlp): Likewise.
8240 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8242         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8243         Replace .text with .text.avx512.
8244         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8245         Likewise.
8247 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8249         * sysdeps/generic/libnsl.abilist: New file.
8250         * sysdeps/generic/libutil.abilist: New file.
8252 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8254         [BZ #19762]
8255         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8256         HAS_ARCH_FEATURE with Fast_Rep_String.
8257         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8258         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8259         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8260         Likewise.
8261         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8262         Likewise.
8263         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8264         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8265         Likewise.
8266         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8267         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8268         Likewise.
8270 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8272         [BZ #19745]
8273         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8274         with *%rax in call.
8276 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8278         [BZ #19745]
8279         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8280         with *__libc_start_main@GOTPCREL(%rip) in call.
8282 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8284         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8285         inside conditional for nonempty $(CXX).
8287         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8288         nonempty.
8290         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8291         to test for empty $(CXX) rather than $(CXX) of "no".
8293 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8295         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8297 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8298             H.J. Lu  <hongjiu.lu@intel.com>
8300         [BZ #18880]
8301         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8302         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8303         enable __memcpy_ssse3_back.
8305 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8307         [BZ #19758]
8308         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8309         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8311 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8313         [BZ #19490]
8314         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8315         (__fentry__): Likewise.
8317 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8319         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8320         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8322 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8324         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8325         __mcount_internal directly.
8326         (C_LABEL(__fentry__)): Likewise.
8327         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8328         directly.
8330 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8332         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8333         (__start_context): Call __setcontext directly.
8335 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8338         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8339         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8340         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8342         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8343         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8344         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8345         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8346         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8347         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8348         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8349         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8350         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8351         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8352         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8353         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8355         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8356         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8357         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8359         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8360         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8361         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8362         Remove conditional code.
8363         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8364         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8365         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8366         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8367         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8368         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8369         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8370         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8371         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8372         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8373         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8374         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8376 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8378         * NEWS (2.23): Fix typo in bug 19048 text.
8380 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8382         [BZ #14259]
8383         * Makeconfig: Rename msgcatdir to localedir.
8384         Rename inst_msgcatdir to inst_localedir.
8385         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8386         * config.make.in: Add localedir.
8387         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8388         (ldd-rewrite): Likewise.
8389         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8390         (install-others): Use inst_localedir.
8391         (CPPFLAGS): Use localedir.
8392         * locale/Makefile (locale-CPPFLAGS): Likewise.
8393         * po/Makefile (mo-installed): Use inst_localedir.
8395         [BZ #19575]
8396         * localedata/charmaps/GB18030: Update comments regarding PAU to
8397         non-PUA mappings.
8399 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8401         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8402         test for header.
8403         * sysdeps/unix/sysv/linux/configure: Regenerated.
8404         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8405         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8406         Remove conditional code.
8407         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8409         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8410         Define to 3.2.0.
8411         (arch_minimum_kernel): Likewise.
8412         * sysdeps/unix/sysv/linux/configure: Regenerated.
8413         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8414         Define to 2.6.32.
8415         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8416         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8417         (arch_minimum_kernel): Define to 2.6.32.
8418         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8419         * README: Document Linux 3.2 requirement.
8420         * manual/install.texi (Linux): Document Linux 3.2 headers
8421         requirement.
8422         * INSTALL: Regenerated.
8424 2016-02-24  Andreas Schwab  <schwab@suse.de>
8426         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8427         if !NO_LONG_DOUBLE.
8429 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8431         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8432         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8434 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8436         [BZ #19512]
8437         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8439 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8441         * posix/tst-dir.c: Include libc-internal.h.
8443 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8445         [BZ #19056]
8446         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8447         * manual/filesys.texi (Reading/Closing Directory): Mention
8448         deprecaion.
8449         * posix/tst-dir.c (main): Disable deprecation warning in test.
8451 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8453         [BZ #19679]
8454         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8455         Renamed to ...
8456         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8457         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8458         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8459         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8460         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8461         * sysdeps/x86_64/dl-trampoline.h
8462         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8463         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8465 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8467         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8469 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8471         * elf/elf.h (R_386_GOT32X): New.
8472         (R_386_NUM): Update.
8473         (R_X86_64_GOTPCRELX: New.
8474         (R_X86_64_REX_GOTPCRELX): New.
8475         (R_X86_64_NUM): Update.
8477 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8479         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8481 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8483         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8484         assign attr->stackaddr to it, and adjust it down when
8485         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8486         [_STACK_GROWS_UP]: Delete assert.
8487         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8488         Implement stack grows up logic.
8489         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8490         stack grows up logic.
8492 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8494         * NEWS: Update with 2.24 template.
8496 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8498         [BZ #19678]
8499         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8500         Ensure +0.0 is returned when taking the next value below the least
8501         positive value.
8503 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8505         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8506         available.  Do not define NO_THREADS.
8507         * malloc/malloc.c: Do not check NO_THREADS.
8508         * malloc/arena.c: Likewise.
8510 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8512         * malloc/malloc.c (__libc_mallinfo): Update comment.
8513         (struct malloc_par): Remove max_total_mem member, it was always 0.
8514         (int_mallinfo): Store 0 into usmblks (no functional change).
8515         * malloc/hooks.c (struct malloc_state): Document that
8516         max_total_mem is always 0.
8517         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8518         always 0.
8519         * manual/memory.texi (Statistics of Malloc): Likewise.
8521 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8523         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8524         * malloc/arena.c (arena_max): Remove.
8525         (heap_trim, _int_new_arena): Do not update arena_max.
8527 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8529         * resolv/res_init.c (res_ninit): Update comment.
8531 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8533         [BZ #19505]
8534         * posix/spawn_int.h: Add headers and include guard.
8535         (__spawn_valid_fd): New function.
8536         * posix/spawn_faction_addopen.c
8537         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8538         * posix/spawn_faction_addclose.c
8539         (posix_spawn_file_actions_addclose): Likewise.
8540         * posix/spawn_faction_adddup2.c
8541         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8542         second file descriptor.
8543         * posix/spawn_valid_fd.c: New file.
8544         * posix/tst-posix_spawn-fd.c: New file.
8545         * posix/Makefile (routines): Add spawn_valid_fd.
8546         (tests): Add tst-posix_spawn-fd.
8548 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8550         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8551         (do_test): Limit the number of arenas, so that we can use fewer
8552         outer threads.  Limit timeout to 3 seconds, in preparation for a
8553         larger TIMEOUT value.
8555 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8557         [BZ #19674]
8558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8559         sign in overflowing and underflowing results when overflow or
8560         underflow is detected early.  Include sign in result before rather
8561         than after scaling.
8563         [BZ #19603]
8564         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8565         (__ieee754_remainderl): Adjust sign of integer version of low part
8566         when taking absolute value of high part.
8567         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8568         * math/libm-test.inc (remainder_test_data): Add another test.
8569         (remquo_test_data): Likewise.
8571 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8573         [BZ #19602]
8574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8575         equal high parts and both low parts zero specially.
8576         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8577         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8578         Add test-fmodl-ldbl-128ibm.
8580         [BZ #19595]
8581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8582         common logic for all cases of shifting subnormal results.  Do not
8583         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8584         exponent to ldbl_insert_mantissa in subnormal case.
8586         [BZ #19594]
8587         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8588         on high and low parts then adjust result and use
8589         ldbl_canonicalize_int if needed.
8591         [BZ #19593]
8592         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8593         on high part and __floor or __ceil on low part then use
8594         ldbl_canonicalize_int if needed.
8596         [BZ #19592]
8597         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8598         high and low parts then use ldbl_canonicalize_int if needed.
8600         [BZ #17899]
8601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8602         New function.
8603         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8604         on high and low parts then use ldbl_canonicalize_int if needed.
8606 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8608         * configure: Regenerated.
8610         * po/libc.pot: Regenerated.
8612         * po/be.po: Updated translation.
8613         * po/bg.po: Likewise.
8614         * po/ca.po: Likewise.
8615         * po/cs.po: Likewise.
8616         * po/da.po: Likewise.
8617         * po/el.po: Likewise.
8618         * po/eo.po: Likewise.
8619         * po/es.po: Likewise.
8620         * po/fi.po: Likewise.
8621         * po/fr.po: Likewise.
8622         * po/gl.po: Likewise.
8623         * po/hr.po: Likewise.
8624         * po/hu.po: Likewise.
8625         * po/ia.po: Likewise.
8626         * po/id.po: Likewise.
8627         * po/it.po: Likewise.
8628         * po/ja.po: Likewise.
8629         * po/lt.po: Likewise.
8630         * po/nb.po: Likewise.
8631         * po/nl.po: Likewise.
8632         * po/pt_BR.po: Likewise.
8633         * po/rw.po: Likewise.
8634         * po/sk.po: Likewise.
8635         * po/sl.po: Likewise.
8636         * po/sv.po: Likewise.
8637         * po/tr.po: Likewise.
8638         * po/zh_CN.po: Likewise.
8639         * po/zh_TW.po: Likewise.
8641         * version.h (RELEAES): Set to "development".
8642         (VERSION): Set to 2.23.90.
8644         * version.h (RELEASE): Set to "stable".
8645         (VERSION): Set to 2.23.
8646         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8648         * NEWS: Updated fixed bugs.
8650 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8651             Wilco Dijkstra  <wdijkstr@arm.com>
8653         [BZ #19462]
8654         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8655         (_STRING_INLINE_unaligned): This.
8656         * include/string.h: Include <string_private.h>.
8657         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8658         _STRING_INLINE_unaligned.
8659         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8660         (_STRING_INLINE_unaligned): New.
8661         * sysdeps/aarch64/string_private.h: New file.
8662         * sysdeps/generic/string_private.h: Likewise.
8663         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8664         * sysdeps/s390/string_private.h: Likewise.
8665         * sysdeps/x86/string_private.h: Likewise.
8666         * sysdeps/m68k/m680x0/m68020/bits/string.h
8667         (_STRING_ARCH_unaligned): Renamed to ...
8668         (_STRING_INLINE_unaligned): This.
8669         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8670         to ...
8671         (_STRING_INLINE_unaligned): This.
8672         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8673         to ...
8674         (_STRING_INLINE_unaligned): This.
8675         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8676         to ...
8677         (_STRING_INLINE_unaligned): This.
8679 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8680             H.J. Lu  <hongjiu.lu@intel.com>
8682         [BZ #19590]
8683         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8684         relocation.
8686 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8688         [BZ #18665]
8689         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8690         *herrno_p.
8691         (gaih_getanswer): Document functional behviour. Return tryagain
8692         if any result is tryagain.
8693         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8694         when freed.
8695         * resolv/res_send.c: Add copyright text.
8696         (__libc_res_nsend): Document that MAXPACKET is expected.
8697         (send_vc): Document. Remove buffer reuse.
8698         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8699         size of the buffer. Add Dprint for truncated UDP buffer.
8701 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8703         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8704         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8705         * INSTALL: Regenerate.
8707 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8708             Jonathan Wakely  <jwakely@redhat.com>
8709             Carlos O'Donell  <carlos@redhat.com>
8711         [BZ 19439]
8712         * math/Makefile (tests): Add test-math-isinff.
8713         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8714         * math/bits/mathcalls.h [__USE_MISC]: Use
8715         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8716         functions not in C++11 and which don't conflict e.g. isinff,
8717         isinfl etc.
8718         * math/test-math-isinff.cc: New file.
8720 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8722         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8724 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8726         [BZ #19529]
8727         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8729 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8731         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8733 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8735         [BZ #19550]
8736         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8737         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8738         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8739         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8740         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8741         New syscall entry.
8742         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8743         New syscall entry.
8744         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8745         syscall entry.
8747 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8749         [BZ #18240]
8750         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8751         unsigned int wraparound.
8753 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8755         [BZ #18240]
8756         * misc/bug18240.c: New test.
8757         * misc/Makefile (tests): Add it.
8759 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8760             Joseph Myers  <joseph@codesourcery.com>
8762         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8763         load in branch delay slot when less than a word of input left.
8765 2016-01-27  Andreas Schwab  <schwab@suse.de>
8767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8768         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8769         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8770         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8772 2016-01-26  David S. Miller  <davem@davemloft.net>
8774         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8776 2016-01-25  David S. Miller  <davem@davemloft.net>
8778         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8779         __sqrtl_finite.
8780         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8781         instead using versioned_symbol.
8782         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8783         of entries.
8785         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8786         __sqrtl_finite to GLIBC_2.23
8788 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8790         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8792 2016-01-25  Andreas Schwab  <schwab@suse.de>
8794         [BZ #17514]
8795         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8796         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8797         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8798         * nptl/tst-mutex-errorcheck.c: New file.
8800 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8802         [BZ #18560]
8803         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8804         (IPCOP_semop): Likewise.
8805         (IPCOP_semget): Likewise.
8806         (IPCOP_semctl): Likewise.
8807         (IPCOP_msgsnd): Likewise.
8808         (IPCOP_msgrcv): Likewise.
8809         (IPCOP_msgget): Likewise.
8810         (IPCOP_msgctl): Likewise.
8811         (IPCOP_shmat): Likewise.
8812         (IPCOP_shmdt): Likewise.
8813         (IPCOP_shmget): Likewise.
8814         (IPCOP_shmctl): Likewise.
8816 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8818         * string/tst-endian.c: Include <libc-internal.h>.
8819         (do_test): Ignore tautological-compare warnings around
8820         "htobeXX (beXXtoh (i)) != i" and
8821         "htoleXX (leXXtoh (i)) != i" if-statements.
8823 2016-01-24  David S. Miller  <davem@davemloft.net>
8825         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8826         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8827         alias.
8828         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8829         __sqrtl_finite.
8831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8833 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8835         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8836         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8837         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8839 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8841         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8842         (thread_func): Use new function to simplify barrier check.
8843         (do_test): Use new function to simplify checking barrier exit
8844         code, and actually join the child thread.
8846 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8848         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8849         semicolon.
8850         (__libc_tend): Likewise.
8851         (__libc_tabort): Likewise.
8853 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8855         * sysdeps/nios2/libm-test-ulps: Update.
8856         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8857         (__gtsf2): Likewise.
8858         (__unorddf2): Likewise.
8859         (__unordsf2): Likewise.
8860         (__ledf2): Likewise.
8862 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8864         * nis/nis_table.c (__follow_path): Disable diagnostic for
8865         uninitialized variable that is a false positive for gcc 4.7.
8866         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8868 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8870         * sysdeps/nacl/lowlevellock-futex.h
8871         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8872         Always evaluate PRIVATE argument.
8874 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8876         [BZ #19490]
8877         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8878         (pthread_cond_broadcast): Use ENTRY/END
8879         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8880         (pthread_cond_signal): Likewise.
8881         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8882         Likewise.
8883         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8884         Likewise.
8885         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8886         Likewise.
8888 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8890         * sysdeps/ieee754/dbl-64/s_finite.c
8891         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8892         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8893         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8894         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8895         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8898         (__gtsf2): Add as optional for libc.so.
8899         (__unordsf2): Likewise.
8900         (__signbit): Remove for libc.so.
8901         (__signbitl): Likewise.
8903 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8905         * iconvdata/bug-iconv11.c (test_ibm93x):
8906         Use %zu printf format specifier for size_t argument.
8908 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8910         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8911         already-recorded ulps.
8912         * sysdeps/arm/libm-test-ulps: Regenerated.
8913         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8914         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8915         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8917 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8918             Paul Pluzhnikov  <ppluzhnikov@google.com>
8920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8921         assembler not supporting AVX-512.
8923 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8925         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8927 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8929         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8930         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8932         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8934         * sysdeps/arm/libm-test-ulps: Regenerated.
8936 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8938         [BZ #19451]
8939         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8941 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8943         [BZ #19486]
8944         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8945         * sysdeps/generic/fix-fp-int-convert-overflow.h
8946         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8947         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8948         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8949         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8950         Likewise.
8951         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8952         Avoid conversions to long int where inexact exceptions
8953         could be raised.
8954         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8955         Likewise.
8956         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8957         Avoid conversions to long long int where inexact exceptions
8958         could be raised.
8959         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8960         Likewise.
8962 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8964         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8965         * configure: Regenerated.
8967 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8969         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8971 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8974         outside of comment.
8976 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8978         * nptl/tst-barrier1.c: Add description on first line.
8979         * nptl/tst-barrier2.c: Likewise.
8980         * nptl/tst-barrier3.c: Likewise.
8981         * nptl/tst-barrier4.c: Likewise.
8982         * nptl/tst-barrier5.c: Likewise.
8984 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8986         [BZ #18868]
8987         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8989 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8993         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8994         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8995         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8996         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8997         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8998         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8999         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9000         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9001         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9003 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9005         [BZ #13065]
9006         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9007         new implementation.
9008         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9009         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9010         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9011         (BARRIER_IN_THRESHOLD): New macro.
9012         * nptl/pthread_barrierattr_setpshared.c
9013         (pthread_barrierattr_setpshared): Clean up.
9014         * nptl/tst-barrier4.c: Correct comment.
9015         * nptl/tst-barrier5.c: New file.
9016         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9017         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9018         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9019         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9020         * nptl/lowlevelbarrier.sym: Remove.
9021         * nptl/DESIGN-barrier.txt: Remove.
9022         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9023         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9024         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9025         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9026         error.
9027         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9028         implementation.
9030 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9032         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9033         (do_child): Mask SIGRTMIN while thr is running.
9035 2016-01-15  Martin Sebor  <msebor@redhat.com>
9037         [BZ #19432]
9038         * iconvdata/Makefile: Add bug-iconv11.
9039         * iconvdata/bug-iconv11.c: New test.
9040         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9041         * iconvdata/ibm933.c: Same.
9042         * iconvdata/ibm935.c: Same.
9043         * iconvdata/ibm937.c: Same.
9044         * iconvdata/ibm939.c: Same.
9046 2016-01-15  Martin Sebor  <msebor@redhat.com>
9048         [BZ #19443]
9049         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9050         [DEBUG] (_ufc_set_bits): Declare used.
9051         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9052         [DEBUG] (print_all): Declare used.
9053         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9054         operands of the ternary ?: expression to target type.
9055         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9056         calling the undeclared abort.
9057         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9059 2016-01-15  Martin Sebor  <msebor@redhat.com>
9061         [BZ #18755]
9062         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9063         warnings.
9064         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9065         (__gai_create_helper_thread): Same.
9066         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9067         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9068         to suppress -Wmaybe-uninitialized warnings.
9070 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9072         [BZ #19465]
9073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9074         inside if.
9075         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9076         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9077         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9079 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9081         [BZ #19466]
9082         * time/tst-mktime2.c (time_t_max): Removed.
9083         (time_t_min): Likewise.
9084         (TYPE_SIGNED): New.
9085         (TYPE_MINIMUM): Likewise.
9086         (TYPE_MAXIMUM): Likewise.
9087         (TIME_T_MIN): Likewise.
9088         (TIME_T_MAX): Likewise.
9089         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9090         and TIME_T_MIN.
9091         (do_test): Likewise.
9093 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9095         [BZ #19467]
9096         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9097         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9099 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9101         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9103 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9105         * benchtests/Makefile (PYTHON): Define.
9106         (bench-func): Use $(PYTHON) to run python scripts.
9107         ($(objpfx)bench-%.c): Likewise.
9109 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9111         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9112         leading slash when `file_name' is "/".
9114 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9116         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9117         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9118         Likewise.
9119         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9120         Likewise.
9121         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9122         Likewise.
9123         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9124         enum constant and macro.
9125         (PTRACE_SETSIGMASK): Likewise.
9126         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9127         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9128         (PTRACE_GETSIGMASK): Likewise.
9129         (PTRACE_SETSIGMASK): Likewise.
9130         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9131         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9132         Likewise.
9133         (PTRACE_SETSIGMASK): Likewise.
9134         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9135         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9136         (PTRACE_GETSIGMASK): Likewise.
9137         (PTRACE_SETSIGMASK): Likewise.
9138         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9139         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9140         Likewise.
9141         (PTRACE_SETSIGMASK): Likewise.
9142         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9144         Likewise.
9145         (PTRACE_SETSIGMASK): Likewise.
9146         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9147         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9148         Likewise.
9149         (PTRACE_SETSIGMASK): Likewise.
9150         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9152 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9153             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9155         [BZ #19439]
9156         * math/bits/mathcalls.h
9157         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9158         prototype.
9159         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9161 2016-01-11  Andreas Schwab  <schwab@suse.de>
9163         [BZ #19253]
9164         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9165         cache when TZDEFRULES was used.
9166         * time/tst-tzname.c: New file.
9167         * time/Makefile (test): Add tst-tzname.
9168         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9169         * timezone/Makefile (test-zones): Add $(posixrules-file).
9170         ($(testdata)/$(posixrules-file)): New rule.
9172 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9174         Fix doc quoting problems with Texinfo 5
9175         Without this change, in the info file output, Texinfo 5 quotes code
9176         in text with undirected single quotes 'like this' and generates
9177         code examples that with many PDF readers cannot be cut out of PDFs
9178         and pasted into code.
9179         * manual/libc.texinfo: Configure the libc manual like the GNU
9180         Emacs manual, by using @documentencoding and setting
9181         txicodequoteundirected and txicodequotebacktick.  This way,
9182         Texinfo 5 quotes code in text with directed single quotes ‘like
9183         this’ and produces examples that can be cut out of PDFs.  This
9184         change causes Texinfo 5 to generate info files that contain UTF-8
9185         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9186         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9188 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9190         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9191         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9192         barriers to their respective compiler built-ins.
9193         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9194         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9195         * sysdeps/powerpc/sysdep.h: Likewise.
9196         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9197         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9198         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9200 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9202         * scripts/config.guess: Revert previous shebang change.
9203         * scripts/config.sub: Likewise.
9204         * scripts/mkinstalldirs: Likewise.
9206 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9208         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9209         PPC_FEATURE2_HAS_IEEE128.
9210         * sysdeps/powerpc/dl-procinfo.c:
9211         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9213 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9215         [BZ #19415]
9216         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9217         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9218         (_dl_lookup_address): Rewrite using function resolver trampoline.
9219         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9220         two bits in address.
9222 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9224         * longlong.h: Change !__SHMEDIA__ to
9225         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9226         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9228 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9229             Joseph Myers  <joseph@codesourcery.com>
9230             Mark Shinwell  <shinwell@codesourcery.com>
9231             Andrew Stubbs  <ams@codesourcery.com>
9232             Rich Felker <dalias@libc.org>
9234         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9236 2016-01-07  Richard Henderson  <rth@redhat.com>
9238         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9240 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9242         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9243         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9244         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9245         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9246         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9248 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9249             Joseph Myers  <joseph@codesourcery.com>
9251         * timezone/private.h: Update from tzcode 2015g.
9252         * timezone/tzfile.h: Likewise.
9253         * timezone/tzselect.ksh: Likewise.
9254         * timezone/zdump.c: Likewise.
9255         * timezone/zic.c: Likewise.
9256         * timezone/ialloc.c: Remove file.
9257         * timezone/scheck.c: Likewise.
9258         * timezone/Makefile (extra-objs): Remove variable.
9259         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9260         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9261         -Wno-maybe-uninitialized.
9262         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9263         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9264         (CFLAGS-ialloc.c): Remove variable.
9265         (CFLAGS-scheck.c): Likewise.
9266         * timezone/README: Update list of files from tzcode.
9268 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9270         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9271         instead of __fxprintf when _LIBC is undefined.
9273 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9275         * catgets/test-gencat.sh: Remove space after shebang.
9276         * conform/GlibcConform.pm: Likewise.
9277         * conform/check-header-lists.sh: Likewise.
9278         * conform/conformtest.pl: Likewise.
9279         * conform/linknamespace.pl: Likewise.
9280         * conform/list-header-symbols.pl: Likewise.
9281         * debug/catchsegv.sh: Likewise.
9282         * elf/genrtldtbl.awk: Likewise.
9283         * elf/tst-pathopt.sh: Likewise.
9284         * elf/tst-rtld-load-self.sh: Likewise.
9285         * grp/tst_fgetgrent.sh: Likewise.
9286         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9287         * iconvdata/gen-8bit-gap.sh: Likewise.
9288         * iconvdata/gen-8bit.sh: Likewise.
9289         * iconvdata/run-iconv-test.sh: Likewise.
9290         * intl/tst-gettext.sh: Likewise.
9291         * intl/tst-gettext2.sh: Likewise.
9292         * intl/tst-gettext4.sh: Likewise.
9293         * intl/tst-gettext6.sh: Likewise.
9294         * intl/tst-translit.sh: Likewise.
9295         * io/ftwtest-sh: Likewise.
9296         * libio/test-freopen.sh: Likewise.
9297         * locale/gen-translit.pl: Likewise.
9298         * malloc/tst-mtrace.sh: Likewise.
9299         * manual/check-safety.sh: Likewise.
9300         * manual/libc-texinfo.sh: Likewise.
9301         * manual/tsort.awk: Likewise.
9302         * manual/xtract-typefun.awk: Likewise.
9303         * nptl/tst-cancel-wrappers.sh: Likewise.
9304         * nptl/tst-tls6.sh: Likewise.
9305         * posix/globtest.sh: Likewise.
9306         * posix/tst-getconf.sh: Likewise.
9307         * posix/wordexp-tst.sh: Likewise.
9308         * scripts/check-c++-types.sh: Likewise.
9309         * scripts/check-local-headers.sh: Likewise.
9310         * scripts/config.guess: Likewise.
9311         * scripts/config.sub: Likewise.
9312         * scripts/cpp: Likewise.
9313         * scripts/cross-test-ssh.sh: Likewise.
9314         * scripts/documented.sh: Likewise.
9315         * scripts/evaluate-test.sh: Likewise.
9316         * scripts/gen-libc-abis: Likewise.
9317         * scripts/gen-sorted.awk: Likewise.
9318         * scripts/list-fixed-bugs.py: Likewise.
9319         * scripts/merge-test-results.sh: Likewise.
9320         * scripts/mkinstalldirs: Likewise.
9321         * scripts/rellns-sh: Likewise.
9322         * scripts/test-installation.pl: Likewise.
9323         * scripts/update-copyrights: Likewise.
9324         * stdio-common/tst-printf.sh: Likewise.
9325         * stdio-common/tst-unbputc.sh: Likewise.
9326         * stdlib/tst-fmtmsg.sh: Likewise.
9327         * stdlib/tst-setcontext3.sh: Likewise.
9328         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9329         * sysdeps/unix/make-syscalls.sh: Likewise.
9331 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9333         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9334         asm stw with atomic_exchange_rel.  Add explanatory comment.
9335         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9336         Likewise.
9338 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9340         [BZ #19122]
9341         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9342         * sysdeps/generic/dl-unistd.h: New file.
9343         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9345 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9347          [BZ #19122]
9348          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9349          * sysdeps/generic/dl-mman.h: New file.
9350          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9352 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9354         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9355         trailing whitespace removed.
9356         * scripts/config.guess: Update to version 2016-01-01.
9357         * scripts/config.sub: Update to version 2016-01-01.
9358         * scripts/move-if-change: Update from gnulib.
9360 2016-01-04  Anton Blanchard  <anton@samba.org>
9362         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9363         for array indices.
9364         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9366 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9368         * NEWS: Update copyright dates.
9369         * catgets/gencat.c (print_version): Likewise.
9370         * csu/version.c (banner): Likewise.
9371         * debug/catchsegv.sh: Likewise.
9372         * debug/pcprofiledump.c (print_version): Likewise.
9373         * debug/xtrace.sh (do_version): Likewise.
9374         * elf/ldconfig.c (print_version): Likewise.
9375         * elf/ldd.bash.in: Likewise.
9376         * elf/pldd.c (print_version): Likewise.
9377         * elf/sotruss.sh: Likewise.
9378         * elf/sprof.c (print_version): Likewise.
9379         * iconv/iconv_prog.c (print_version): Likewise.
9380         * iconv/iconvconfig.c (print_version): Likewise.
9381         * locale/programs/locale.c (print_version): Likewise.
9382         * locale/programs/localedef.c (print_version): Likewise.
9383         * login/programs/pt_chown.c (print_version): Likewise.
9384         * malloc/memusage.sh (do_version): Likewise.
9385         * malloc/memusagestat.c (print_version): Likewise.
9386         * malloc/mtrace.pl: Likewise.
9387         * manual/libc.texinfo: Likewise.
9388         * nptl/version.c (banner): Likewise.
9389         * nscd/nscd.c (print_version): Likewise.
9390         * nss/getent.c (print_version): Likewise.
9391         * nss/makedb.c (print_version): Likewise.
9392         * posix/getconf.c (main): Likewise.
9393         * scripts/test-installation.pl: Likewise.
9394         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9396         * All files with FSF copyright notices: Update copyright dates
9397         using scripts/update-copyrights.
9398         * intl/plural.c: Regenerated.
9399         * locale/programs/charmap-kw.h: Likewise.
9400         * locale/programs/locfile-kw.h: Likewise.
9402 2016-01-02  Helge Deller  <deller@gmx.de>
9404         [BZ #19285]
9405         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9406         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9407         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9408         (MADV_xxK_PAGES): Remove.
9410 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9412         [BZ #15421]
9413         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9414         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9415         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9416         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9418 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9420         [BZ #19408]
9421         * sysdeps/unix/sysv/linux/personality.c: New file.
9422         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9423         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9424         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9425         (sysdep_routines): Add personality.
9426         (tests): Add tst-personality.
9427         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9429         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9430         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9431         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9433         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9434         Likewise.
9435         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9436         Likewise.
9437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9438         Likewise.
9439         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9440         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9441         Likewise.
9443 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9445         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9446         (PATH_ARM_SYSTYPE): Remove.
9447         (PATH_CPUINFO): Likewise.
9448         (IO_BASE_FOOTBRIDGE): Likewise.
9449         (IO_SHIFT_FOOTBRIDGE): Likewise.
9450         (struct platform): Likewise.
9451         (init_iosys): Remove compatibility code for 2.4 kernels.
9452         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9454 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9456         * malloc/tst-malloc-thread-fail.c: New file.
9457         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9458         (tst-malloc-thread-fail): Link against libpthread.
9460 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9462         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9463         (get_parser): New function.
9464         (main): New function.
9466 2015-12-29  Rob Wu  <rob@robwu.nl>
9468         [BZ #19369]
9469         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9471 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9473         [BZ #19270]
9474         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9476 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9478         [BZ #15421]
9479         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9481 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9483         [BZ #13690]
9484         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9485         after releasing it.
9486         (__lll_robust_unlock): Likewise.
9487         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9488         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9489         (lll_robust_unlock): Likewise.
9490         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9491         Prevent warnings in callers.
9493 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9495         * malloc/arena.c (list_lock): Update comment.
9497 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9499         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9500         __parse_hwcap_and_convert_at_platform to libc.a.
9502 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9504         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9505         platform and feature support for POWER9.
9506         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9507         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9508         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9509         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9510         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9511         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9512         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9513         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9515 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9517         Harmonize generic stdio-lock support with nptl
9519         This fixes build when _IO_funlockfile is a macro, fixes build where
9520         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9521         stack unwind.
9523         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9524         _IO_release_lock ): Use cleanup attribute on new
9525         _IO_acquire_lock_file variable instead of assuming that
9526         _IO_release_lock will be called.
9527         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9528         _IO_acquire_lock_needs_exceptions_enabled.
9529         (_IO_acquire_lock_clear_flags2): New macro.
9531 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9533         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9535 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9537         [BZ #19182]
9538         * malloc/arena.c (list_lock): Document lock ordering requirements.
9539         (free_list_lock): New lock.
9540         (ptmalloc_lock_all): Comment on free_list_lock.
9541         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9542         (detach_arena): Update comment.  free_list_lock is now needed.
9543         (_int_new_arena): Use free_list_lock around detach_arena call.
9544         Acquire arena lock after list_lock.  Add comment, including FIXME
9545         about incorrect synchronization.
9546         (get_free_list): Switch to free_list_lock.
9547         (reused_arena): Acquire free_list_lock around detach_arena call
9548         and attached threads counter update.  Add two FIXMEs about
9549         incorrect synchronization.
9550         (arena_thread_freeres): Switch to free_list_lock.
9551         * malloc/malloc.c (struct malloc_state): Update comments to
9552         mention free_list_lock.
9554 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9556         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9557         Remove functions.
9558         (sloww, sloww1): Accept argument to offset quadrant.
9559         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9560         quadrant.
9561         (__sin, __cos): Consolidate common code into new functions.
9562         (reduce_sincos_1, do_sincos_1): New functions.
9563         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9565         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9566         code to new functions.
9567         (reduce_sincos_2, do_sincos_2): New functions.
9568         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9571         common code for sincos.
9572         (__cos) [!IN_SINCOS]: Likewise.
9573         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9574         New function.
9575         (__sincos): Use it.
9577 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9579         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9580         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9581         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9583 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9585         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9588         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9589         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9590         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9591         index_Prefer_No_VZEROUPPER): New feature.
9592         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9593         Prefer_No_VZEROUPPER for Knights Landing.
9595 015-12-18  Torvald Riegel  <triegel@redhat.com>
9597         * math/atest-exp2.c (mp_exp_m1): Remove.
9599 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9601         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9602         syscalls.
9603         (__SYSCALL0): New macro.
9604         (__SYSCALL1): Likewise.
9605         (__SYSCALL2): Likewise.
9606         (__SYSCALL3): Likewise.
9607         (__SYSCALL4): Likewise.
9608         (__SYSCALL5): Likewise.
9609         (__SYSCALL6): Likewise.
9610         (__SYSCALL_CONCAT_X): Likewise.
9611         (__SYSCALL_CONCAT): Likewise.
9612         (__SYSCALL_DIST): Likewise.
9613         (__SYSCALL_CALL): Likewise.
9615 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9617         [BZ #19363]
9618         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9620 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9622         [BZ #19375]
9623         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9624         negative subnormals.
9626 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9629         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9630         (INTERNAL_SYSCALL_NCS): Use it.
9631         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9633 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9635         [BZ #19243]
9636         * malloc/arena.c (get_free_list): Remove assert and adjust
9637         reference count handling.  Add comment about reused_arena
9638         interaction.
9639         (reused_arena): Add comments abount get_free_list interaction.
9640         * malloc/tst-malloc-thread-exit.c: New file.
9641         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9642         (tst-malloc-thread-exit): Link against libpthread.
9644 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9646         [BZ #19367]
9647         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9648         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9649         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9650         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9651         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9653 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9655         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9656         Silvermont optimizations for Knights Landing.
9658 2015-12-15  Andreas Schwab  <schwab@suse.de>
9660         [BZ #17197]
9661         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9662         immediately after emitting SI.
9663         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9664         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9665         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9666         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9667         * iconvdata/bug-iconv10.c: New file.
9668         * iconvdata/Makefile (tests): Add bug-iconv10.
9669         ($(objpfx)bug-iconv10.out): New rule.
9671 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9673         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9674         aliasing violation.
9676 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9678         [BZ #18472]
9679         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9680         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9681         conditionals for them.
9682         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9683         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9685         sys/kdaemon.h.
9686         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9687         compat-only syscall, obsoleted in glibc 2.23.
9688         (create_module): Likewise.
9689         (get_kernel_syms): Likewise.
9690         (query_module): Likewise.
9691         (uselib): Likewise.
9692         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9694 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9696         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9697         <linux/version.h>.
9698         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9699         conditional code.
9700         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9701         and ioshift_name initialization.
9703 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9706         Fix indentation.
9708 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9710         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9712 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9714         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9716 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9717             Jakub Wilk  <jwilk@debian.org>
9719         [BZ #19347]
9720         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9721         to change the group of the device to the tty group.
9723 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9725         Split large string section; add truncation advice
9726         * manual/examples/strncat.c: Remove.
9727         This example was misleading, as the code would have undefined
9728         behavior if "hello" was longer than SIZE.  Anyway, the manual
9729         shouldn't encourage strncpy+strncat for this sort of thing.
9730         * manual/string.texi (Copying Strings and Arrays): Split into
9731         three sections Copying Strings and Arrays, Concatenating Strings,
9732         and Truncating Strings, as this section was way too long.  All
9733         cross-referenced changed.  Add advice about string-truncation
9734         functions.  Remove misleading strncat example.
9736 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9738         * manual/nss.texi (NSS Modules Interface): Document
9739         NSS_STATUS_NOTFOUND and SUCCESS.
9741 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9743         [BZ 18568]
9744         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9745         201505L, for Unicode 8.
9747 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9749         * locale/C-translit.h: Regenerate.
9751 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9753         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9754         and U+0153.
9756 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9758         [BZ #19351]
9759         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9760         expanding log(1+z), compare z rather than its square with epsilon
9761         to determine when to avoid evaluating the expansion.
9763         [BZ #19350]
9764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9765         Increase overflow threshold.
9767         [BZ #19349]
9768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9769         when small.
9771         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9772         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9773         New macro.
9774         [__LINUX_KERNEL_VERSION >= 0x040300]
9775         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9777         Likewise.
9778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9779         Likewise.
9780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9781         Likewise.
9782         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9783         Likewise.
9784         [__LINUX_KERNEL_VERSION >= 0x040300]
9785         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9786         [__LINUX_KERNEL_VERSION >= 0x040300]
9787         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9788         [__LINUX_KERNEL_VERSION >= 0x040300]
9789         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9790         [__LINUX_KERNEL_VERSION >= 0x040300]
9791         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9792         [__LINUX_KERNEL_VERSION >= 0x040300]
9793         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9795         Likewise.
9796         [__LINUX_KERNEL_VERSION >= 0x040300]
9797         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9799         Likewise.
9800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9801         Likewise.
9802         [__LINUX_KERNEL_VERSION >= 0x040300]
9803         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9805         Likewise.
9806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9809         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9810         Likewise.
9811         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9812         Likewise.
9813         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9814         Likewise.
9815         [__LINUX_KERNEL_VERSION >= 0x040300]
9816         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9817         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9818         Likewise.
9819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9820         Likewise.
9821         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9822         Likewise.
9823         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9824         Likewise.
9825         [__LINUX_KERNEL_VERSION >= 0x040300]
9826         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9827         [__LINUX_KERNEL_VERSION >= 0x040300]
9828         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9829         [__LINUX_KERNEL_VERSION >= 0x040300]
9830         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9831         [__LINUX_KERNEL_VERSION >= 0x040300]
9832         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9833         [__LINUX_KERNEL_VERSION >= 0x040300]
9834         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9836         Likewise.
9837         [__LINUX_KERNEL_VERSION >= 0x040300]
9838         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9840         Likewise.
9841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9842         Likewise.
9843         [__LINUX_KERNEL_VERSION >= 0x040300]
9844         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9846         Likewise.
9847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9848         Likewise.
9849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9850         (__ASSUME_SOCKET_SYSCALL): Likewise.
9851         (__ASSUME_BIND_SYSCALL): Likewise.
9852         (__ASSUME_CONNECT_SYSCALL): Likewise.
9853         (__ASSUME_LISTEN_SYSCALL): Likewise.
9854         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9855         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9856         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9857         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9858         (__ASSUME_SEND_SYSCALL): Likewise.
9859         (__ASSUME_SENDTO_SYSCALL): Likewise.
9860         (__ASSUME_RECV_SYSCALL): Likewise.
9861         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9862         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9863         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9864         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9865         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9866         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9867         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9868         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9869         Likewise.
9870         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9871         Likewise.
9872         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9873         Likewise.
9874         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9875         Likewise.
9876         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9877         Likewise.
9878         [__LINUX_KERNEL_VERSION >= 0x020625]
9879         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9880         [__LINUX_KERNEL_VERSION >= 0x020625]
9881         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9882         [__LINUX_KERNEL_VERSION >= 0x020625]
9883         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9884         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9885         Likewise.
9886         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9887         Likewise.
9888         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9889         Likewise.
9890         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9891         Likewise.
9892         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9893         Likewise.
9894         [__LINUX_KERNEL_VERSION >= 0x020625]
9895         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9896         [__LINUX_KERNEL_VERSION >= 0x020625]
9897         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9898         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9899         Likewise.
9900         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9901         Likewise.
9903 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9905         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9906         record the current if the current ABI and CPU support the FP64
9907         extension.
9908         (has-modd-spreg): Define to record the current if the current ABI and
9909         CPU support 32-bit floating point values in odd FPU registers.
9910         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9911         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9912         $(has-modd-spreg) equals yes.
9913         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9914         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9915         $(has-modd-spreg) equal yes.
9917 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9919         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9920         basename.
9922 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9924         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9925         (bench-string): ... here.
9926         (bench): Add bench-string.
9927         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9928         to *-benchset to reflect what they are.
9929         (benchset): Adjust.
9931         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9932         cos-inputs.
9934 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9936         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9937         __attribute__ ((__simd__)) for vector math function declarations.
9939 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9941         Fix typo in strncat, wcsncat manual entries
9942         * manual/string.texi (Copying and Concatenation): Fix typos in
9943         sample implementations of strncat and wcsncat, by having them use
9944         the old value of the destination length, not the new one.
9946 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9948         [BZ #16961]
9949         [BZ #16962]
9950         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9951         string on the stack for strtod.
9952         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9953         a string on the stack for strtof.
9954         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9955         constructing a string on the stack for strtold.
9956         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9957         __strtold_nan to GLIBC_PRIVATE.
9958         * math/test-nan-overflow.c: New file.
9959         * math/test-nan-payload.c: Likewise.
9960         * math/Makefile (tests): Add test-nan-overflow and
9961         test-nan-payload.
9963 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9965         Consistency about byte vs character in string.texi
9966         * manual/string.texi (String and Array Utilities):
9967         Distinguish more carefully among bytes, multibyte characters,
9968         and wide characters.  Use "byte" when talking about C 'char',
9969         to distinguish it more clearly from multibyte characters.
9970         Say "wide character" or "multibyte character" instead of
9971         "character", when a wide or multibyte character is intended.
9972         Similarly for "multibyte string" versus "string".
9973         Define these terms more carefully.
9975 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9977         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9978         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9979         Likewise.
9980         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9981         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9982         * sysdeps/sh/math_private.h: New file.
9983         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9984         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9985         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9986         long double function name.
9987         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9988         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9989         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9990         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9991         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9993         Remove __finitel, __isinfl, and __isnanl.
9994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9995         Likewise.
9996         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9998         Remove __finitel.
9999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10000         Likewise.
10001         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10003 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10005         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10006         installed libmvec_nonshared.a.
10008 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10010         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10011         (sysdep_routines): Likewise.
10012         (sysdep-rtld-routines): Likewise.
10013         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10014         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10015         * sysdeps/powerpc/Versions: Added new
10016         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10017         * sysdeps/powerpc/hwcapinfo.c: New file.
10018         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10019         and parse hwcap, hwcap2 and platform number information.
10020         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10021         to store HWCAP+HWCAP2 and platform number.
10022         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10023         for HWCAP+HWCAP2 and platform number in the TCB.
10024         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10025         the HWCAP, HWCAP2 and platform number in the TCB.
10026         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10027         (TLS_INIT_TP): Included calls to add the hwcap and
10028         at_platform values in the TCB in TP initialization.
10029         (TLS_DEFINE_INIT_TP): Likewise.
10030         (THREAD_GET_HWCAP): New macro.
10031         (THREAD_SET_HWCAP): Likewise.
10032         (THREAD_GET_AT_PLATFORM): Likewise.
10033         (THREAD_SET_AT_PLATFORM): Likewise.
10034         * sysdeps/powerpc/powerpc32/dl-machine.h:
10035         (dl_platform_init): New function that calls
10036         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10037         powerpc32.
10038         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10039         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10040         this functionality, static linking case.
10041         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10042         linking case.
10043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10044         __parse_hwcap_and_convert_at_platform for the static linking case.
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10046         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10047         ABI list for GLIBC 2.23.
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10049         Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10051         Likewise.
10053 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10055         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10056         * configure: Regenerate.
10057         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10058         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10060 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10062         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10063         * iconvdata/ibm933.c: Likewise.
10064         * iconvdata/ibm935.c: Likewise.
10065         * iconvdata/ibm937.c: Likewise.
10066         * iconvdata/ibm939.c: Likewise.
10068 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10070         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10071         pthread_join.
10072         * nptl/tst-cancel21.c (tf): Likewise.
10074 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10076         [BZ #19313]
10077         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10078         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10079         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10080         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10089         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10090         unsigned long int with __CPU_MASK_TYPE.
10092 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10094         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10096 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10098         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10099         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10100         t512.x.
10101         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10103 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10105         [BZ #19214]
10106         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10107         argument to return extended model.  Update family and model
10108         with extended family and model when family == 0x0f.
10109         (init_cpu_features): Updated.
10111 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10113         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10114         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10116         * sysdeps/mach/hurd/mmap64.c: New file.
10118 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10120         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10121         rights for its main user thread in NEWTASK.
10123 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10125         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10126         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10128 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10130         [BZ #14259]
10131         * Makeconfig: Rename localedir to complocaledir.
10132         Rename inst_localedir to inst_complocaledir.
10133         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10134         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10135         * configure.ac: Use libc_cv_complocaledir.
10136         * configure: Regenerate.
10137         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10138         -DCOMPLOCALEDIR.
10139         * locale/findlocale.c: Use COMPLOCALEDIR.
10140         * locale/loadarchive.c: Likewise.
10141         * locale/programs/locale.c: Likewise.
10142         * locale/programs/localedef.c: Likewise.
10143         * locale/programs/locarchive.c: Likewise.
10144         * localedata/Makefile: Use inst_complocaledir.
10145         * sysdeps/gnu/configure: Regenerate.
10146         * sysdeps/hppa/configure: Regenerate.
10147         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10148         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10150         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10151         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10152         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10153         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10155 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10157         [BZ #19058]
10158         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10159         AS_NEEDED.
10160         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10161         workaround.
10162         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10163         libmvec-static-only-routines): Added new file.
10164         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10166 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10168         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10169         of interrupted RPC instead of restoring it.
10171         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10172         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10173         libc_hidden_def.
10174         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10175         into initialized data instead of common. Define rtld_hidden_data_def.
10176         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10177         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10178         libc_hidden_def.
10179         (if_freenameindex): Add libc_hidden_weak.
10180         (if_nameindex): Add libc_hidden_weak.
10181         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10182         __open64.
10183         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10184         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10185         * sysdeps/mach/nanosleep.c: Include <time.h>
10186         (__nanosleep): Rename to __libc_nanosleep.
10187         (__nanosleep): Add weak_alias.
10188         (nanosleep): Update alias.
10190 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10192         * stdlib/strtod_nan.c: New file.
10193         * stdlib/strtod_nan_double.h: Likewise.
10194         * stdlib/strtod_nan_float.h: Likewise.
10195         * stdlib/strtod_nan_main.c: Likewise.
10196         * stdlib/strtod_nan_narrow.h: Likewise.
10197         * stdlib/strtod_nan_wide.h: Likewise.
10198         * stdlib/strtof_nan.c: Likewise.
10199         * stdlib/strtold_nan.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10201         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10202         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10203         * wcsmbs/wcstod_nan.c: Likewise.
10204         * wcsmbs/wcstof_nan.c: Likewise.
10205         * wcsmbs/wcstold_nan.c: Likewise.
10206         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10207         strtold_nan.
10208         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10209         wcstof_nan.
10210         * include/stdlib.h (__strtof_nan): Declare and use
10211         libc_hidden_proto.
10212         (__strtod_nan): Likewise.
10213         (__strtold_nan): Likewise.
10214         (__wcstof_nan): Likewise.
10215         (__wcstod_nan): Likewise.
10216         (__wcstold_nan): Likewise.
10217         * include/wchar.h (____wcstoull_l_internal): Declare.
10218         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10219         (____strtoull_l_internal): Remove declaration.
10220         (STRTOF_NAN): Define macro.
10221         (SET_MANTISSA): Remove macro.
10222         (STRTOULL): Likewise.
10223         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10224         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10225         (STRTOF_NAN): Define macro.
10226         (SET_MANTISSA): Remove macro.
10227         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10228         (SET_MANTISSA): Remove macro.
10229         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10230         macro.
10231         (SET_MANTISSA): Remove macro.
10232         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10233         macro.
10234         (SET_MANTISSA): Remove macro.
10235         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10236         (SET_MANTISSA): Remove macro.
10237         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10238         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10239         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10241         [BZ #19266]
10242         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10243         upper case and lower case letters inside NAN(), not using TOLOWER.
10244         * stdlib/tst-strtod-nan-locale-main.c: New file.
10245         * stdlib/tst-strtod-nan-locale.c: Likewise.
10246         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10247         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10248         Depend on $(gen-locales).
10249         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10250         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10251         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10252         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10253         Depend on $(gen-locales).
10254         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10256 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10258         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10260         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10262         __finitel, __isinfl, and __isnanl.
10263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10264         Likewise.
10265         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10267         __finitel.
10268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10269         Likewise.
10270         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10272 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10274         * malloc/memusage.c (me): Remove redundant getenv call.
10276 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10278         [BZ #19143]
10279         [BZ #19164]
10280         * nptl/check-cpuset.h: Remove.
10281         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10282         Remove CPU set size check.
10283         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10284         Likewise.
10285         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10286         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10287         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10288         (__pthread_setaffinity_new): Remove CPU set size check.
10289         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10290         (__kernel_cpumask_size): Remove.
10291         (__sched_setaffinity_new): Remove CPU set size check.
10292         * manual/threads.texi (Default Thread Attributes): Remove stale
10293         reference to check_cpuset_attr, determine_cpumask_size in comment.
10294         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10295         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10296         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10297         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10298         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10299         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10300         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10301         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10302         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10303         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10304         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10305         skeleton test file.
10306         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10307         tst-affinity-pid.
10309 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10311         * scripts/update-abilist.sh: New file.
10312         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10313         * Makerules (update-all-abi-%, update-all-abi)
10314         (subdir_update-all-abi): New targets.
10315         * elf/Makefile (update-all-abi): New target.
10317 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10319         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10320         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10321         (__libc_lock_define_initialized): Use it.
10322         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10323         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10324         * malloc/malloc.c (main_arena): Likewise.
10325         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10326         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10328 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10330         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10331         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10332         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10333         (PTRACE_O_MASK): Update value.
10334         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10335         New value in enum __ptrace_setoptions.
10336         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10337         (PTRACE_O_MASK): Update value.
10338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10339         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10340         (PTRACE_O_MASK): Update value.
10341         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10342         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10343         (PTRACE_O_MASK): Update value.
10344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10345         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10346         (PTRACE_O_MASK): Update value.
10347         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10348         New value in enum __ptrace_setoptions.
10349         (PTRACE_O_MASK): Update value.
10350         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10351         New value in enum __ptrace_setoptions.
10352         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10353         (PTRACE_O_MASK): Update value.
10355         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10356         New macro.
10357         (PACKET_AUXDATA): Likewise.
10358         (PACKET_ORIGDEV): Likewise.
10359         (PACKET_VERSION): Likewise.
10360         (PACKET_HDRLEN): Likewise.
10361         (PACKET_RESERVE): Likewise.
10362         (PACKET_TX_RING): Likewise.
10363         (PACKET_LOSS): Likewise.
10364         (PACKET_VNET_HDR): Likewise.
10365         (PACKET_TX_TIMESTAMP): Likewise.
10366         (PACKET_TIMESTAMP): Likewise.
10367         (PACKET_FANOUT): Likewise.
10368         (PACKET_TX_HAS_OFF): Likewise.
10369         (PACKET_QDISC_BYPASS): Likewise.
10370         (PACKET_ROLLOVER_STATS): Likewise.
10371         (PACKET_FANOUT_DATA): Likewise.
10372         (PACKET_MR_UNICAST): Likewise.
10374         [BZ #19242]
10375         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10376         (TOUPPER): Likewise.
10377         * stdlib/tst-strtol-locale-main.c: New file.
10378         * stdlib/tst-strtol-locale.c: Likewise.
10379         * stdlib/Makefile (tests): Add tst-strtol-locale.
10380         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10381         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10382         Depend on $(gen-locales).
10383         * wcsmbs/tst-wcstol-locale.c: New file.
10384         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10385         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10386         tr_TR.ISO-8859-9.
10387         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10388         Depend on $(gen-locales).
10390 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10392         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10393         __glibc_likely instead of __builtin_expect.  After falling back to
10394         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10395         system interface to register the code pages as occupied.
10397 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10399         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10400         [!ARM_MATH_PRIVATE_H].
10401         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10402         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10403         [!HPPA_MATH_PRIVATE_H].
10404         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10405         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10406         to [!I386_MATH_PRIVATE_H].
10407         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10408         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10409         Change guard to [!M68K_MATH_PRIVATE_H].
10410         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10411         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10412         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10413         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10414         macro.
10415         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10416         [!MIPS_MATH_PRIVATE_H].
10417         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10418         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10419         [!NIO2_MATH_PRIVATE_H].
10420         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10421         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10422         [!TILE_MATH_PRIVATE_H].
10423         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10425         [BZ #15421]
10426         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10427         initialize with 0 and define as weak alias of __signgam.
10428         * include/math.h [!_ISOMAC] (__signgam): Declare.
10429         * math/Makefile (libm-calls): Add w_lgamma_compat.
10430         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10431         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10432         test-signgam-ullong-init.
10433         (tests-static): Add test-signgam-uchar-static,
10434         test-signgam-uchar-init-static, test-signgam-uint-static,
10435         test-signgam-uint-init-static, test-signgam-ullong-static and
10436         test-signgam-ullong-init-static.
10437         (CFLAGS-test-signgam-uchar.c): New variable.
10438         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10439         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10440         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10441         (CFLAGS-test-signgam-uint.c): Likewise.
10442         (CFLAGS-test-signgam-uint-init.c): Likewise.
10443         (CFLAGS-test-signgam-uint-static.c): Likewise.
10444         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10445         (CFLAGS-test-signgam-ullong.c): Likewise.
10446         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10447         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10448         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10449         * math/Versions (libm): Add GLIBC_2.23.
10450         * math/lgamma-compat.h: New file.
10451         * math/test-signgam-main.c: Likewise.
10452         * math/test-signgam-uchar-init-static.c: Likewise.
10453         * math/test-signgam-uchar-init.c: Likewise.
10454         * math/test-signgam-uchar-static.c: Likewise.
10455         * math/test-signgam-uchar.c: Likewise.
10456         * math/test-signgam-uint-init-static.c: Likewise.
10457         * math/test-signgam-uint-init.c: Likewise.
10458         * math/test-signgam-uint-static.c: Likewise.
10459         * math/test-signgam-uint.c: Likewise.
10460         * math/test-signgam-ullong-init-static.c: Likewise.
10461         * math/test-signgam-ullong-init.c: Likewise.
10462         * math/test-signgam-ullong-static.c: Likewise.
10463         * math/test-signgam-ullong.c: Likewise.
10464         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10465         wrapper of w_lgamma_main.c.
10466         * math/w_lgamma_compat.c: New file.
10467         * math/w_lgamma_compatf.c: Likewise.
10468         * math/w_lgamma_compatl.c: Likewise.
10469         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10470         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10471         defining compatibility symbols.
10472         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10473         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10474         wrapper of w_lgammaf_main.c.
10475         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10476         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10477         defining compatibility symbols.
10478         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10479         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10480         wrapper of w_lgammal_main.c.
10481         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10482         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10483         defining compatibility symbols.
10484         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10485         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10486         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10487         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10488         <lgamma-compat.h>.
10489         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10490         (__ieee754_gamma): Define as alias.
10491         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10492         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10493         <lgamma-compat.h>.
10494         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10495         (__ieee754_gammaf): Define as alias.
10496         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10497         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10498         <lgamma-compat.h>.
10499         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10500         (__ieee754_gammal): Define as alias.
10501         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10502         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10503         <math/w_lgamma_compat.c>.
10504         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10505         Define as alias of __lgamma_compat and use in defining lgammal.
10506         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10507         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10508         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10509         (USE_AS_COMPAT): New macro.
10510         (LGAMMA_OLD_VER): Undefine and redefine.
10511         (lgammal): Do not define here.
10512         (gammal): Only define here if [GAMMA_ALIAS].
10513         * conform/linknamespace.pl (@whitelist): Remove signgam.
10514         * sysdeps/nacl/libm.abilist: Update.
10515         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10519         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10520         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10521         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10522         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10523         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10524         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10525         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10526         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10528         Likewise.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10530         Likewise.
10531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10532         Likewise.
10533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10534         Likewise.
10535         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10536         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10537         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10538         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10543         Likewise.
10544         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10545         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10546         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10548 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10550         [BZ #16364]
10551         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10552         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10554 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10556         * sysdeps/s390/fpu/bits/mathinline.h:
10557         Use __asm__ [__volatile__] instead of asm [volatile].
10558         * sysdeps/s390/abort-instr.h: Likewise.
10559         * sysdeps/s390/atomic-machine.h: Likewise.
10560         * sysdeps/s390/bits/string.h: Likewise.
10561         * sysdeps/s390/dl-tls.h: Likewise.
10562         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10563         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10564         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10565         * sysdeps/s390/fpu/fesetround.c: Likewise.
10566         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10567         * sysdeps/s390/fpu/s_fma.c: Likewise.
10568         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10569         * sysdeps/s390/memusage.h: Likewise.
10570         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10571         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10572         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10573         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10574         * sysdeps/s390/nptl/tls.h: Likewise.
10575         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10576         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10577         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10578         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10579         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10580         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10581         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10582         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10583         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10584         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10585         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10586         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10587         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10588         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10589         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10590         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10591         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10592         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10593         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10594         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10595         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10597         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10599 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10600             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10602         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10603         Add lwarx hint, and use macro for acquire instruction.
10604         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10605         Likewise.
10606         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10607         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10608         update to use new atomic macros.
10610 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10612         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10613         (__lll_trylock_elision): Fix setting of adapt_count.
10614         * sysdeps/unix/sysv/linux/powerpc/htm.h
10615         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10616         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10617         (_ABORT_SYSCALL): Renumber, and clarify definition.
10618         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10620 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10622         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10623         after system headers to prevent MIN/MAX redefinition.  Define
10624         HAVE_ALLOCA to preserve builtin alloca usage.
10626 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10629         static and don't set or restore rounding.
10630         (__cos)[IN_SINCOS]: Likewise.
10631         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10632         (__sincos): Set and restore rounding mode.  Remove check for infinite
10633         or NaN input.
10635         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10637         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10638         as used.
10640 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10642         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10644 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10646         * config.make.in (have-glob-dat-reloc): New.
10647         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10648         target supports GLOB_DAT relocaton. AC_SUBST.
10649         * configure: Regenerated.
10650         * elf/Makefile (tests): Add tst-prelink.
10651         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10652         (tst-prelink-ENV): New.
10653         ($(objpfx)tst-prelink-conflict.out): Likewise.
10654         ($(objpfx)tst-prelink-cmp.out): Likewise.
10655         * sysdeps/x86/tst-prelink.c: Moved to ...
10656         * elf/tst-prelink.c: Here.
10657         * sysdeps/x86/tst-prelink.exp: Moved to ...
10658         * elf/tst-prelink.exp: Here.
10659         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10660         (tst-prelink-ENV): Removed.
10661         ($(objpfx)tst-prelink-conflict.out): Likewise.
10662         ($(objpfx)tst-prelink-cmp.out): Likewise.
10663         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10665 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10667         [BZ #14551]
10668         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10669         (__mpn_construct_long_double): If high part overflows to infinity,
10670         set errno and recompute overflowed result of the correct sign.
10671         * sysdeps/ieee754/ldbl-128ibm/Makefile
10672         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10673         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10674         $(libm).
10675         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10677 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10679         [BZ #15479]
10680         [BZ #19238]
10681         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10682         floating-point state after first operation on input.  Restore full
10683         state rather than just rounding mode.
10684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10685         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10686         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10688         [BZ #19235]
10689         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10690         add 0.5 to integer arguments.
10691         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10692         Likewise.
10693         (.LC2): New object.
10695 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10697         * scripts/pylintrc (reports): Set to no.
10699 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10701         * elf/dl-load.c (open_verify): Take new argument FD.
10702         Skip __open call if passed FD is not -1.
10703         (_dl_map_object, open_path): Update callers.
10704         * elf/dl-sysdep-open.h: New file.
10705         * elf/dl-load.c: Include it.
10706         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10707         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10708         * sysdeps/nacl/dl-sysdep-open.h: New file.
10709         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10710         from libc to rtld.
10712 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10714         [BZ #19228]
10715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10716         and restore full floating-point state.
10717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10718         Likewise.
10719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10720         Likewise.
10721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10722         Likewise.
10723         * math/test-nearbyint-except-2.c: New file.
10724         * math/Makefile (tests): Add test-nearbyint-except-2.
10726 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10728         [BZ #19178]
10729         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10730         (tst-prelink-ENV): New.
10731         ($(objpfx)tst-prelink-conflict.out): Likewise.
10732         ($(objpfx)tst-prelink-cmp.out): Likewise.
10733         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10734         * sysdeps/x86/tst-prelink.c: New file.
10735         * sysdeps/x86/tst-prelink.exp: Likewise.
10737 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10739         * math/auto-libm-test-in: Add another test of pow.
10740         * math/auto-libm-test-out: Regenerated.
10741         * math/libm-test.inc (pow_test_data): Add another test.
10743 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10745         [BZ #19219]
10746         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10747         weak_alias to nearbyintl.
10749 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10751         * sysdeps/aarch64/bits/string.h: New file.
10752         (_STRING_ARCH_unaligned): Define.
10754 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10756         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10757         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10758         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10759         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10762 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10764         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10765         for original name of the DSO.  Add it to the name list of the DSO
10766         if it is actually given.
10767         (_dl_map_object): Keep track of whether an audit module rewrote
10768         the file name.  If yes, pass the original name to
10769         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10770         debugging is enabled, log the change of the file name.
10771         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10772         _dl_map_object_from_fd.
10773         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10774         * elf/tst-audit11.c: New file
10775         * elf/tst-auditmod11.c: New file.
10776         * elf/tst-audit11mod1.c: New file.
10777         * elf/tst-audit11mod2.c: New file.
10778         * elf/tst-audit11mod2.map: New file.
10779         * elf/tst-audit12.c: New file
10780         * elf/tst-auditmod12.c: New file.
10781         * elf/tst-audit12mod1.c: New file.
10782         * elf/tst-audit12mod2.c: New file.
10783         * elf/tst-audit12mod2.map: New file.
10784         * elf/tst-audit12mod3.c: New file.
10786 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10788         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10789         Don't create weak aliases,
10790         because versioned symbols are created later.
10791         * sysdeps/s390/s390-32/setjmp.S
10792         (setjmp, _setjmp): Remove weak and rename to an unique name
10793         in SHARED case due to existing versioned symbols.
10794         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10796         (getcontext): Create weak alias only in non SHARED case.
10797         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10799 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10801         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10802         (__ASSUME_*_SYSCALL) Define new macros.
10803         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10804         Remove socketcall syscalls.
10805         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10806         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10807         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10808         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10809         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10810         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10812 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10814         [BZ #12926]
10815         Terminate process on invalid netlink response.
10816         * sysdeps/unix/sysv/linux/netlinkaccess.h
10817         (__netlink_assert_response): Declare.
10818         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10819         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10820         (sysdep_routines): Add netlink_assert_response.
10821         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10822         __netlink_assert_response.
10823         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10824         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10825         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10826         __netlink_assert_response.
10828 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10830         [BZ #19178]
10831         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10832         (RTYPE_CLASS_PLT): Likewise.
10833         (RTYPE_CLASS_COPY): Likewise.
10834         (RTYPE_CLASS_TLS): Likewise.
10835         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10836         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10837         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10838         DL_DEBUG_PRELINK.
10840 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10842         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10843         calls with argument -0.5.
10844         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10846         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10847         (libc_cv_z_nodlopen): Likewise.
10848         (libc_cv_z_initfirst): Likewise.
10849         * configure: Regenerated.
10851 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10853         Simplify abilist format to be line-based.
10854         * scripts/abilist.awk: Collect descriptors in the descs variable.
10855         (emit): Write descs variable and sort it
10856         externally, with sort.
10857         * sysdeps/**/*.abilist: Convert to new format.
10859 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10861         [BZ #11460]
10862         * io/Makefile (routines): Add fts64.
10863         (tests): Add tst-fts and tst-fts-lfs.
10864         (CFLAGS-fts64.c): New.
10865         * io/Versions (GLIBC_2.23): New.
10866         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10867         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10868         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10869         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10870         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10871         (FTSENT64): Likewise.
10872         (fts64_children): Likewise.
10873         (fts64_close): Likewise.
10874         (fts64_open): Likewise.
10875         (fts64_read): Likewise.
10876         (fts64_set): Likewise.
10877         * io/fts64.c: New file.
10878         * io/tst-fts.c: New test.
10879         * io/tst-fts-lfs.c: Likewise.
10880         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10881         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10882         fts64_set.
10883         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10897         Likewise.
10898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10902         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10909         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10910         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10911         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10912         * sysdeps/wordsize-64/fts.c: New file.
10913         * sysdeps/wordsize-64/fts64.c: Likewise.
10914         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10915         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10916         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10917         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10919 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10921         * math/libm-test.inc (NON_FINITE): New macro.
10922         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10923         * math/gen-libm-test.pl (show_exceptions): Add argument
10924         $non_finite.
10925         (parse_args): Update call to show_exceptions.
10926         * math/test-math-finite.h: New file.
10927         * math/test-math-no-finite.h: Likewise.
10928         * math/test-double-finite.c: Likewise.
10929         * math/test-float-finite.c: Likewise.
10930         * math/test-ldouble-finite.c: Likewise.
10931         * math/test-double.c: Include "test-math-no-finite.h".
10932         * math/test-float.c: Include "test-math-no-finite.h".
10933         * math/test-ldouble.c: Include "test-math-no-finite.h".
10934         * math/test-math-inline.h (TEST_FINITE): New macro.
10935         * math/test-math-vector.h (TEST_FINITE): Likewise.
10936         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10937         (libm-tests): Add test-float-finite and test-double-finite.
10938         ($(objpfx)test-float-finite.o): New dependency on
10939         $(objpfx)libm-test.stmp.
10940         ($(objpfx)test-double-finite.o): Likewise.
10941         ($(objpfx)test-ldouble-finite.o): Likewise.
10942         (libm-test-no-inline-cflags): New variable.
10943         (libm-test-finite-cflags): Likewise.
10944         (CFLAGS-test-float-finite.c): Likewise.
10945         (CFLAGS-test-double-finite.c): Likewise.
10946         (CFLAGS-test-ldouble-finite.c): Likewise.
10947         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10948         (CFLAGS-test-double.c): Likewise.
10949         (CFLAGS-test-ldouble.c): Likewise.
10951 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10953         * io/fcntl.c (__fcntl): Add ... to prototype.
10954         * misc/ioctl.c (__ioctl): Likewise.
10955         * misc/syscall.c (syscall): Likewise.
10957 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10959         * scripts/list-fixed-bugs.py: New file.
10961         [BZ #19213]
10962         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10963         returned for argument 1.
10964         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10965         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10966         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10967         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10968         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10969         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10971         [BZ #19211]
10972         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10973         __USE_XOPEN], not if [!__USE_ISOC99].
10974         (lgammaf): Likewise.
10975         (lgammal): Likewise.
10976         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10977         (gammaf): Likewise.
10978         (gammal): Likewise.
10979         * math/test-signgam-finite-c11.c: New file.
10980         * math/test-signgam-finite-c99.c: Likewise.
10981         * math/test-signgam-finite.c: Likewise.
10982         * math/Makefile (tests): Add test-signgam-finite,
10983         test-signgam-finite-c99 and test-signgam-finite-c11.
10984         (CFLAGS-test-signgam-finite.c): New variable.
10985         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10986         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10988         [BZ #19212]
10989         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10990         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10991         500].
10992         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10993         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10994         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10995         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10996         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10997         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10998         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10999         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11000         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11001         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11003         [BZ #19209]
11004         * math/bits/math-finite.h (ldexp): Remove declaration.
11005         (ldexpf): Likewise.
11006         (ldexpl): Likewise.
11008         [BZ #19205]
11009         * math/bits/math-finite.h (acosf): Condition declaration on
11010         [__USE_ISOC99].
11011         (acosl): Likewise.
11012         (acoshf): Likewise.
11013         (acoshl): Likewise.
11014         (asinf): Likewise.
11015         (asinl): Likewise.
11016         (atan2f): Likewise.
11017         (atan2l): Likewise.
11018         (atanhf): Likewise.
11019         (atanhl): Likewise.
11020         (coshf): Likewise.
11021         (coshl): Likewise.
11022         (expf): Likewise.
11023         (expl): Likewise.
11024         (fmodf): Likewise.
11025         (fmodl): Likewise.
11026         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11027         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11028         (j0l): Likewise.
11029         (y0f): Likewise.
11030         (y0l): Likewise.
11031         (j1f): Likewise.
11032         (j1l): Likewise.
11033         (y1f): Likewise.
11034         (y1l): Likewise.
11035         (jnf): Likewise.
11036         (jnl): Likewise.
11037         (ynf): Likewise.
11038         (ynl): Likewise.
11039         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11040         (lgammal_r): Likewise.
11041         (__lgamma_r_finite): New declaration.
11042         (__lgammaf_r_finite): Likewise.
11043         (__lgammal_r_finite): Likewise.
11044         (lgamma): Use __lgamma_r_finite.
11045         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11046         __lgammaf_r_finite.
11047         (lgammal): Condition definition on [__USE_ISOC99].  Use
11048         __lgammal_r_finite.
11049         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11050         __lgamma_r_finite.
11051         (gammaf): Condition definition on [__USE_ISOC99].  Use
11052         __lgammaf_r_finite.
11053         (gammal): Condition definition on [__USE_ISOC99].  Use
11054         __lgammal_r_finite.
11055         (logf): Condition declaration on [__USE_ISOC99].
11056         (logl): Likewise.
11057         (log10f): Likewise.
11058         (log10l): Likewise.
11059         (ldexpf): Likewise.
11060         (ldexpl): Likewise.
11061         (powf): Likewise.
11062         (powl): Likewise.
11063         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11064         __USE_ISOC99].
11065         (remainderf): Condition declaration on [__USE_ISOC99].
11066         (remainderl): Likewise.
11067         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11068         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11069         (scalbl): Likewise.
11070         (sinhf): Condition declaration on [__USE_ISOC99].
11071         (sinhl): Likewise.
11072         (sqrtf): Likewise.
11073         (sqrtl): Likewise.
11075 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11077         * sysdeps/arm/atomic-machine.h
11078         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11079         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11080         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11081         Remove conditional code.
11082         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11083         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11084         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11085         Change conditional to [__ASSEMBLER__].
11086         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11087         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11088         [!__ASSEMBLER__].
11089         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11090         code.
11091         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11092         conditional macro definitions.
11093         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11094         (__arch_compare_and_exchange_val_16_acq): Likewise.
11095         (__arch_compare_and_exchange_val_32_acq): Likewise.
11096         (atomic_exchange_and_add): Likewise.
11097         (atomic_add): Likewise.
11098         (atomic_add_negative): Likewise.
11099         (atomic_add_zero): Likewise.
11100         (atomic_bit_set): Likewise.
11101         (atomic_bit_test_set): Likewise.
11102         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11103         code unconditional.
11104         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11106         * math/test-math-errno.h: New file.
11107         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11108         empty.
11109         (TEST_ERRNO): New macro.
11110         (TEST_EXCEPTIONS): Likewise.
11111         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11112         (TEST_EXCEPTIONS): Likewise.
11113         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11114         * math/test-double.c: Include "test-math-errno.h".
11115         * math/test-float.c: Likewise.
11116         * math/test-ldouble.c: Likewise.
11117         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11118         code unconditional.
11119         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11120         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11121         unconditional.
11122         (test_errno): Only run code if TEST_ERRNO.
11123         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11125 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11127         * nptl/tst-once5.cc: Remove attribution.
11129 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11131         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11132         sqrt, tan, tanh, y0, y1 and yn.
11133         * math/auto-libm-test-out: Regenerated.
11134         * math/libm-test.inc (scalb_test_data): Add more tests.
11135         (scalbn_test_data): Likewise.
11136         (scalbln_test_data): Likewise.
11137         (signbit_test_data): Likewise.
11138         (sin_test_data): Likewise.
11139         (sincos_test_data): Likewise.
11140         (sinh_test_data): Likewise.
11141         (sqrt_test_data): Likewise.
11142         (tan_test_data): Likewise.
11143         (tanh_test_data): Likewise.
11144         (tgamma_test_data): Likewise.
11145         (y0_test_data): Likewise.
11146         (y1_test_data): Likewise.
11147         (yn_test_data): Likewise.
11148         (significand_test_data): Likewise.
11149         * sysdeps/i386/fpu/libm-test-ulps: Update.
11151 2015-11-03  David Kastrup  <dak@gnu.org>
11153         [BZ #18604]
11154         * assert/assert.h (assert): Don't macro-expand failed assertion
11155         expression in error message.
11156         * malloc/malloc.c (assert): Likewise.
11158 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11160         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11161         test.
11162         * configure: Regenerated.
11164 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11166         * math/libm-test.inc (modf_test_data): Add more tests.
11167         (nearbyint_test_data): Likewise.
11168         (nextafter_test_data): Likewise.
11169         (nexttoward_test_data): Likewise.
11170         (pow_test_data): Likewise.
11171         (remainder_test_data): Likewise.
11172         (remquo_test_data): Likewise.
11173         (rint_test_data): Likewise.
11175         [BZ #19201]
11176         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11177         Check for zero remainder in case of large exponents and ensure
11178         correct sign of result in that case.
11179         * math/libm-test.inc (remainder_test_data): Add more tests.
11181         [BZ #6799]
11182         * math/s_nextafter.c: Include <errno.h>.
11183         (__nextafter): Set errno on overflow and underflow.
11184         * math/s_nexttowardf.c: Include <errno.h>.
11185         (__nexttowardf): Set errno on overflow and underflow.
11186         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11187         (__nextafterl): Set errno on overflow and underflow.
11188         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11189         (__nexttoward): Set errno on overflow and underflow.
11190         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11191         (__nexttowardf): Set errno on overflow and underflow.
11192         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11193         (__nextafterf): Set errno on overflow and underflow.
11194         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11195         (__nextafterl): Set errno on overflow and underflow.
11196         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11197         (__nexttoward): Set errno on overflow and underflow.
11198         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11199         (__nexttowardf): Set errno on overflow and underflow.
11200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11201         (__nextafterl): Set errno on overflow and underflow.
11202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11203         (__nexttoward): Set errno on overflow and underflow.
11204         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11205         (__nexttowardf): Set errno on overflow and underflow.
11206         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11207         (__nexttoward): Set errno on overflow and underflow.
11208         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11209         (__nexttowardf): Set errno on overflow and underflow.
11210         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11211         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11212         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11213         (__nextafterl): Set errno on overflow and underflow.
11214         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11215         setting to be missing on overflow.  Add more tests.
11216         (nexttoward_test_data): Likewise.
11218         * configure.ac (libc_cv_initfini_array): Remove configure test.
11219         * configure: Regenerated.
11221 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11223         [BZ #19189]
11224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11225         non-finite argument handle arguments with negative sign.
11227         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11228         result from infinite argument.
11229         (j1_test_data): Likewise.
11230         (jn_test_data): Likewise.
11231         (y0_test_data): Likewise.
11232         (y1_test_data): Likewise.
11233         (yn_test_data): Likewise.
11235         [BZ #16171]
11236         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11237         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11238         * math/w_remainderf.c (dremf): Define as weak alias of
11239         __remainderf.
11240         * math/w_remainderl.c (dreml): Define as weak alias of
11241         __remainderl.
11242         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11243         __remainder.
11244         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11245         __remainderf.
11246         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11247         __remainderl.
11248         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11249         weak alias of remainderl.
11250         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11251         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11252         alias of __remainder.
11253         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11254         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11255         strong alias of __remainderl.
11256         (dreml): Use long_double_symbol.
11257         * math/Makefile (libm-calls): Remove w_drem.
11258         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11259         (CFLAGS-nldbl-drem.c): Remove variable.
11260         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11261         * math/w_drem.c: Remove file.
11262         * math/w_dremf.c: Likewise.
11263         * math/w_dreml.c: Likewise.
11264         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11265         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11266         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11268         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11269         * sysdeps/i386/configure: Regenerated.
11270         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11271         * sysdeps/x86_64/configure: Regenerated.
11273         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11274         test.
11275         (libc_cv_visibility_attribute): Likewise.
11276         (libc_cv_protected_data): Test unconditionally.
11277         (libc_cv_broken_visibility_attribute): Remove configure test.
11278         (libc_cv_have_sdata_section): Test unconditionally.
11279         * configure: Regenerated.
11281         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11282         * include/scratch_buffer.h: Include <stddef.h> instead of
11283         <libc-internal.h>.
11284         (struct scratch_buffer): Use max_align_t instead of
11285         libc_max_align_t.
11287 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11289         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11290         instead of extend_alloca.  Change control flow to avoid a goto.
11291         Remove assert which is trivially always true.
11293 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11295         [BZ #16068]
11296         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11297         (FE_ALL_EXCEPT_X86): New macro.
11298         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11299         FE_ALL_EXCEPT.  Ensure precision control is included in
11300         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11301         handle "denormal operand exception" and clear FZ and DAZ bits.
11302         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11303         (FE_ALL_EXCEPT_X86): New macro.
11304         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11305         FE_ALL_EXCEPT.  Ensure precision control is included in
11306         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11307         handle "denormal operand exception" and clear FZ and DAZ bits.
11308         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11309         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11310         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11311         test-fenv-x87 and test-fenv-sse-2.
11312         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11314         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11315         * math/test-double.h (BUILD_COMPLEX): New macro.
11316         * math/test-float.h (BUILD_COMPLEX): Likewise.
11317         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11319         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11320         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11321         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11323         instead of DBL_DENORM_MIN in comment.
11324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11325         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11326         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11327         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11329         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11331 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11333         [BZ# 19048]
11334         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11335         attached_threads member.
11336         (main_arena): Initialize attached_threads.
11337         * malloc/arena.c (list_lock): Update comment.
11338         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11339         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11340         (deattach_arena): New function.
11341         (_int_new_arena): Initialize arena reference count and deattach
11342         replaced arena.
11343         (get_free_list, reused_arena): Update reference count and deattach
11344         replaced arena.
11345         (arena_thread_freeres): Update arena reference count and only put
11346         unreferenced arenas on the free list.
11348 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11350         [BZ #19181]
11351         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11352         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11353         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11354         * math/test-fenv-clear-main.c: New file.
11355         * math/test-fenv-clear.c: Likewise.
11356         * math/Makefile (tests): Add test-fenv-clear.
11357         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11358         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11359         test-fenv-clear-sse.
11360         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11362         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11363         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11364         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11366 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11368         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11369         static libc.
11371 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11373         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11374         test.
11375         * sysdeps/i386/configure: Regenerated.
11376         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11377         test.
11378         * sysdeps/x86_64/configure: Regenerated.
11379         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11381         memset-avx2 unconditionally instead of conditionally on
11382         [$(config-cflags-avx2) = yes].
11383         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11384         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11385         unconditional.
11386         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11387         * sysdeps/x86_64/multiarch/memset_chk.S
11388         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11389         to [IS_IN (libc) && SHARED].
11391 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11393         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11394         configure test.
11395         * sysdeps/arm/configure: Regenerated.
11396         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11397         Define variable if not already defined.
11399         [BZ #17404]
11400         * sysdeps/mips/atomic-machine.h
11401         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11402         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11403         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11405         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11406         unconditional.
11407         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11408         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11409         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11410         unconditional.
11411         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11412         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11413         unconditional.
11414         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11415         * stdlib/setenv.c
11416         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11417         code unconditional.
11418         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11419         Remove conditional code.
11420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11421         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11422         unconditional.
11423         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11424         code.
11425         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11426         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11427         unconditional.
11428         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11429         code.
11430         * sysdeps/ieee754/ldbl-128/k_tanl.c
11431         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11432         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11433         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11434         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11435         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11436         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11437         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11438         unconditional.
11439         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11440         code.
11441         * sysdeps/ieee754/ldbl-96/k_tanl.c
11442         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11443         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11445         * nptl/tst-initializers1-c11.c: New file.
11446         * nptl/tst-initializers1-gnu11.c: Likewise.
11447         * nptl/Makefile (tests): Add these new tests.
11448         (CFLAGS-tst-initializers1-c11.c): New variable.
11449         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11451         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11452         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11453         instead of -std=gnu99.
11454         * configure.ac (systemtap): Test with -std=gnu11 instead of
11455         -std=gnu99.
11456         * configure: Regenerated.
11457         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11458         in compilation command in comment.
11460         * sysdeps/nptl/configure.ac: Remove file.
11461         * sysdeps/nptl/configure: Remove generated file.
11462         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11463         * configure: Regenerated.
11464         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11465         * config.make.in (have-forced-unwind): Remove variable.
11466         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11467         unconditional.
11468         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11469         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11470         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11471         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11472         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11473         unconditional.
11475 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11477         [BZ #19174]
11478         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11479         .skip_lock_out_of_tbegin_retries.
11480         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11481         (__lll_lock_elision): Likewise, and respect a value of
11482         try_tbegin <= 0.
11484 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11486         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11487         statement.
11489 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11491         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11492         variable.
11493         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11494         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11496         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11497         of -std=c1x -D_ISOC11_SOURCE.
11499         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11500         * configure: Regenerated.
11501         * manual/install.texi (Tools for Compilation): Document
11502         requirement for GCC 4.7 or later.
11503         * INSTALL: Regenerated.
11505 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11507         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11508         on CNT to a conditional jump to 'puntdata'.
11510 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11512         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11513         (libc_cv_gcc_tls_model_attr): Likewise.
11514         * configure: Regenerated.
11516         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11517         * configure: Regenerated.
11518         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11520 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11522         * configure.ac (old_glibc_headers): Remove configure test.
11523         * configure: Regenerated.
11524         * config.make.in (old-glibc-headers): Remove variable.
11525         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11526         (install): Remove dependency on remove-old-headers.
11527         (headers2_0): Remove variable.
11528         (remove-old-headers): Remove rule.
11530         * configure.ac (libc_cv_dot_text): Remove configure test.
11531         (libc_cv_asm_set_directive): Use .text instead of
11532         ${libc_cv_dot_text} in configure test.
11533         * configure: Regenerated.
11535 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11537         [BZ #19168]
11538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11540 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11542         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11543         not support static linking.
11544         * configure: Regenerate.
11546 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11548         * math/libm-test.inc (check_float_internal): Do not special-case
11549         errors up to 0.5 ulp.
11551         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11552         log2.
11553         * math/auto-libm-test-out: Regenerated.
11554         * math/libm-test.inc (MAX_EXP): New macro.
11555         (ilogb_test_data): Add more tests.
11556         (isfinite_test_data): Likewise.
11557         (isgreater_test_data): Likewise.
11558         (isgreaterequal_test_data): Likewise.
11559         (isinf_test_data): Likewise.
11560         (isless_test_data): Likewise.
11561         (islessequal_test_data): Likewise.
11562         (islessgreater_test_data): Likewise.
11563         (isnan_test_data): Likewise.
11564         (isnormal_test_data): Likewise.
11565         (issignaling_test_data): Likewise.
11566         (isunordered_test_data): Likewise.
11567         (j0_test_data): Likewise.
11568         (j1_test_data): Likewise.
11569         (jn_test_data): Likewise.
11570         (lgamma_test_data): Likewise.
11571         (log_test_data): Likewise.
11572         (log10_test_data): Likewise.
11573         (log1p_test_data): Likewise.
11574         (log2_test_data): Likewise.
11575         (logb_test_data): Likewise.
11576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11578         [BZ #18611]
11579         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11580         avoid excess range and precision on underflow.
11581         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11582         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11583         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11584         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11585         underflow.
11586         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11588         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11590         * math/auto-libm-test-in: Do not allow missing errno setting for
11591         tests of j1 and jn.
11592         * math/auto-libm-test-out: Regenerated.
11594 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11596         [BZ #15491]
11597         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11598         floating-point environment instead of clearing all exceptions.
11599         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11600         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11601         merging in "invalid" exceptions from frndint.
11602         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11603         * math/test-nearbyint-except.c: New file.
11604         * math/Makefile (tests): Add test-nearbyint-except.
11606 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11608         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11610         * sysdeps/tile/libm-test-ulps: Regenerated.
11612 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11615         (__NR_sync_file_range2): Assume it is always defined.
11616         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11617         (__NR_sync_file_range): Assume it is always defined.
11619 2015-10-22  Andreas Schwab  <schwab@suse.de>
11621         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11622         INTERNAL_SYSCALL_ERRNO.
11623         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11624         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11625         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11626         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11627         Likewise.
11628         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11630 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11632         * io/tst-fcntl.c (fd): New static variable.
11633         (do_prepare): Open temporary file here....
11634         (do_test): ...not here.
11636         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11638 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11640         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11641         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11642         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11643         Moved before "#ifdef __ASSEMBLER__".
11645 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11647         [BZ #19156]
11648         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11649         arguments very close to 0.
11651 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11653         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11654         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11656 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11658         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11659         New.  Defined for GCC 5 and above when not compiling for
11660         profiling.
11661         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11663         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11664         Renamed to ...
11665         (CFLAGS-epoll_pwait.o): This.
11666         (CFLAGS-mmap.c): Renamed to ...
11667         (CFLAGS-mmap.o): This.
11668         (CFLAGS-mmap64.c): Renamed to ...
11669         (CFLAGS-mmap64.o): This.
11670         (CFLAGS-epoll_pwait.os): New.
11671         (CFLAGS-mmap.os): Likewise.
11672         (CFLAGS-mmap64.os): Likewise.
11673         (CFLAGS-semtimedop.os): Likewise.
11674         (CFLAGS-semtimedop.c): Renamed to ...
11675         (CFLAGS-semtimedop.o): This.
11677 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11679         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11680         warning message.
11682 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11684         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11685         * Makefile ($(objpfx)c++-types-check.out): Filter out
11686         $(+gccwarn-c) instead of -Wstrict-prototypes.
11688         * io/fts.c (fts_open): Convert to prototype-style function
11689         definition.
11690         * malloc/mcheck.c (mcheck): Likewise.
11691         (mcheck_pedantic): Likewise.
11692         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11693         internal_function.
11694         (re_search_internal): Likewise.
11695         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11696         prototype-style function definition.
11697         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11698         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11699         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11700         (xdr_utmpptr): Likewise.
11701         (xdr_utmparr): Likewise.
11702         (xdr_utmpidle): Likewise.
11703         (xdr_utmpidleptr): Likewise.
11704         (xdr_utmpidlearr): Likewise.
11706         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11707         log, log10 and log2.
11708         * math/auto-libm-test-out: Regenerated.
11709         * math/libm-test.inc (fmod_test_data): Add more tests.
11710         (fpclassify_test_data): Likewise.
11711         (frexp_test_data): Likewise.
11712         (hypot_test_data): Likewise.
11713         (ilogb_test_data): Likewise.
11715 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11717         * debug/fortify_fail.c (__fortify_fail): Convert to
11718         prototype-style function definition.  Use internal_function.
11719         * libio/genops.c (save_for_backup): Convert to prototype-style
11720         function definition.
11721         * libio/wgenops.c (save_for_wbackup): Likewise.
11722         * login/grantpt.c (grantpt): Likewise.
11723         * login/ptsname.c (ptsname): Likewise.
11724         (__ptsname_r): Likewise.
11725         * login/unlockpt.c (unlockpt): Likewise.
11726         * mach/msgserver.c (__mach_msg_server): Likewise.
11727         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11728         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11729         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11730         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11731         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11732         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11733         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11734         Likewise.
11735         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11736         internal_function.
11737         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11738         prototype-style function definition.
11739         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11740         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11741         (__pthread_create_2_0): Likewise.
11742         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11743         * nptl/register-atfork.c (__register_atfork): Likewise.
11744         * posix/glob.c (glob): Likewise.
11745         * posix/regcomp.c (re_comp): Likewise.
11746         * posix/regexec.c (re_exec): Likewise.
11747         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11748         [!__STDC__]: Remove conditional code.
11749         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11750         [!__STDC__]: Remove conditional code.
11751         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11752         [!__STDC__]: Remove conditional code.
11753         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11754         [!__STDC__]: Remove conditional code.
11755         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11756         [!__STDC__]: Remove conditional code.
11757         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11758         [!__STDC__]: Remove conditional code.
11759         * stdlib/mul.c [__STDC__]: Make code unconditional.
11760         [!__STDC__]: Remove conditional code.
11761         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11762         [!__STDC__]: Remove conditional code.
11763         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11764         [!__STDC__]: Remove conditional code.
11765         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11766         function definition.
11767         (STRTOF): Likewise.
11768         * stdlib/strtod_l.c (__STRTOF): Likewise.
11769         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11770         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11771         (__strtol_l): Likewise.
11772         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11773         [!__STDC__]: Remove conditional code.
11774         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11775         definition.
11776         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11777         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11778         type.
11779         (__strcasecmp): Convert to prototype-style function definition.
11780         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11781         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11782         type.
11783         (__strncasecmp): Convert to prototype-style function definition.
11784         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11785         * sunrpc/xdr.c (xdr_union): Likewise.
11786         * sunrpc/xdr_array.c (xdr_array): Likewise.
11787         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11788         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11789         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11790         Likewise.
11791         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11792         Likewise.
11793         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11794         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11795         Likewise.
11796         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11797         (LOCALE_PARAM_PROTO): Likewise.
11798         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11799         argument type.
11800         (ut_argument_spec): Remove macro.
11801         (ut_argument_spec_iso): Rename to ut_argument_spec.
11802         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11803         prototype-style function definition.
11804         (memcpy_uppcase): Likewise.
11805         (__strftime_internal): Likewise.
11806         (my_strftime): Likewise.
11807         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11808         (LOCALE_PARAM_DECL): Likewise.
11809         [_LIBC] (LOCALE_PARAM): Include argument type.
11810         (__strptime_internal): Convert to prototype-style function
11811         definition.
11812         (strptime): Likewise.
11813         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11814         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11815         type.
11816         (__wcscasecmp): Convert to prototype-style function definition.
11817         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11818         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11819         type.
11820         (__wcsncasecmp): Convert to prototype-style function definition.
11822         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11823         function definition.
11824         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11825         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11826         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11827         * elf/dl-minimal.c (_itoa): Likewise.
11828         * hurd/hurdmalloc.c (malloc): Likewise.
11829         (free): Likewise.
11830         (realloc): Likewise.
11831         * inet/inet6_option.c (inet6_option_space): Likewise.
11832         (inet6_option_init): Likewise.
11833         (inet6_option_append): Likewise.
11834         (inet6_option_alloc): Likewise.
11835         (inet6_option_next): Likewise.
11836         (inet6_option_find): Likewise.
11837         * io/ftw.c (FTW_NAME): Likewise.
11838         (NFTW_NAME): Likewise.
11839         (NFTW_NEW_NAME): Likewise.
11840         (NFTW_OLD_NAME): Likewise.
11841         * libio/iofwide.c (_IO_fwide): Likewise.
11842         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11843         (_IO_str_init_static): Likewise.
11844         (_IO_str_init_readonly): Likewise.
11845         (_IO_str_overflow): Likewise.
11846         (_IO_str_underflow): Likewise.
11847         (_IO_str_count): Likewise.
11848         (_IO_str_seekoff): Likewise.
11849         (_IO_str_pbackfail): Likewise.
11850         (_IO_str_finish): Likewise.
11851         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11852         (_IO_wstr_overflow): Likewise.
11853         (_IO_wstr_underflow): Likewise.
11854         (_IO_wstr_count): Likewise.
11855         (_IO_wstr_seekoff): Likewise.
11856         (_IO_wstr_pbackfail): Likewise.
11857         (_IO_wstr_finish): Likewise.
11858         * locale/programs/localedef.c (normalize_codeset): Likewise.
11859         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11860         (add_locales_to_archive): Likewise.
11861         (delete_locales_from_archive): Likewise.
11862         * malloc/malloc.c (__libc_mallinfo): Likewise.
11863         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11864         * misc/tsearch.c (__tfind): Likewise.
11865         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11866         * nptl/pthread_attr_getdetachstate.c
11867         (__pthread_attr_getdetachstate): Likewise.
11868         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11869         Likewise.
11870         * nptl/pthread_attr_getinheritsched.c
11871         (__pthread_attr_getinheritsched): Likewise.
11872         * nptl/pthread_attr_getschedparam.c
11873         (__pthread_attr_getschedparam): Likewise.
11874         * nptl/pthread_attr_getschedpolicy.c
11875         (__pthread_attr_getschedpolicy): Likewise.
11876         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11877         Likewise.
11878         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11879         Likewise.
11880         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11881         Likewise.
11882         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11883         Likewise.
11884         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11885         (__pthread_attr_init_2_0): Likewise.
11886         * nptl/pthread_attr_setdetachstate.c
11887         (__pthread_attr_setdetachstate): Likewise.
11888         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11889         Likewise.
11890         * nptl/pthread_attr_setinheritsched.c
11891         (__pthread_attr_setinheritsched): Likewise.
11892         * nptl/pthread_attr_setschedparam.c
11893         (__pthread_attr_setschedparam): Likewise.
11894         * nptl/pthread_attr_setschedpolicy.c
11895         (__pthread_attr_setschedpolicy): Likewise.
11896         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11897         Likewise.
11898         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11899         Likewise.
11900         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11901         Likewise.
11902         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11903         Likewise.
11904         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11905         Likewise.
11906         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11907         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11908         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11909         use internal_function.
11910         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11911         prototype-style function definition.
11912         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11913         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11914         internal_function.
11915         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11916         Convert to prototype-style function definition.
11917         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11918         Likewise.
11919         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11920         Likewise.
11921         (__pthread_mutex_unlock): Likewise.
11922         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11923         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11924         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11925         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11926         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11927         * nss/makedb.c (process_input): Likewise.
11928         * posix/fnmatch.c (__strchrnul): Likewise.
11929         (__wcschrnul): Likewise.
11930         (fnmatch): Likewise.
11931         * posix/fnmatch_loop.c (FCT): Likewise.
11932         * posix/glob.c (globfree): Likewise.
11933         (__glob_pattern_type): Likewise.
11934         (__glob_pattern_p): Likewise.
11935         * posix/regcomp.c (re_compile_pattern): Likewise.
11936         (re_set_syntax): Likewise.
11937         (re_compile_fastmap): Likewise.
11938         (regcomp): Likewise.
11939         (regerror): Likewise.
11940         (regfree): Likewise.
11941         * posix/regexec.c (regexec): Likewise.
11942         (re_match): Likewise.
11943         (re_search): Likewise.
11944         (re_match_2): Likewise.
11945         (re_search_2): Likewise.
11946         (re_search_stub): Likewise.  Use internal_function
11947         (re_copy_regs): Likewise.
11948         (re_set_registers): Convert to prototype-style function
11949         definition.
11950         (prune_impossible_nodes): Likewise.  Use internal_function.
11951         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11952         prototype-style function definition.
11953         (inet_net_pton_ipv4): Likewise.
11954         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11955         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11956         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11957         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11958         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11959         Make variadic.
11960         * time/strptime_l.c (localtime_r): Convert to prototype-style
11961         function definition.
11962         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11963         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11964         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11965         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11967         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11968         definition.
11969         (_ufc_doit_r): Likewise.
11970         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11971         (_ufc_output_conversion_r): Likewise.
11972         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11973         * inet/rcmd.c (rcmd_af): Likewise.
11974         (rcmd): Likewise.
11975         (ruserok_af): Likewise.
11976         (ruserok): Likewise.
11977         (ruserok2_sa): Likewise.
11978         (ruserok_sa): Likewise.
11979         (iruserok_af): Likewise.
11980         (iruserok): Likewise.
11981         (__ivaliduser): Likewise.
11982         (__validuser2_sa): Likewise.
11983         * inet/rexec.c (rexec_af): Likewise.
11984         (rexec): Likewise.
11985         * inet/ruserpass.c (ruserpass): Likewise.
11986         * locale/programs/xmalloc.c (xcalloc): Likewise.
11987         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11988         * math/w_drem.c (__drem): Likewise.
11989         * math/w_dremf.c (__dremf): Likewise.
11990         * math/w_dreml.c (__dreml): Likewise.
11991         * misc/daemon.c (daemon): Likewise.
11992         * resolv/res_debug.c (p_fqnname): Likewise.
11993         * stdlib/div.c (div): Likewise.
11994         * string/memcmp.c (memcmp_bytes): Likewise.
11995         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11996         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11998         * crypt/cert.c (main): Convert to prototype-style function
11999         definition.
12000         * io/pipe.c (__pipe): Likewise.
12001         * io/pipe2.c (__pipe2): Likewise.
12002         * misc/futimesat.c (futimesat): Likewise.
12003         * misc/utimes.c (__utimes): Likewise.
12004         * posix/execve.c (__execve): Likewise.
12005         * posix/execvp.c (execvp): Likewise.
12006         * posix/execvpe.c (__execvpe): Likewise.
12007         * posix/fexecve.c (fexecve): Likewise.
12008         * socket/socketpair.c (socketpair): Likewise.
12009         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12010         * stdlib/erand48.c (erand48): Likewise.
12011         * stdlib/erand48_r.c (__erand48_r): Likewise.
12012         * stdlib/jrand48.c (jrand48): Likewise.
12013         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12014         * stdlib/lcong48.c (lcong48): Likewise.
12015         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12016         * stdlib/nrand48.c (nrand48): Likewise.
12017         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12018         * stdlib/seed48.c (seed48): Likewise.
12019         * stdlib/seed48_r.c (__seed48_r): Likewise.
12020         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12021         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12022         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12024 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12026         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12027         * configure: Regenerated.
12028         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12029         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12030         unconditional.
12031         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12032         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12033         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12034         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12035         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12036         unconditional.
12037         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12039         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12040         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12042         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12043         function definition.
12044         * crypt/crypt_util.c (__encrypt_r): Likewise.
12045         * libio/genops.c (_IO_no_init): Likewise.
12046         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12047         (_IO_old_fopencookie): Likewise.
12048         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12049         * libio/iogetline.c (_IO_getline): Likewise.
12050         (_IO_getline_info): Likewise.
12051         * libio/iogetwline.c (_IO_getwline): Likewise.
12052         (_IO_getwline_info): Likewise.
12053         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12054         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12055         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12056         (find_entry): Likewise.
12057         (iterate_table): Likewise.
12058         (lookup): Likewise.
12059         * login/forkpty.c (forkpty): Likewise.
12060         * misc/hsearch_r.c (__hsearch_r): Likewise.
12061         * misc/select.c (__select): Likewise.
12062         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12063         Likewise.
12064         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12065         Likewise.
12066         * nptl/old_pthread_cond_timedwait.c
12067         (__pthread_cond_timedwait_2_0): Likewise.
12068         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12069         * nptl/pthread_barrierattr_getpshared.c
12070         (pthread_barrierattr_getpshared): Likewise.
12071         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12072         Likewise.
12073         * nptl/pthread_mutex_setprioceiling.c
12074         (pthread_mutex_setprioceiling): Likewise.
12075         * nptl/pthread_mutexattr_getprioceiling.c
12076         (pthread_mutexattr_getprioceiling): Likewise.
12077         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12078         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12079         Likewise.
12080         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12081         Likewise.
12082         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12083         Likewise.
12084         * socket/recvfrom.c (__recvfrom): Likewise.
12085         * socket/sendto.c (__sendto): Likewise.
12086         * socket/setsockopt.c (__setsockopt): Likewise.
12087         * stdio-common/_itoa.c (_itoa): Likewise.
12088         * stdio-common/_itowa.c (_itowa): Likewise.
12089         * stdio-common/reg-printf.c (__register_printf_specifier):
12090         Likewise.
12091         (__register_printf_function): Likewise.
12092         * stdio-common/tempname.c (__path_search): Likewise.
12093         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12094         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12095         * stdlib/random_r.c (__initstate_r): Likewise.
12096         * stdlib/setenv.c (__add_to_environ): Likewise.
12097         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12098         * streams/getpmsg.c (getpmsg): Likewise.
12099         * streams/putmsg.c (putmsg): Likewise.
12100         * streams/putpmsg.c (putpmsg): Likewise.
12101         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12102         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12103         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12104         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12105         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12106         * sunrpc/svc_udp.c (cache_get): Likewise.
12107         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12108         * sysdeps/mach/hurd/getcwd.c
12109         (__canonicalize_directory_name_internal): Likewise.
12110         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12111         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12112         * sysdeps/mach/hurd/select.c (__select): Likewise.
12113         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12114         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12115         * sysdeps/sparc/nptl/pthread_barrier_init.c
12116         (__pthread_barrier_init): Likewise.
12117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12118         (__pthread_cond_timedwait): Likewise.
12119         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12120         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12123         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12124         Likewise.
12125         * sysvipc/semtimedop.c (semtimedop): Likewise.
12126         * time/setitimer.c (__setitimer): Likewise.
12127         * time/strftime_l.c (emacs_strftime): Likewise.
12129 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12131         * config.make.in (have-ssp): Delete.
12132         (stack-protector): New variable.
12133         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12134         cache test for -fstack-protector-strong.  Export stack_protector to
12135         the best ssp flag.
12136         * configure: Regenerated.
12137         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12138         * nscd/Makefile (CFLAGS-nscd): Likewise.
12139         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12141 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12143         [BZ #19122]
12144         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12145         attribute_hidden.
12147 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12149         [BZ #18743]
12150         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12151         code to...
12152         (ELIDE_LOCK): ...here.
12153         (__get_new_count): New function with part of the code from
12154         __elide_lock that updates the value of adapt_count after a
12155         transaction abort.
12156         (__elided_trylock): Moved this code to...
12157         (ELIDE_TRYLOCK): ...here.
12159 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12161         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12162         * configure: Regenerate.
12163         * INSTALL: Regenerate.
12164         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12165         and tweak grammar.
12167 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12169         * login/programs/pt_chown.c: Include signal.h
12170         (main): Clear any signal mask from the parent process.
12172 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12174         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12175         * configure: Regenerated.
12176         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12177         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12178         $(gnu89-inline-CFLAGS).
12180         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12181         test.
12182         (libc_cv_asm_weakext_directive): Likewise.
12183         * configure: Regenerated.
12184         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12185         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12186         * include/libc-symbols.h
12187         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12188         #error.
12189         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12190         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12192         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12193         prototype-style function definition.
12194         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12195         * sysdeps/i386/ffs.c (__ffs): Likewise.
12196         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12197         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12198         Likewise.
12199         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12200         Likewise.
12201         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12202         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12203         Likewise.
12204         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12205         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12206         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12207         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12208         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12209         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12210         * sysdeps/mach/hurd/access.c (__access): Likewise.
12211         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12212         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12213         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12214         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12215         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12216         (cthread_getspecific): Likewise.
12217         (cthread_setspecific): Likewise.
12218         (__libc_getspecific): Likewise.
12219         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12220         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12221         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12222         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12223         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12224         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12225         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12226         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12227         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12228         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12229         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12230         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12231         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12232         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12233         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12234         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12235         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12236         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12237         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12238         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12239         * sysdeps/mach/hurd/link.c (__link): Likewise.
12240         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12241         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12242         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12243         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12244         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12245         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12246         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12247         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12248         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12249         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12250         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12251         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12252         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12253         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12254         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12255         * sysdeps/mach/hurd/send.c (__send): Likewise.
12256         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12257         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12258         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12259         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12260         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12261         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12262         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12263         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12264         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12265         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12266         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12267         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12268         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12269         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12270         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12271         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12272         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12273         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12274         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12275         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12276         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12277         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12278         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12279         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12280         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12281         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12282         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12283         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12284         * sysdeps/posix/alarm.c (alarm): Likewise.
12285         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12286         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12287         * sysdeps/posix/dup.c (__dup): Likewise.
12288         * sysdeps/posix/dup2.c (__dup2): Likewise.
12289         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12290         (main): Likewise.
12291         * sysdeps/posix/flock.c (__flock): Likewise.
12292         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12293         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12294         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12295         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12296         * sysdeps/posix/isatty.c (__isatty): Likewise.
12297         * sysdeps/posix/killpg.c (killpg): Likewise.
12298         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12299         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12300         * sysdeps/posix/raise.c (raise): Likewise.
12301         * sysdeps/posix/remove.c (remove): Likewise.
12302         * sysdeps/posix/rename.c (rename): Likewise.
12303         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12304         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12305         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12306         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12307         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12308         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12309         * sysdeps/posix/sigset.c (sigset): Likewise.
12310         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12311         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12312         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12313         * sysdeps/posix/time.c (time): Likewise.
12314         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12315         (ttyname): Likewise.
12316         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12317         * sysdeps/posix/utime.c (utime): Likewise.
12318         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12319         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12320         Likewise.
12321         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12322         (pthread_spin_trylock): Likewise.
12323         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12324         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12325         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12326         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12327         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12328         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12329         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12330         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12331         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12332         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12333         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12334         * sysdeps/s390/ffs.c (__ffs): Likewise.
12335         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12336         Likewise.
12337         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12338         Likewise.
12339         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12340         Likewise.
12341         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12342         (pthread_barrier_destroy): Likewise.
12343         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12344         (__pthread_barrier_wait): Likewise.
12345         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12346         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12347         (__pthread_barrier_wait): Likewise.
12348         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12349         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12350         (memcmp_not_common_alignment): Likewise.
12351         (MEMCMP): Likewise.
12352         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12353         (_wordcopy_fwd_dest_aligned): Likewise.
12354         (_wordcopy_bwd_aligned): Likewise.
12355         (_wordcopy_bwd_dest_aligned): Likewise.
12356         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12357         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12358         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12359         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12360         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12361         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12362         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12363         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12364         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12365         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12366         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12367         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12368         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12369         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12370         * sysdeps/unix/stime.c (stime): Likewise.
12371         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12372         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12373         Likewise.  Use internal_function.
12374         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12375         Convert to prototype-style function definition.
12376         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12377         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12378         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12379         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12380         Likewise.  Use internal_function.
12381         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12382         prototype-style function definition
12383         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12384         Likewise.
12385         (__getlogin_r): Likewise.
12386         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12387         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12388         (__pthread_cond_broadcast): Likewise.
12389         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12390         (__pthread_cond_destroy): Likewise.
12391         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12392         (__pthread_cond_init): Likewise.
12393         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12394         (__pthread_cond_signal): Likewise.
12395         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12396         (__pthread_cond_wait): Likewise.
12397         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12398         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12399         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12400         Likewise.
12401         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12402         Likewise.
12403         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12404         Likewise.
12405         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12409         (__ftruncate64): Likewise.
12410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12411         (truncate64): Likewise.
12412         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12413         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12414         (pthread_getcpuclockid): Likewise.
12415         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12416         Likewise.
12417         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12418         Likewise.
12419         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12420         Likewise.
12421         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12422         Likewise.
12423         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12424         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12425         (__libc_sigaction): Likewise.
12426         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12427         Likewise.
12428         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12429         (__sigprocmask): Likewise.
12430         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12431         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12432         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12434         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12435         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12436         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12437         Likewise.
12438         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12439         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12440         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12441         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12445         (__sigprocmask): Likewise.
12446         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12447         (cfgetispeed): Likewise.
12448         (cfsetospeed): Likewise.
12449         (cfsetispeed): Likewise.
12450         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12451         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12452         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12453         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12454         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12455         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12456         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12457         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12458         Likewise.
12459         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12460         Likewise.
12461         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12462         Likewise.
12463         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12464         Likewise.
12465         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12469         sunrpc: Rewrite with explicit TLS access using __thread.
12470         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12471         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12472         directly.
12473         (__rpc_thread_variables): Access thread_rpc_vars directly.
12474         Eliminate redundant assignment of the tvp variable.
12476 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12478         malloc: Rewrite with explicit TLS access using __thread.
12479         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12480         (tsd_setspecific, tsd_getspecific): Remove.
12481         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12482         (tsd_setspecific, tsd_getspecific): Likewise.
12483         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12484         (tsd_setspecific, tsd_getspecific): Likewise.
12485         * malloc/arena.c (thread_arena): New TLS variable.
12486         (arena_key): Remove variable.
12487         (arena_get): Use thread_arena.
12488         (arena_lookup): Remove macro.
12489         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12490         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12491         (_int_new_arena, get_free_list, reused_arena)
12492         (arena_thread_freeres): Use thread_arena.
12493         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12494         tsd_getspecific, tsd_setspecific from safety annotations.
12495         (Allocating Cleared Space): Remove arena_lookup from safety
12496         annotations.
12498 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12500         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12501         struct scratch_buffer instead of extend_alloca.
12503 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12505         * sysdeps/unix/sysv/linux/kernel-features.h
12506         (__ASSUME_SOCK_CLOEXEC): Remove.
12507         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12508         (__have_paccept): Remove unused macro.
12509         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12510         * misc/syslog.c (openlog_internal): Remove fallback code for
12511         !__ASSUME_SOCK_CLOEXEC.
12512         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12513         missing SOCK_CLOEXEC.
12514         * nscd/connections.c (have_sock_cloexec): Remove definition.
12515         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12516         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12517         !__ASSUME_SOCK_CLOEXEC.
12518         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12519         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12520         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12521         definition.
12522         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12523         code for !__ASSUME_SOCK_CLOEXEC.
12525 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12527         [BZ #18982]
12528         * manual/stdio.texi (Variable Arguments Output): Add portability
12529         note, explaining that vfprintf clobbers the va_list pointer.
12531 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12533         * math/libm-test.inc (fabs_test_data): Add more tests.
12534         (fdim_test_data): Likewise.
12535         (fma_test_data): Likewise.
12536         (fmax_test_data): Likewise.
12537         (fmin_test_data): Likewise.
12538         (fmod_test_data): Likewise.
12540 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12542         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12543         data.
12545 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12547         * math/libm-test.inc (ceil_test_data): Add more tests and more
12548         expectations for "inexact".
12549         (floor_test_data): Add more tests.
12550         (round_test_data): Likewise.
12551         (trunc_test_data): Likewise.
12553         * crypt/cert.c (good_bye): Convert to prototype-style function
12554         definition.
12555         (get8): Likewise.
12556         (put8): Likewise.
12557         * crypt/crypt-entry.c (crypt): Likewise.
12558         (__fcrypt): Likewise.
12559         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12560         (_ufc_set_bits): Likewise.
12561         (_ufc_clearmem): Likewise.
12562         (__init_des_r): Likewise.
12563         (shuffle_sb): Likewise.
12564         (shuffle_sb): Likewise.
12565         (_ufc_setup_salt_r): Likewise.
12566         (_ufc_mk_keytab_r): Likewise.
12567         (_ufc_dofinalperm_r): Likewise.
12568         (encrypt): Likewise.
12569         (__setkey_r): Likewise.
12570         (setkey): Likewise.
12571         * crypt/md5.c (md5_init_ctx): Likewise.
12572         (md5_read_ctx): Likewise.
12573         (md5_finish_ctx): Likewise.
12574         (md5_stream): Likewise.
12575         (md5_buffer): Likewise.
12576         (md5_process_bytes): Likewise.
12577         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12578         (__sha256_finish_ctx): Likewise.
12579         (__sha256_process_bytes): Likewise.
12580         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12581         (__sha512_finish_ctx): Likewise.
12582         (__sha512_process_bytes): Likewise.
12583         * ctype/isctype.c (__isctype): Likewise.
12584         * debug/backtrace.c (__backtrace): Likewise.
12585         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12586         * debug/fgets_chk.c (__fgets_chk): Likewise.
12587         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12588         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12589         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12590         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12591         * debug/memset_chk.c (__memset_chk): Likewise.
12592         * debug/strcat_chk.c (__strcat_chk): Likewise.
12593         * debug/strncat_chk.c (__strncat_chk): Likewise.
12594         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12595         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12596         * dirent/dirfd.c (dirfd): Likewise.
12597         * dirent/getdents.c (__getdirentries): Likewise.
12598         * dirent/getdents64.c (getdirentries64): Likewise.
12599         * dirent/rewinddir.c (__rewinddir): Likewise.
12600         * dirent/seekdir.c (seekdir): Likewise.
12601         * dirent/telldir.c (telldir): Likewise.
12602         * elf/sln.c (makesymlinks): Likewise.
12603         (makesymlink): Likewise.
12604         * gmon/gmon.c (__moncontrol): Likewise.
12605         (__monstartup): Likewise.
12606         (write_hist): Likewise.
12607         (write_call_graph): Likewise.
12608         (write_bb_counts): Likewise.
12609         * grp/setgroups.c (setgroups): Likewise.
12610         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12611         * inet/inet_net.c (inet_network): Likewise.
12612         * inet/inet_netof.c (inet_netof): Likewise.
12613         * inet/rcmd.c (rresvport_af): Likewise.
12614         (rresvport): Likewise.
12615         * io/access.c (__access): Likewise.
12616         * io/chdir.c (__chdir): Likewise.
12617         * io/chmod.c (__chmod): Likewise.
12618         * io/chown.c (__chown): Likewise.
12619         * io/close.c (__close): Likewise.
12620         * io/creat.c (creat): Likewise.
12621         * io/creat64.c (creat64): Likewise.
12622         * io/dup.c (__dup): Likewise.
12623         * io/dup2.c (__dup2): Likewise.
12624         * io/dup3.c (__dup3): Likewise.
12625         * io/euidaccess.c (__euidaccess): Likewise.
12626         * io/faccessat.c (faccessat): Likewise.
12627         * io/fchmod.c (__fchmod): Likewise.
12628         * io/fchmodat.c (fchmodat): Likewise.
12629         * io/fchown.c (__fchown): Likewise.
12630         * io/fchownat.c (fchownat): Likewise.
12631         * io/fcntl.c (__fcntl): Likewise.
12632         * io/flock.c (__flock): Likewise.
12633         * io/fts.c (fts_load): Likewise.
12634         (fts_close): Likewise.
12635         (fts_read): Likewise.
12636         (fts_set): Likewise.
12637         (fts_children): Likewise.
12638         (fts_build): Likewise.
12639         (fts_stat): Likewise.
12640         (fts_sort): Likewise.
12641         (fts_alloc): Likewise.
12642         (fts_lfree): Likewise.
12643         (fts_palloc): Likewise.
12644         (fts_padjust): Likewise.
12645         (fts_maxarglen): Likewise.
12646         (fts_safe_changedir): Likewise.
12647         * io/getwd.c (getwd): Likewise.
12648         * io/isatty.c (__isatty): Likewise.
12649         * io/lchown.c (__lchown): Likewise.
12650         * io/link.c (__link): Likewise.
12651         * io/linkat.c (linkat): Likewise.
12652         * io/lseek.c (__libc_lseek): Likewise.
12653         * io/mkdir.c (__mkdir): Likewise.
12654         * io/mkdirat.c (mkdirat): Likewise.
12655         * io/mkfifo.c (mkfifo): Likewise.
12656         * io/mkfifoat.c (mkfifoat): Likewise.
12657         * io/open.c (__libc_open): Likewise.
12658         * io/open64.c (__libc_open64): Likewise.
12659         * io/readlink.c (__readlink): Likewise.
12660         * io/readlinkat.c (readlinkat): Likewise.
12661         * io/rmdir.c (__rmdir): Likewise.
12662         * io/symlink.c (__symlink): Likewise.
12663         * io/symlinkat.c (symlinkat): Likewise.
12664         * io/ttyname.c (ttyname): Likewise.
12665         * io/ttyname_r.c (__ttyname_r): Likewise.
12666         * io/umask.c (__umask): Likewise.
12667         * io/unlink.c (__unlink): Likewise.
12668         * io/unlinkat.c (unlinkat): Likewise.
12669         * io/utime.c (utime): Likewise.
12670         * libio/clearerr.c (clearerr): Likewise.
12671         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12672         * libio/feof.c (_IO_feof): Likewise.
12673         * libio/feof_u.c (feof_unlocked): Likewise.
12674         * libio/ferror.c (_IO_ferror): Likewise.
12675         * libio/ferror_u.c (ferror_unlocked): Likewise.
12676         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12677         * libio/fileno.c (__fileno): Likewise.
12678         * libio/fputc.c (fputc): Likewise.
12679         * libio/fputc_u.c (fputc_unlocked): Likewise.
12680         * libio/fputwc.c (fputwc): Likewise.
12681         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12682         * libio/freopen.c (freopen): Likewise.
12683         * libio/freopen64.c (freopen64): Likewise.
12684         * libio/fseek.c (fseek): Likewise.
12685         * libio/fseeko.c (fseeko): Likewise.
12686         * libio/fseeko64.c (fseeko64): Likewise.
12687         * libio/ftello.c (__ftello): Likewise.
12688         * libio/ftello64.c (ftello64): Likewise.
12689         * libio/fwide.c (fwide): Likewise.
12690         * libio/genops.c (_IO_un_link): Likewise.
12691         (_IO_link_in): Likewise.
12692         (_IO_least_marker): Likewise.
12693         (_IO_switch_to_main_get_area): Likewise.
12694         (_IO_switch_to_backup_area): Likewise.
12695         (_IO_switch_to_get_mode): Likewise.
12696         (_IO_free_backup_area): Likewise.
12697         (_IO_switch_to_put_mode): Likewise.
12698         (__overflow): Likewise.
12699         (__underflow): Likewise.
12700         (__uflow): Likewise.
12701         (_IO_setb): Likewise.
12702         (_IO_doallocbuf): Likewise.
12703         (_IO_default_underflow): Likewise.
12704         (_IO_default_uflow): Likewise.
12705         (_IO_default_xsputn): Likewise.
12706         (_IO_sgetn): Likewise.
12707         (_IO_default_xsgetn): Likewise.
12708         (_IO_sync): Likewise.
12709         (_IO_default_setbuf): Likewise.
12710         (_IO_default_seekpos): Likewise.
12711         (_IO_default_doallocate): Likewise.
12712         (_IO_init): Likewise.
12713         (_IO_old_init): Likewise.
12714         (_IO_default_sync): Likewise.
12715         (_IO_default_finish): Likewise.
12716         (_IO_default_seekoff): Likewise.
12717         (_IO_sputbackc): Likewise.
12718         (_IO_sungetc): Likewise.
12719         (_IO_set_column): Likewise.
12720         (_IO_set_column): Likewise.
12721         (_IO_adjust_column): Likewise.
12722         (_IO_get_column): Likewise.
12723         (_IO_init_marker): Likewise.
12724         (_IO_remove_marker): Likewise.
12725         (_IO_marker_difference): Likewise.
12726         (_IO_marker_delta): Likewise.
12727         (_IO_seekmark): Likewise.
12728         (_IO_unsave_markers): Likewise.
12729         (_IO_nobackup_pbackfail): Likewise.
12730         (_IO_default_pbackfail): Likewise.
12731         (_IO_default_seek): Likewise.
12732         (_IO_default_stat): Likewise.
12733         (_IO_default_read): Likewise.
12734         (_IO_default_write): Likewise.
12735         (_IO_default_showmanyc): Likewise.
12736         (_IO_default_imbue): Likewise.
12737         (_IO_iter_next): Likewise.
12738         (_IO_iter_file): Likewise.
12739         * libio/getc.c (_IO_getc): Likewise.
12740         * libio/getwc.c (_IO_getwc): Likewise.
12741         * libio/iofclose.c (_IO_new_fclose): Likewise.
12742         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12743         * libio/iofflush.c (_IO_fflush): Likewise.
12744         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12745         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12746         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12747         * libio/iofgets.c (_IO_fgets): Likewise.
12748         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12749         * libio/iofgetws.c (fgetws): Likewise.
12750         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12751         * libio/iofopen64.c (_IO_fopen64): Likewise.
12752         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12753         (_IO_cookie_write): Likewise.
12754         (_IO_cookie_seek): Likewise.
12755         (_IO_cookie_close): Likewise.
12756         (_IO_cookie_seekoff): Likewise.
12757         (_IO_old_cookie_seek): Likewise.
12758         * libio/iofputs.c (_IO_fputs): Likewise.
12759         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12760         * libio/iofputws.c (fputws): Likewise.
12761         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12762         * libio/iofread.c (_IO_fread): Likewise.
12763         * libio/iofread_u.c (__fread_unlocked): Likewise.
12764         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12765         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12766         * libio/ioftell.c (_IO_ftell): Likewise.
12767         * libio/iofwrite.c (_IO_fwrite): Likewise.
12768         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12769         * libio/iogets.c (_IO_gets): Likewise.
12770         * libio/iopadn.c (_IO_padn): Likewise.
12771         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12772         (_IO_new_popen): Likewise.
12773         (_IO_new_proc_close): Likewise.
12774         * libio/ioputs.c (_IO_puts): Likewise.
12775         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12776         (_IO_seekoff): Likewise.
12777         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12778         (_IO_seekpos): Likewise.
12779         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12780         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12781         * libio/ioungetc.c (_IO_ungetc): Likewise.
12782         * libio/ioungetwc.c (ungetwc): Likewise.
12783         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12784         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12785         * libio/iowpadn.c (_IO_wpadn): Likewise.
12786         * libio/libc_fatal.c (__libc_fatal): Likewise.
12787         * libio/memstream.c (__open_memstream): Likewise.
12788         (_IO_mem_sync): Likewise.
12789         (_IO_mem_finish): Likewise.
12790         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12791         (_IO_old_file_close_it): Likewise.
12792         (_IO_old_file_finish): Likewise.
12793         (_IO_old_file_fopen): Likewise.
12794         (_IO_old_file_attach): Likewise.
12795         (_IO_old_file_setbuf): Likewise.
12796         (_IO_old_do_write): Likewise.
12797         (old_do_write): Likewise.
12798         (_IO_old_file_underflow): Likewise.
12799         (_IO_old_file_overflow): Likewise.
12800         (_IO_old_file_sync): Likewise.
12801         (_IO_old_file_seekoff): Likewise.
12802         (_IO_old_file_write): Likewise.
12803         (_IO_old_file_xsputn): Likewise.
12804         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12805         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12806         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12807         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12808         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12809         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12810         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12811         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12812         (_IO_old_popen): Likewise.
12813         (_IO_old_proc_close): Likewise.
12814         * libio/oldpclose.c (__old_pclose): Likewise.
12815         * libio/pclose.c (__new_pclose): Likewise.
12816         * libio/peekc.c (_IO_peekc_locked): Likewise.
12817         * libio/putc.c (_IO_putc): Likewise.
12818         * libio/putc_u.c (putc_unlocked): Likewise.
12819         * libio/putchar.c (putchar): Likewise.
12820         * libio/putchar_u.c (putchar_unlocked): Likewise.
12821         * libio/putwc.c (putwc): Likewise.
12822         * libio/putwc_u.c (putwc_unlocked): Likewise.
12823         * libio/putwchar.c (putwchar): Likewise.
12824         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12825         * libio/rewind.c (rewind): Likewise.
12826         * libio/setbuf.c (setbuf): Likewise.
12827         * libio/setlinebuf.c (setlinebuf): Likewise.
12828         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12829         * libio/vscanf.c (_IO_vscanf): Likewise.
12830         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12831         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12832         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12833         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12834         (_IO_switch_to_main_wget_area): Likewise.
12835         (_IO_switch_to_wbackup_area): Likewise.
12836         (_IO_wsetb): Likewise.
12837         (_IO_wdefault_pbackfail): Likewise.
12838         (_IO_wdefault_finish): Likewise.
12839         (_IO_wdefault_uflow): Likewise.
12840         (__woverflow): Likewise.
12841         (__wuflow): Likewise.
12842         (__wunderflow): Likewise.
12843         (_IO_wdefault_xsputn): Likewise.
12844         (_IO_wdefault_xsgetn): Likewise.
12845         (_IO_wdoallocbuf): Likewise.
12846         (_IO_wdefault_doallocate): Likewise.
12847         (_IO_switch_to_wget_mode): Likewise.
12848         (_IO_free_wbackup_area): Likewise.
12849         (_IO_switch_to_wput_mode): Likewise.
12850         (_IO_sputbackwc): Likewise.
12851         (_IO_sungetwc): Likewise.
12852         (_IO_adjust_wcolumn): Likewise.
12853         (_IO_init_wmarker): Likewise.
12854         (_IO_wmarker_delta): Likewise.
12855         (_IO_seekwmark): Likewise.
12856         (_IO_unsave_wmarkers): Likewise.
12857         * libio/wmemstream.c (open_wmemstream): Likewise.
12858         (_IO_wmem_sync): Likewise.
12859         (_IO_wmem_finish): Likewise.
12860         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12861         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12862         * locale/programs/simple-hash.c (init_hash): Likewise.
12863         (delete_hash): Likewise.
12864         (insert_entry): Likewise.
12865         (set_entry): Likewise.
12866         (next_prime): Likewise.
12867         (is_prime): Likewise.
12868         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12869         (xmalloc): Likewise.
12870         (xrealloc): Likewise.
12871         * locale/programs/xstrdup.c (xstrdup): Likewise.
12872         * localedata/collate-test.c (xstrcoll): Likewise.
12873         * localedata/xfrm-test.c (xstrcmp): Likewise.
12874         * login/getlogin_r.c (__getlogin_r): Likewise.
12875         * login/getpt.c (__posix_openpt): Likewise.
12876         * login/login_tty.c (login_tty): Likewise.
12877         * login/setlogin.c (setlogin): Likewise.
12878         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12879         (mach_msg_destroy_port): Likewise.
12880         (mach_msg_destroy_memory): Likewise.
12881         * malloc/mcheck.c (flood): Likewise.
12882         * misc/acct.c (acct): Likewise.
12883         * misc/brk.c (__brk): Likewise.
12884         * misc/chflags.c (chflags): Likewise.
12885         * misc/chroot.c (chroot): Likewise.
12886         * misc/fchflags.c (fchflags): Likewise.
12887         * misc/fstab.c (getfsspec): Likewise.
12888         (getfsfile): Likewise.
12889         * misc/fsync.c (fsync): Likewise.
12890         * misc/ftruncate.c (__ftruncate): Likewise.
12891         * misc/ftruncate64.c (__ftruncate64): Likewise.
12892         * misc/getdomain.c (getdomainname): Likewise.
12893         (getdomainname): Likewise.
12894         * misc/gethostname.c (__gethostname): Likewise.
12895         * misc/getpass.c (getpass): Likewise.
12896         * misc/getttyent.c (skip): Likewise.
12897         (value): Likewise.
12898         * misc/gtty.c (gtty): Likewise.
12899         * misc/hsearch.c (hsearch): Likewise.
12900         (hcreate): Likewise.
12901         * misc/hsearch_r.c (__hcreate_r): Likewise.
12902         (__hdestroy_r): Likewise.
12903         * misc/ioctl.c (__ioctl): Likewise.
12904         * misc/mkdtemp.c (mkdtemp): Likewise.
12905         * misc/mkostemp.c (mkostemp): Likewise.
12906         * misc/mkostemp64.c (mkostemp64): Likewise.
12907         * misc/mkostemps.c (mkostemps): Likewise.
12908         * misc/mkostemps64.c (mkostemps64): Likewise.
12909         * misc/mkstemp.c (mkstemp): Likewise.
12910         * misc/mkstemp64.c (mkstemp64): Likewise.
12911         * misc/mkstemps.c (mkstemps): Likewise.
12912         * misc/mkstemps64.c (mkstemps64): Likewise.
12913         * misc/mktemp.c (__mktemp): Likewise.
12914         * misc/preadv.c (preadv): Likewise.
12915         * misc/preadv64.c (preadv64): Likewise.
12916         * misc/pwritev.c (pwritev): Likewise.
12917         * misc/pwritev64.c (pwritev64): Likewise.
12918         * misc/readv.c (__readv): Likewise.
12919         * misc/revoke.c (revoke): Likewise.
12920         * misc/setdomain.c (setdomainname): Likewise.
12921         * misc/setegid.c (setegid): Likewise.
12922         * misc/seteuid.c (seteuid): Likewise.
12923         * misc/sethostid.c (sethostid): Likewise.
12924         * misc/sethostname.c (sethostname): Likewise.
12925         * misc/setregid.c (__setregid): Likewise.
12926         * misc/setreuid.c (__setreuid): Likewise.
12927         * misc/sstk.c (sstk): Likewise.
12928         * misc/stty.c (stty): Likewise.
12929         * misc/syscall.c (syscall): Likewise.
12930         * misc/syslog.c (setlogmask): Likewise.
12931         * misc/truncate.c (__truncate): Likewise.
12932         * misc/truncate64.c (truncate64): Likewise.
12933         * misc/ualarm.c (ualarm): Likewise.
12934         * misc/usleep.c (usleep): Likewise.
12935         * misc/ustat.c (ustat): Likewise.
12936         * misc/writev.c (__writev): Likewise.
12937         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12938         * nptl/old_pthread_cond_broadcast.c
12939         (__pthread_cond_broadcast_2_0): Likewise.
12940         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12941         Likewise.
12942         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12943         Likewise.
12944         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12945         Likewise.
12946         * nptl/pt-raise.c (raise): Likewise.
12947         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12948         Likewise.
12949         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12950         * nptl/pthread_barrierattr_destroy.c
12951         (pthread_barrierattr_destroy): Likewise.
12952         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12953         Likewise.
12954         * nptl/pthread_barrierattr_setpshared.c
12955         (pthread_barrierattr_setpshared): Likewise.
12956         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12957         Likewise.
12958         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12959         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12960         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12961         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12962         Likewise.
12963         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12964         Likewise.
12965         * nptl/pthread_condattr_getpshared.c
12966         (pthread_condattr_getpshared): Likewise.
12967         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12968         Likewise.
12969         * nptl/pthread_condattr_setpshared.c
12970         (pthread_condattr_setpshared): Likewise.
12971         * nptl/pthread_detach.c (pthread_detach): Likewise.
12972         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12973         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12974         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12975         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12976         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12977         Likewise.
12978         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12979         Likewise.
12980         * nptl/pthread_mutex_getprioceiling.c
12981         (pthread_mutex_getprioceiling): Likewise.
12982         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12983         Likewise.
12984         * nptl/pthread_mutexattr_getprotocol.c
12985         (pthread_mutexattr_getprotocol): Likewise.
12986         * nptl/pthread_mutexattr_getpshared.c
12987         (pthread_mutexattr_getpshared): Likewise.
12988         * nptl/pthread_mutexattr_getrobust.c
12989         (pthread_mutexattr_getrobust): Likewise.
12990         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12991         Likewise.
12992         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12993         Likewise.
12994         * nptl/pthread_mutexattr_setprioceiling.c
12995         (pthread_mutexattr_setprioceiling): Likewise.
12996         * nptl/pthread_mutexattr_setprotocol.c
12997         (pthread_mutexattr_setprotocol): Likewise.
12998         * nptl/pthread_mutexattr_setpshared.c
12999         (pthread_mutexattr_setpshared): Likewise.
13000         * nptl/pthread_mutexattr_setrobust.c
13001         (pthread_mutexattr_setrobust): Likewise.
13002         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13003         Likewise.
13004         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13005         Likewise.
13006         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13007         Likewise.
13008         * nptl/pthread_rwlockattr_getkind_np.c
13009         (pthread_rwlockattr_getkind_np): Likewise.
13010         * nptl/pthread_rwlockattr_getpshared.c
13011         (pthread_rwlockattr_getpshared): Likewise.
13012         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13013         Likewise.
13014         * nptl/pthread_rwlockattr_setkind_np.c
13015         (pthread_rwlockattr_setkind_np): Likewise.
13016         * nptl/pthread_rwlockattr_setpshared.c
13017         (pthread_rwlockattr_setpshared): Likewise.
13018         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13019         Likewise.
13020         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13021         Likewise.
13022         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13023         Likewise.
13024         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13025         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13026         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13027         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13028         * nptl/sem_close.c (sem_close): Likewise.
13029         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13030         * nptl/sem_init.c (__old_sem_init): Likewise.
13031         * nptl/sigaction.c (__sigaction): Likewise.
13032         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13033         * posix/_exit.c (_exit): Likewise.
13034         * posix/alarm.c (alarm): Likewise.
13035         * posix/confstr.c (confstr): Likewise.
13036         * posix/fpathconf.c (__fpathconf): Likewise.
13037         * posix/getgroups.c (__getgroups): Likewise.
13038         * posix/getpgid.c (__getpgid): Likewise.
13039         * posix/group_member.c (__group_member): Likewise.
13040         * posix/pathconf.c (__pathconf): Likewise.
13041         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13042         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13043         * posix/setgid.c (__setgid): Likewise.
13044         * posix/setpgid.c (__setpgid): Likewise.
13045         * posix/setuid.c (__setuid): Likewise.
13046         * posix/sleep.c (__sleep): Likewise.
13047         * posix/sysconf.c (__sysconf): Likewise.
13048         * posix/times.c (__times): Likewise.
13049         * posix/uname.c (__uname): Likewise.
13050         * posix/waitid.c (__waitid): Likewise.
13051         * pwd/getpw.c (__getpw): Likewise.
13052         * resolv/base64.c (b64_pton): Likewise.
13053         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13054         * resolv/gethnamaddr.c (Dprintf): Likewise.
13055         (gethostbyname): Likewise.
13056         (gethostbyname2): Likewise.
13057         (gethostbyaddr): Likewise.
13058         (_sethtent): Likewise.
13059         (_gethtbyname): Likewise.
13060         (_gethtbyname2): Likewise.
13061         (_gethtbyaddr): Likewise.
13062         (map_v4v6_address): Likewise.
13063         (map_v4v6_hostent): Likewise.
13064         (addrsort): Likewise.
13065         (ht_sethostent): Likewise.
13066         (ht_gethostbyname): Likewise.
13067         (ht_gethostbyaddr): Likewise.
13068         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13069         (inet_net_ntop_ipv4): Likewise.
13070         * resolv/inet_neta.c (inet_neta): Likewise.
13071         * resolv/inet_ntop.c (inet_ntop): Likewise.
13072         (inet_ntop4): Likewise.
13073         (inet_ntop6): Likewise.
13074         * resolv/inet_pton.c (__inet_pton): Likewise.
13075         (inet_pton4): Likewise.
13076         (inet_pton6): Likewise.
13077         * resolv/res_debug.c (loc_aton): Likewise.
13078         (loc_ntoa): Likewise.
13079         * resource/getpriority.c (__getpriority): Likewise.
13080         * resource/getrusage.c (__getrusage): Likewise.
13081         * resource/nice.c (nice): Likewise.
13082         * resource/setpriority.c (__setpriority): Likewise.
13083         * resource/setrlimit64.c (setrlimit64): Likewise.
13084         * resource/vlimit.c (vlimit): Likewise.
13085         * resource/vtimes.c (vtimes): Likewise.
13086         * rt/aio_error.c (aio_error): Likewise.
13087         * rt/aio_return.c (aio_return): Likewise.
13088         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13089         * signal/kill.c (__kill): Likewise.
13090         * signal/killpg.c (killpg): Likewise.
13091         * signal/raise.c (raise): Likewise.
13092         * signal/sigaction.c (__sigaction): Likewise.
13093         * signal/sigaddset.c (sigaddset): Likewise.
13094         * signal/sigaltstack.c (sigaltstack): Likewise.
13095         * signal/sigandset.c (sigandset): Likewise.
13096         * signal/sigblock.c (__sigblock): Likewise.
13097         * signal/sigdelset.c (sigdelset): Likewise.
13098         * signal/sigempty.c (sigemptyset): Likewise.
13099         * signal/sigfillset.c (sigfillset): Likewise.
13100         * signal/sighold.c (sighold): Likewise.
13101         * signal/sigignore.c (sigignore): Likewise.
13102         * signal/sigintr.c (siginterrupt): Likewise.
13103         * signal/sigisempty.c (sigisemptyset): Likewise.
13104         * signal/sigismem.c (sigismember): Likewise.
13105         * signal/signal.c (signal): Likewise.
13106         * signal/sigorset.c (sigorset): Likewise.
13107         * signal/sigpause.c (__sigpause): Likewise.
13108         * signal/sigpending.c (sigpending): Likewise.
13109         * signal/sigprocmask.c (__sigprocmask): Likewise.
13110         * signal/sigrelse.c (sigrelse): Likewise.
13111         * signal/sigreturn.c (__sigreturn): Likewise.
13112         * signal/sigset.c (sigset): Likewise.
13113         * signal/sigsetmask.c (__sigsetmask): Likewise.
13114         * signal/sigstack.c (sigstack): Likewise.
13115         * signal/sigsuspend.c (__sigsuspend): Likewise.
13116         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13117         * signal/sysv_signal.c (__sysv_signal): Likewise.
13118         * socket/accept.c (accept): Likewise.
13119         * socket/accept4.c (__libc_accept4): Likewise.
13120         * socket/bind.c (__bind): Likewise.
13121         * socket/connect.c (__connect): Likewise.
13122         * socket/getpeername.c (getpeername): Likewise.
13123         * socket/getsockname.c (__getsockname): Likewise.
13124         * socket/getsockopt.c (getsockopt): Likewise.
13125         * socket/listen.c (__listen): Likewise.
13126         * socket/recv.c (__recv): Likewise.
13127         * socket/recvmsg.c (__recvmsg): Likewise.
13128         * socket/send.c (__send): Likewise.
13129         * socket/sendmsg.c (__sendmsg): Likewise.
13130         * socket/shutdown.c (shutdown): Likewise.
13131         * socket/sockatmark.c (sockatmark): Likewise.
13132         * socket/socket.c (__socket): Likewise.
13133         * stdio-common/ctermid.c (ctermid): Likewise.
13134         * stdio-common/cuserid.c (cuserid): Likewise.
13135         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13136         * stdio-common/remove.c (remove): Likewise.
13137         * stdio-common/rename.c (rename): Likewise.
13138         * stdio-common/renameat.c (renameat): Likewise.
13139         * stdio-common/tempname.c (__gen_tempname): Likewise.
13140         * stdio-common/xbug.c (InitBuffer): Likewise.
13141         (AppendToBuffer): Likewise.
13142         (ReadFile): Likewise.
13143         * stdlib/a64l.c (a64l): Likewise.
13144         * stdlib/drand48_r.c (drand48_r): Likewise.
13145         * stdlib/getcontext.c (getcontext): Likewise.
13146         * stdlib/getenv.c (getenv): Likewise.
13147         * stdlib/l64a.c (l64a): Likewise.
13148         * stdlib/llabs.c (llabs): Likewise.
13149         * stdlib/lldiv.c (lldiv): Likewise.
13150         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13151         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13152         * stdlib/putenv.c (putenv): Likewise.
13153         * stdlib/random.c (__srandom): Likewise.
13154         (__initstate): Likewise.
13155         (__setstate): Likewise.
13156         * stdlib/random_r.c (__srandom_r): Likewise.
13157         (__setstate_r): Likewise.
13158         (__random_r): Likewise.
13159         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13160         * stdlib/setcontext.c (setcontext): Likewise.
13161         * stdlib/setenv.c (setenv): Likewise.
13162         (unsetenv): Likewise.
13163         * stdlib/srand48.c (srand48): Likewise.
13164         * stdlib/srand48_r.c (__srand48_r): Likewise.
13165         * stdlib/swapcontext.c (swapcontext): Likewise.
13166         * stdlib/system.c (__libc_system): Likewise.
13167         * stdlib/tst-strtod.c (expand): Likewise.
13168         * stdlib/tst-strtol.c (expand): Likewise.
13169         * stdlib/tst-strtoll.c (expand): Likewise.
13170         * streams/fattach.c (fattach): Likewise.
13171         * streams/fdetach.c (fdetach): Likewise.
13172         * streams/getmsg.c (getmsg): Likewise.
13173         * streams/isastream.c (isastream): Likewise.
13174         * string/ffs.c (__ffs): Likewise.
13175         * string/ffsll.c (ffsll): Likewise.
13176         * string/memcmp.c (memcmp_common_alignment): Likewise.
13177         (memcmp_not_common_alignment): Likewise.
13178         (MEMCMP): Likewise.
13179         * string/memcpy.c (memcpy): Likewise.
13180         * string/memmove.c (MEMMOVE): Likewise.
13181         * string/memset.c (memset): Likewise.
13182         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13183         * string/strchrnul.c (STRCHRNUL): Likewise.
13184         * string/strerror.c (strerror): Likewise.
13185         * string/strndup.c (__strndup): Likewise.
13186         * string/strverscmp.c (__strverscmp): Likewise.
13187         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13188         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13189         (clnttcp_freeres): Likewise.
13190         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13191         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13192         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13193         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13194         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13195         (xdr_callhdr): Likewise.
13196         * sunrpc/rpcinfo.c (udpping): Likewise.
13197         (tcpping): Likewise.
13198         (pstatus): Likewise.
13199         (pmapdump): Likewise.
13200         (brdcst): Likewise.
13201         (deletereg): Likewise.
13202         (getprognum): Likewise.
13203         (getvers): Likewise.
13204         (get_inet_address): Likewise.
13205         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13206         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13207         (svcudp_stat): Likewise.
13208         (svcudp_recv): Likewise.
13209         (svcudp_reply): Likewise.
13210         (svcudp_getargs): Likewise.
13211         (svcudp_freeargs): Likewise.
13212         (svcudp_destroy): Likewise.
13213         * sunrpc/xdr.c (xdr_bytes): Likewise.
13214         (xdr_netobj): Likewise.
13215         (xdr_string): Likewise.
13216         (xdr_wrapstring): Likewise.
13217         * sunrpc/xdr_float.c (xdr_float): Likewise.
13218         (xdr_double): Likewise.
13219         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13220         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13221         * sysvipc/ftok.c (ftok): Likewise.
13222         * sysvipc/msgctl.c (msgctl): Likewise.
13223         * sysvipc/msgget.c (msgget): Likewise.
13224         * sysvipc/msgrcv.c (msgrcv): Likewise.
13225         * sysvipc/msgsnd.c (msgsnd): Likewise.
13226         * sysvipc/semget.c (semget): Likewise.
13227         * sysvipc/semop.c (semop): Likewise.
13228         * sysvipc/shmat.c (shmat): Likewise.
13229         * sysvipc/shmctl.c (shmctl): Likewise.
13230         * sysvipc/shmdt.c (shmdt): Likewise.
13231         * sysvipc/shmget.c (shmget): Likewise.
13232         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13233         * termios/speed.c (cfgetospeed): Likewise.
13234         (cfgetispeed): Likewise.
13235         (cfsetospeed): Likewise.
13236         (cfsetispeed): Likewise.
13237         * termios/tcflow.c (tcflow): Likewise.
13238         * termios/tcflush.c (tcflush): Likewise.
13239         * termios/tcgetattr.c (__tcgetattr): Likewise.
13240         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13241         * termios/tcgetsid.c (tcgetsid): Likewise.
13242         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13243         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13244         * time/adjtime.c (__adjtime): Likewise.
13245         * time/dysize.c (dysize): Likewise.
13246         * time/ftime.c (ftime): Likewise.
13247         * time/getitimer.c (__getitimer): Likewise.
13248         * time/gettimeofday.c (__gettimeofday): Likewise.
13249         * time/gmtime.c (__gmtime_r): Likewise.
13250         (gmtime): Likewise.
13251         * time/localtime.c (__localtime_r): Likewise.
13252         (localtime): Likewise.
13253         * time/offtime.c (__offtime): Likewise.
13254         * time/settimeofday.c (__settimeofday): Likewise.
13255         * time/stime.c (stime): Likewise.
13256         * time/strftime_l.c (tm_diff): Likewise.
13257         (iso_week_days): Likewise.
13258         * time/strptime.c (strptime): Likewise.
13259         * time/time.c (time): Likewise.
13260         * time/timespec_get.c (timespec_get): Likewise.
13261         * time/tzset.c (tzset_internal): Likewise.
13262         (compute_change): Likewise.
13263         (__tz_compute): Likewise.
13264         * wcsmbs/btowc.c (__btowc): Likewise.
13265         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13266         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13267         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13268         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13269         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13270         * wcsmbs/wcscat.c (__wcscat): Likewise.
13271         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13272         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13273         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13274         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13275         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13276         * wcsmbs/wcslen.c (__wcslen): Likewise.
13277         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13278         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13279         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13280         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13281         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13282         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13283         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13284         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13285         * wcsmbs/wcstok.c (wcstok): Likewise.
13286         * wcsmbs/wctob.c (wctob): Likewise.
13287         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13288         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13289         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13290         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13291         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13292         * wcsmbs/wmemset.c (__wmemset): Likewise.
13293         * wctype/wcfuncs.c (__towlower): Likewise.
13294         (__towupper): Likewise.
13296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13297         (lll_unlock_elision): Add adapt_count parameter.
13299 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13301         * sysdeps/nptl/configure.ac: Do not give errors based on the
13302         results of top-level configure tests.
13303         * sysdeps/nptl/configure: Regenerated.
13305         * configure.ac (libc_cv_Bgroup): Remove configure test.
13306         * configure: Regenerated.
13307         * config.make.in (have-Bgroup): Remove variable.
13309         * configure.ac (sizeof_long_double): Remove configure test.
13310         * configure: Regenerated.
13311         * config.make.in (sizeof-long-double): Remove variable.
13313         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13314         * configure: Regenerated.
13315         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13316         variable.
13317         (exceptions): Likewise.
13318         * sysdeps/arm/configure: Regenerated.
13319         * config.make.in (exceptions): Remove variable.
13320         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13321         $(exceptions).
13322         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13323         (CFLAGS-vdprintf_chk.c): Likewise.
13324         (CFLAGS-printf_chk.c): Likewise.
13325         (CFLAGS-fprintf_chk.c): Likewise.
13326         (CFLAGS-vprintf_chk.c): Likewise.
13327         (CFLAGS-vfprintf_chk.c): Likewise.
13328         (CFLAGS-gets_chk.c): Likewise.
13329         (CFLAGS-fgets_chk.c): Likewise.
13330         (CFLAGS-fgets_u_chk.c): Likewise.
13331         (CFLAGS-fread_chk.c): Likewise.
13332         (CFLAGS-fread_u_chk.c): Likewise.
13333         (CFLAGS-wprintf_chk.c): Likewise.
13334         (CFLAGS-fwprintf_chk.c): Likewise.
13335         (CFLAGS-vwprintf_chk.c): Likewise.
13336         (CFLAGS-vfwprintf_chk.c): Likewise.
13337         (CFLAGS-fgetws_chk.c): Likewise.
13338         (CFLAGS-fgetws_u_chk.c): Likewise.
13339         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13340         (CFLAGS-fputc.c): Likewise.
13341         (CFLAGS-fputwc.c): Likewise.
13342         (CFLAGS-freopen64.c): Likewise.
13343         (CFLAGS-freopen.c): Likewise.
13344         (CFLAGS-fseek.c): Likewise.
13345         (CFLAGS-fseeko64.c): Likewise.
13346         (CFLAGS-fseeko.c): Likewise.
13347         (CFLAGS-ftello64.c): Likewise.
13348         (CFLAGS-ftello.c): Likewise.
13349         (CFLAGS-fwide.c): Likewise.
13350         (CFLAGS-genops.c): Likewise.
13351         (CFLAGS-getc.c): Likewise.
13352         (CFLAGS-getchar.c): Likewise.
13353         (CFLAGS-getwc.c): Likewise.
13354         (CFLAGS-getwchar.c): Likewise.
13355         (CFLAGS-iofclose.c): Likewise.
13356         (CFLAGS-iofflush.c): Likewise.
13357         (CFLAGS-iofgetpos64.c): Likewise.
13358         (CFLAGS-iofgetpos.c): Likewise.
13359         (CFLAGS-iofgets.c): Likewise.
13360         (CFLAGS-iofgetws.c): Likewise.
13361         (CFLAGS-iofputs.c): Likewise.
13362         (CFLAGS-iofputws.c): Likewise.
13363         (CFLAGS-iofread.c): Likewise.
13364         (CFLAGS-iofsetpos64.c): Likewise.
13365         (CFLAGS-iofsetpos.c): Likewise.
13366         (CFLAGS-ioftell.c): Likewise.
13367         (CFLAGS-iofwrite.c): Likewise.
13368         (CFLAGS-iogetdelim.c): Likewise.
13369         (CFLAGS-iogetline.c): Likewise.
13370         (CFLAGS-iogets.c): Likewise.
13371         (CFLAGS-iogetwline.c): Likewise.
13372         (CFLAGS-ioputs.c): Likewise.
13373         (CFLAGS-ioseekoff.c): Likewise.
13374         (CFLAGS-ioseekpos.c): Likewise.
13375         (CFLAGS-iosetbuffer.c): Likewise.
13376         (CFLAGS-iosetvbuf.c): Likewise.
13377         (CFLAGS-ioungetc.c): Likewise.
13378         (CFLAGS-ioungetwc.c): Likewise.
13379         (CFLAGS-oldfileops.c): Likewise.
13380         (CFLAGS-oldiofclose.c): Likewise.
13381         (CFLAGS-oldiofgetpos64.c): Likewise.
13382         (CFLAGS-oldiofgetpos.c): Likewise.
13383         (CFLAGS-oldiofsetpos64.c): Likewise.
13384         (CFLAGS-oldiofsetpos.c): Likewise.
13385         (CFLAGS-peekc.c): Likewise.
13386         (CFLAGS-putc.c): Likewise.
13387         (CFLAGS-putchar.c): Likewise.
13388         (CFLAGS-putwc.c): Likewise.
13389         (CFLAGS-putwchar.c): Likewise.
13390         (CFLAGS-rewind.c): Likewise.
13391         (CFLAGS-wfileops.c): Likewise.
13392         (CFLAGS-wgenops.c): Likewise.
13393         (CFLAGS-oldiofopen.c): Likewise.
13394         (CFLAGS-iofopen.c): Likewise.
13395         (CFLAGS-iofopen64.c): Likewise.
13396         (CFLAGS-oldtmpfile.c): Likewise.
13397         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13398         (CFLAGS-fprintf.c): Likewise.
13399         (CFLAGS-printf.c): Likewise.
13400         (CFLAGS-vfwprintf.c): Likewise.
13401         (CFLAGS-vfscanf.c): Likewise.
13402         (CFLAGS-vfwscanf.c): Likewise.
13403         (CFLAGS-fscanf.c): Likewise.
13404         (CFLAGS-scanf.c): Likewise.
13405         (CFLAGS-isoc99_vfscanf.c): Likewise.
13406         (CFLAGS-isoc99_vscanf.c): Likewise.
13407         (CFLAGS-isoc99_fscanf.c): Likewise.
13408         (CFLAGS-isoc99_scanf.c): Likewise.
13409         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13410         (CFLAGS-isoc99_fwscanf.c): Likewise.
13411         (CFLAGS-isoc99_vwscanf.c): Likewise.
13412         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13414         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13415         after mkstemp64.
13416         * login/tst-utmp.c (do_prepare): Likewise.
13417         * rt/tst-aio.c (do_prepare): Likewise.
13418         * rt/tst-aio64.c (do_prepare): Likewise.
13420 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13422         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13423         (__lll_lock_elision): Remove adapt_count decrement...
13424         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13425         (__lll_trylock_elision): Likewise.
13426         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13427         (__lll_unlock_elision): ... to here. And utilize
13428         new adapt_count parameter.
13429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13430         (__lll_unlock_elision): Update to include adapt_count
13431         parameter.
13432         (lll_unlock_elision): Pass pointer to adapt_count
13433         variable.
13435 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13437         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13438         Add elision adapt_count parameter to list of arguments.
13439         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13440         (lll_unlock_elision): Update with new parameter list
13441         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13442         (lll_unlock_elision): Likewise.
13443         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13444         (lll_unlock_elision): Likewise.
13446 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13448         [BZ #19122]
13449         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13450         attribute_hidden.
13452         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13453         attribute_hidden.
13454         [IS_IN (rtld)] (__strdup): Likewise.
13455         [IS_IN (rtld)] (__strerror_r): Likewise.
13456         [IS_IN (rtld)] (__strsep_g): Likewise.
13457         [IS_IN (rtld)] (memchr): Likewise.
13458         [IS_IN (rtld)] (memcmp): Likewise.
13459         [IS_IN (rtld)] (memcpy): Likewise.
13460         [IS_IN (rtld)] (memmove): Likewise.
13461         [IS_IN (rtld)] (memset): Likewise.
13462         [IS_IN (rtld)] (rawmemchr): Likewise.
13463         [IS_IN (rtld)] (stpcpy): Likewise.
13464         [IS_IN (rtld)] (strchr): Likewise.
13465         [IS_IN (rtld)] (strcmp): Likewise.
13466         [IS_IN (rtld)] (strlen): Likewise.
13467         [IS_IN (rtld)] (strnlen): Likewise.
13468         [IS_IN (rtld)] (strsep): Likewise.
13470         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13471         attribute_hidden.
13472         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13474         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13475         attribute_hidden.
13476         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13478         * include/setjmp.h (__longjmp): Add attribute_hidden.
13479         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13481         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13482         Add attribute_hidden.
13484         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13485         [IS_IN (rtld)] (__open): Likewise.
13486         [IS_IN (rtld)] (__fcntl): Likewise.
13488         * include/dirent.h (__opendirat): Add attribute_hidden.
13489         (__getdents): Likewise.
13490         (__getdents64): Likewise.
13491         (__alloc_dir): Likewise.
13492         [IS_IN (rtld)] (__closedir): Likewise.
13493         [IS_IN (rtld)] (__fdopendir): Likewise.
13494         [IS_IN (rtld)] (__readdir): Likewise.
13495         [IS_IN (rtld)] (__readdir64): Likewise.
13496         [IS_IN (rtld)] (__rewinddir): Likewise.
13498         * include/dlfcn.h (_dl_catch_error): Moved to ...
13499         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13500         attribute_hidden.
13502         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13503         (_itoa_word): Likewise.
13505         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13506         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13507         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13508         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13509         (_dl_higher_prime_number): Likewise.
13510         (_dl_debug_printf_c): Likewise.
13511         (_dl_signal_cerror): Likewise.
13512         (_dl_receive_error): Likewise.
13513         (_dl_reloc_bad_type): Likewise.
13514         (_dl_resolve_conflicts): Likewise.
13515         (_dl_check_all_versions): Likewise.
13516         (_dl_check_map_versions): Likewise.
13517         (_dl_sort_fini): Likewise.
13518         (_dl_debug_initialize): Likewise.
13519         (_dl_init_paths): Likewise.
13520         (_dl_show_auxv): Likewise.
13521         (_dl_next_ld_env_entry): Likewise.
13522         (_dl_important_hwcaps): Likewise.
13523         (_dl_load_cache_lookup): Likewise.
13524         (_dl_update_slotinfo): Likewise.
13525         (_dl_show_scope): Likewise.
13527         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13528         attribute_hidden.
13529         (_wordcopy_fwd_dest_aligned): Likewise.
13530         (_wordcopy_bwd_aligned): Likewise.
13531         (_wordcopy_bwd_dest_aligned): Likewise.
13533         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13534         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13535         Likewise.
13536         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13537         Likewise.
13538         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13540 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13543         GCC 5 requirement.
13545 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13547         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13548         test.
13549         * sysdeps/i386/configure: Regenerated.
13550         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13551         code unconditional.
13553         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13554         test.
13555         (libc_cv_asm_popsection_directive): Likewise.
13556         * configure: Regenerated.
13557         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13558         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13559         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13560         (__make_section_unallocated): Make definition unconditional.
13561         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13562         Remove conditional definition.
13563         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13564         (__make_section_unallocated): Likewise.
13566         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13567         * configure: Regenerated.
13568         * config.make.in (static-libgcc): Remove variable.
13569         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13570         $(static-libgcc).
13571         (build-module-helper): Likewise.
13573         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13574         * configure: Regenerated.
13576 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13578         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13579         (struct char_buffer): New type.
13580         (char_buffer_start, char_buffer_size, char_buffer_error)
13581         (char_buffer_rewind, char_buffer_add): New functions.
13582         (ADDW): Remove macro, replaced by the char_buffer_add function.
13583         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13584         of extend_alloca.  Make control flow more explicit.
13586 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13588         [BZ #19137]
13589         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13590         Add -fomit-frame-pointer.
13591         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13593 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13595         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13596         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13598         only if !__GNUC_PREREQ (5,0).
13599         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13600         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13601         (INTERNAL_SYSCALL_NCS): Likewise.
13602         (LOADREGS_0): New macro for GCC 5.
13603         (ASMARGS_0): Likewise.
13604         (LOADREGS_1): Likewise.
13605         (ASMARGS_1): Likewise.
13606         (LOADREGS_2): Likewise.
13607         (ASMARGS_2): Likewise.
13608         (LOADREGS_3): Likewise.
13609         (ASMARGS_3): Likewise.
13610         (LOADREGS_4): Likewise.
13611         (ASMARGS_4): Likewise.
13612         (LOADREGS_5): Likewise.
13613         (ASMARGS_5): Likewise.
13614         (LOADREGS_6): Likewise.
13615         (ASMARGS_6): Likewise.
13617 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13619         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13620         -fomit-frame-pointer.
13621         (CFLAGS-mmap64.c): Likewise.
13622         (CFLAGS-semtimedop.c): Likewise.
13623         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13624         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13625         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13626         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13628 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13630         [BZ #18928]
13631         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13632         _dl_pointer_guard member.
13633         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13634         initializer.
13635         (security_init): Always set up pointer guard.
13636         (process_envvars): Do not process LD_POINTER_GUARD.
13638 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13640         [BZ #19134]
13641         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13642         (.LC2): Likewise.
13643         (.LC3): Likewise.
13644         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13646 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13648         [BZ #19129]
13649         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13650         r0 and r1.
13652 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13654         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13656 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13658         * include/stap-probe.h: Fix macro definition formatting.
13660 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13662         [BZ #19074]
13663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13664         load and store num_ifs.
13666 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13668         [BZ #18822]
13669         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13670         (__sched_getaffinity_new): Add libc_hidden_proto and
13671         libc_hidden_def.
13673 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13675         [BZ #19007]
13676         * scripts/localplt.awk: Also allow GOT references.
13677         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13678         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13679         with "+ REL R_386_GLOB_DAT".
13680         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13681         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13683 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13685         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13686         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13687         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13688         Likewise.
13689         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13690         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13691         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13692         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13693         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13694         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13695         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13696         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13697         Likewise.
13698         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13700 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #19125]
13703         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13704         <math_private.h> and <stdint.h>.
13705         (__llround): Avoid conversions to and from long long int, and
13706         subtractions, where those might raise spurious exceptions.
13707         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13708         <math_private.h> and <stdint.h>.
13709         (__llroundf): Avoid conversions to and from long long int, and
13710         subtractions, where those might raise spurious exceptions.
13712 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13714         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13715         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13716         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13717         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13718         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13719         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13720         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13721         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13722         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13723         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13724         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13725         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13726         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13727         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13728         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13729         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13730         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13731         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13732         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13733         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13734         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13735         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13736         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13737         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13738         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13739         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13740         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13741         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13742         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13743         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13744         (__xstat64_conv): Likewise.
13745         (__xstat32_conv): Likewise.
13747 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13749         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13750         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13751         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13752         <sysdeps/unix/sysv/linux/sysdep.h>.
13753         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13754         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13755         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13756         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13757         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13758         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13759         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13760         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13761         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13766         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13767         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13769         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13770         (sysdep-dl-routines): Add sysdep.
13771         [$(subdir) == nptl] (libpthread-routines): Likewise.
13772         [$(subdir) == rt] (librt-routines): Likewise.
13773         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13774         PIC when branching to SYSCALL_ERROR_LABEL.
13775         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13777         <sysdeps/unix/sysv/linux/sysdep.h>.
13778         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13779         (SYSCALL_ERROR_ERRNO): Removed.
13780         (SYSCALL_ERROR_HANDLER): Changed to empty.
13781         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13782         (__syscall_error): New prototype.
13783         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13784         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13786 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13788         [BZ #19124]
13789         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13790         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13791         _dl_runtime_resolve_avx.
13792         (_dl_runtime_profile_avx512): Make it a hidden alias of
13793         _dl_runtime_profile_avx.
13795 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13797         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13798         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13799         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13800         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13802         [BZ #16422]
13803         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13804         New configure test.
13805         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13806         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13807         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13808         <math_private.h> and <stdint.h>.
13809         (__llrint): Avoid conversions to long long int where those might
13810         raise spurious exceptions.
13811         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13812         <math_private.h> and <stdint.h>.
13813         (__llrintf): Avoid conversions to long long int where those might
13814         raise spurious exceptions.
13816 2015-10-12  Andreas Schwab  <schwab@suse.de>
13818         [BZ #18969]
13819         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13820         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13821         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13822         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13823         $(gen-locales).
13824         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13825         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13826         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13827         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13828         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13829         $(gen-locales).
13830         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13831         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13832         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13833         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13834         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13835         ($(objpfx)tst-ftell-active-handler.out)
13836         ($(objpfx)tst-ftell-append.out)
13837         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13838         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13839         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13840         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13841         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13842         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13843         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13844         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13845         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13846         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13847         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13848         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13849         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13850         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13851         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13852         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13853         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13854         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13855         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13856         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13857         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13858         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13859         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13860         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13861         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13862         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13863         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13864         $(gen-locales).
13865         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13866         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13867         $(gen-locales).
13868         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13869         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13870         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13871         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13872         $(gen-locales).
13873         * libio/tst_wprintf2.c (main): Use explicit locale.
13874         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13876 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13878         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13879         __msg_sig_post.
13880         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13882 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13884         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13885         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13887         * sysdeps/arm/libm-test-ulps: Regenerated.
13889         [BZ #15470]
13890         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13892         [BZ #16399]
13893         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13894         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13895         and <fix-fp-int-convert-overflow.h>.
13896         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13897         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13898         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13899         and <fix-fp-int-convert-overflow.h>.
13900         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13901         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13902         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13903         <fix-fp-int-convert-overflow.h>.
13904         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13905         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13906         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13907         <fix-fp-int-convert-overflow.h>.
13908         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13909         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13910         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13911         and <fix-fp-int-convert-overflow.h>.
13912         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13913         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13914         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13915         <limits.h> and <fix-fp-int-convert-overflow.h>.
13916         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13917         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13918         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13919         and <fix-fp-int-convert-overflow.h>.
13920         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13921         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13922         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13923         and <fix-fp-int-convert-overflow.h>.
13924         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13925         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13926         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13928 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13930         [BZ #18589]
13931         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13932         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13933         $(gen-locales).
13935 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13936             Phil Blundell <pb@pbcl.net>
13938         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13939         * nptl/tst-cancel26.c: New file.
13940         * nptl/tst-cancel27.c: Likewise.
13942 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13944         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13945         __ILP32__ isn't defined.
13946         (lrint): Likewise.
13947         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13948         (lrintf): Likewise.
13949         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13950         (lrintl): Likewise.
13951         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13952         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13953         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13955 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13957         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13960         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13961         file.
13962         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13963         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13965 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13967         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13968         configure test.
13969         * sysdeps/i386/configure: Regenerated.
13970         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13971         configure test.
13972         * sysdeps/x86_64/configure: Regenerated.
13973         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13974         Make code unconditional.
13976         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13977         test.
13978         * sysdeps/i386/configure: Regenerated.
13979         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13980         test.
13981         * sysdeps/x86_64/configure: Regenerated.
13982         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13983         Make code unconditional.
13984         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13985         Likewise.
13986         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13987         Likewise.
13988         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13989         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13990         code unconditional.
13991         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13992         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13993         code unconditional.
13994         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13995         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13996         code unconditional.
13997         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13998         code unconditional.
13999         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14000         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14001         code unconditional.
14002         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14003         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14004         code unconditional.
14005         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14006         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14007         code unconditional.
14008         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14009         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14010         code unconditional.
14011         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14012         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14014         [BZ #19095]
14015         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14016         mantissa to long int before shifting left.
14018 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #19094]
14021         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14022         <limits.h>.
14023         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14024         when result overflows but exception would not result from cast.
14025         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14026         <limits.h>.
14027         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14028         when result overflows but exception would not result from cast.
14029         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14030         <limits.h>.
14031         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14032         when result overflows but exception would not result from cast.
14033         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14034         <limits.h>.
14035         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14036         when result overflows but exception would not result from cast.
14037         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14038         <limits.h>.
14039         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14040         when result overflows but exception would not result from cast.
14041         * math/libm-test.inc (lrint_test_data): Add more tests.
14042         (llrint_test_data): Likewise.
14044 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14046         [BZ #18872]
14047         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14048         Move out from under [$(run-built-tests) = yes] conditional.
14049         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14050         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14052 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14054         [BZ #18589]
14055         * string/Makefile (tests): Add bug-strcoll2.
14056         (LOCALES): Add cs_CZ.UTF-8.
14057         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14059         [BZ #18589]
14060         * string/bug-strcoll2.c: New file.
14061         * locale/categories.def: Revert commit
14062         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14063         * locale/langinfo.h: Likewise.
14064         * locale/localeinfo.h: Likewise.
14065         * locale/C-collate.c: Likewise.
14066         * locale/programs/ld-collate.c (collate_output): Likewise.
14067         * string/strcoll_l.c (STRDIFF): Likewise.
14068         (STRCOLL): Likewise.
14069         * wcsmbs/wcscoll_l.c: Likewise.
14071 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14073         * math/libm-test.inc (lround_test_data): Do not expect the absence
14074         of "inexact" for some tests with non-integer arguments.
14075         (llround_test_data): Likewise.
14077         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14078         test.
14079         (libc_cv_cc_sse2avx): Likewise.
14080         * sysdeps/i386/configure: Regenerated.
14081         * sysdeps/i386/i686/multiarch/Makefile
14082         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14083         [$(subdir) = math].
14084         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14085         code unconditional.
14086         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14087         Likewise.
14088         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14089         Likewise.
14090         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14091         Likewise.
14092         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14093         test.
14094         (libc_cv_cc_sse2avx): Likewise.
14095         * sysdeps/x86_64/configure: Regenerated.
14096         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14097         unconditional.
14098         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14099         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14100         unconditional.
14101         (_dl_runtime_profile)
14102         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14103         conditional code.
14104         * sysdeps/x86_64/fpu/multiarch/Makefile
14105         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14106         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14107         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14108         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14109         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14110         * sysdeps/x86_64/fpu/multiarch/e_log.c
14111         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14112         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14113         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14114         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14115         Likewise.
14116         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14117         Likewise.
14118         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14119         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14120         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14121         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14122         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14123         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14124         (HAVE_SSE2AVX_SUPPORT): Likewise.
14126 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14128         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14129         instead of #pragma optimize.
14131 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14133         [BZ #17195]
14134         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14135         as is similarly done in systrim and _int_free already.
14137 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14139         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14141 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14143         [BZ #19088]
14144         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14145         <limits.h>.
14146         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14147         overflows but exception would not result from cast.
14148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14149         and <limits.h>.
14150         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14151         overflows but exception would not result from cast.
14152         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14153         <limits.h>.
14154         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14155         overflows but exception would not result from cast.
14156         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14157         <limits.h>.
14158         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14159         overflows but exception would not result from cast.
14160         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14161         <limits.h>.
14162         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14163         overflows but exception would not result from cast.
14164         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14165         <limits.h>.
14166         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14167         overflows but exception would not result from cast.
14168         * math/libm-test.inc (lround_test_data): Add more tests.
14169         (llround_test_data): Likewise.
14171 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14173         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14174         (CFLAGS-ialloc.c): Ditto.
14175         (CFLAGS-scheck.c): Ditto.
14177 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14179         [BZ #19086]
14180         * manual/filesys.texi (Storage Allocation): Fix argument order for
14181         posix_fallocate64.
14183 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14185         [BZ #19085]
14186         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14187         exponent below 48 inside case for non-overflowing exponent.
14188         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14190 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14192         * iconvdata/cp737.h (from_idx): Add const.
14193         * iconvdata/cp775.h (from_idx): Likewise.
14195 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14197         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14198         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14199         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14201         [BZ #19079]
14202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14203         file, conditioned on [!_LP64].
14204         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14205         [!_LP64] (__lround): Do not define as function or alias.
14206         [!_LP64] (lround): Likewise.
14207         [!_LP64] (__lroundl): Likewise.
14208         [!_LP64] (lroundl): Likewise.
14209         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14210         macro.
14211         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14212         Likewise.
14214 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14216         * math/libm-test.inc (lrint_test_data): Add more tests.
14217         (llrint_test_data): Likewise.
14218         (lround_test_data): Likewise.
14219         (llround_test_data): Likewise.
14221         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14222         (llrint_test_data): Add tests used for lrint.
14224         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14225         test.
14226         * sysdeps/i386/configure: Regenerated.
14227         * sysdeps/i386/i686/multiarch/Makefile
14228         [$(config-cflags-sse4) = yes]: Make code unconditional.
14229         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14230         Likewise.
14231         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14232         Likewise.
14233         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14234         test.
14235         * sysdeps/x86_64/configure: Regenerated.
14236         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14237         Make code unconditional.
14238         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14239         Likewise.
14240         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14241         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14243         * scripts/rpm2dynsym.sh: Remove file.
14245 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14247         * configure.ac (libc_cv_cxx_thread_local): Define.
14248         * configure: Regenerate.
14249         * config.make.in (have-cxx-thread_local): Define.
14250         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14251         (LDLIBS-tst-thread_local1): Define.
14252         (tests): Add tst-thread_local1.
14253         [have-cxx-thread_local != yes] (tests-unsupported): Add
14254         tst-thread_local1.
14255         * nptl/tst-thread_local1.cc: New file.
14257 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14259         [BZ #19078]
14260         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14261         (u_thres): Likewise.
14262         (__expl): Determine whether to call __kernel_standard_l based on
14263         value of result, not argument.
14265         * math/libm-test.inc (scalb_test_data): Add more expectations for
14266         the "inexact" exception.
14268         [BZ #19077]
14269         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14270         0.0L for argument 1.0L.
14272         [BZ #19076]
14273         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14274         constant 0.0L when computing infinite result.
14276 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14278         [BZ #10432]
14279         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14280         malloc_usable_size.
14282 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14284         [BZ #19018]
14285         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14286         Mangle function pointer before storing it.
14287         (__call_tls_dtors): Demangle function pointer before calling it.
14289 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14291         [BZ #19012]
14292         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14293         Clean up on failure.
14295 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14297         [BZ #19071]
14298         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14299         long int variable to store possibly incremented high part of
14300         mantissa.
14301         * math/libm-test.inc (lround_test_data): Add tests used for
14302         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14303         for tests requiring 64-bit long.  Do not condition tests on
14304         [TEST_FLOAT] unnecessarily.
14305         (llround_test_data): Add tests used for lround.  Add another
14306         expectation for the "inexact" exception.  Do not condition tests
14307         on [TEST_FLOAT] unnecessarily.
14309         [BZ #887]
14310         [BZ #19049]
14311         [BZ #19050]
14312         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14313         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14314         <fix-int-fp-convert-zero.h>.
14315         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14316         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14317         <fix-int-fp-convert-zero.h>.
14318         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14319         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14320         <fix-int-fp-convert-zero.h>.
14321         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14322         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14323         <fix-int-fp-convert-zero.h>.
14324         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14325         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14326         <fix-int-fp-convert-zero.h>.
14327         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14328         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14329         <fix-int-fp-convert-zero.h>.
14330         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14331         * sysdeps/ieee754/flt-32/s_erff.c: Include
14332         <fix-int-fp-convert-zero.h>.
14333         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14334         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14335         <fix-int-fp-convert-zero.h>.
14336         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14338         <fix-int-fp-convert-zero.h>.
14339         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14340         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14341         <fix-int-fp-convert-zero.h>.
14342         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14343         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14344         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14345         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14346         file.
14347         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14349 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14353 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14355         [BZ #19059]
14356         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14357         overflowing computation.
14358         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14359         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14360         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14361         Likewise.
14362         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14363         Likewise.
14364         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14365         Likewise.
14366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14367         Likewise.
14368         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14369         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14370         Likewise.
14371         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14372         Likewise.
14373         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14375         * nss/rewrite_field.c (__nss_rewrite_field): Use
14376         internal_function.
14377         * nss/valid_field.c (__nss_valid_field): Likewise.
14378         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14380 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14382         [BZ #18724]
14383         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14384         (__nss_invalid_field_characters, __nss_valid_field)
14385         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14386         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14387         tst-field.c: New file.
14388         * nss/Makefile (routines): Add valid_field, rewrite_field.
14389         (tests-static): Define unconditionally.
14390         (tests): Include tests-static.
14391         [build-static-nss] (tests-static): Use append.
14392         [build-static-nss] (tests): Remove modification.
14393         * nss/getent.c (print_group): Call putgrent.  Report error.
14394         (print_gshadow): Call putsgent.  Report error.
14395         (print_passwd): Call putpwent.  Report error.
14396         (print_shadow): Call putspent.  Report error.
14397         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14398         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14399         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14400         name, password, directory, shell fields for valid syntax.  Rewrite
14401         GECOS field to match syntax.
14402         * pwd/Makefile (tests): Add tst-putpwent.
14403         * pwd/tst-putpwent.c: New file.
14404         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14405         Check grName, grpasswd, gr_mem fields for valid syntax.
14406         Change loop variable i to size_t.
14407         * grp/Makefile (tests): Add tst-putgrent.
14408         * grp/tst-putgrent.c: New file.
14409         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14410         valid syntax.
14411         * shadow/Makefile (tests): Add tst-putspent.
14412         * shadow/tst-putspent.c: New file.
14413         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14414         sg_mem fields for valid syntax.
14415         * gshadow/Makefile (tests): Add tst-putsgent.
14416         * gshadow/tst-putsgent.c: New file.
14418 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14420         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14421         assembly instructions.
14423 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14425         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14426         prefix from operands.
14428 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #16347]
14431         [BZ #19046]
14432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14433         <libc-internal.h>.
14434         (MAXLGM): Do not use diagnostic control macros.
14435         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14436         threshold for ldbl-128ibm.
14437         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14438         instead of multiplying by log then subtracting.
14439         * math/auto-libm-test-in: Add more tests of lgamma.
14440         * math/auto-libm-test-out: Regenerated.
14442         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14443         (TYPE_HEX_DIG): Likewise.
14444         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14445         precisions when printing floating-point numbers.
14446         (check_float_internal): Likewise.
14448 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14450         [BZ #16620]
14451         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14452         of log (10) rounded downward to 48 bits.
14453         (log10_low): Use corresponding low part of log (10).
14455         [BZ #19032]
14456         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14457         compute result as (x - x) / (x - x) not as 0 / 0.
14458         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14459         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14461         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14462         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14463         and expm1.
14464         * math/auto-libm-test-out: Regenerated.
14465         * math/libm-test.inc (acos_test_data): Add more tests.
14466         (asin_test_data): Likewise.
14467         (asinh_test_data): Likewise.
14468         (atan_test_data): Likewise.
14469         (atanh_test_data): Likewise.
14470         (atan2_test_data): Likewise.
14471         (cbrt_test_data): Likewise.
14472         (ceil_test_data): Likewise.
14473         (copysign_test_data): Likewise.
14474         (cos_test_data): Likewise.
14475         (cosh_test_data): Likewise.
14476         (erf_test_data): Likewise.
14477         (erfc_test_data): Likewise.
14478         (exp_test_data): Likewise.
14479         (exp10_test_data): Likewise.
14480         (exp2_test_data): Likewise.
14481         (expm1_test_data): Likewise.
14482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14484 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14486         [BZ #19006]
14487         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14488         to ...
14489         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14490         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14491         to ...
14492         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14493         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14494         to ...
14495         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14496         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14497         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14498         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14499         to ...
14500         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14501         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14502         Moved to ...
14503         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14504         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14505         Moved to ...
14506         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14507         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14508         to ...
14509         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14510         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14511         Moved to ...
14512         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14513         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14514         to ...
14515         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14516         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14517         Removed.
14518         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14519         Likewise.
14520         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14521         Likewise.
14522         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14523         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14524         Likewise.
14525         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14526         Likewise.
14527         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14528         Likewise.
14529         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14532         Likewise.
14533         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14534         Likewise.
14535         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14536         Likewise.
14537         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14538         Likewise.
14539         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14540         Likewise.
14541         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14542         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14547         Likewise.
14548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14549         Likewise.
14550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14551         Likewise.
14552         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14553         Replace ../i486/pthread_cond_timedwait.S with
14554         ../pthread_cond_timedwait.S.
14556 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14558         * math/libm-test.inc (acos_test_data): Refine expectations for
14559         errno and "inexact" exceptions.
14560         (acosh_test_data): Likewise.
14561         (asin_test_data): Likewise.
14562         (asinh_test_data): Likewise.
14563         (atan_test_data): Likewise.
14564         (atanh_test_data): Likewise.
14565         (atan2_test_data): Likewise.
14566         (cbrt_test_data): Likewise.
14567         (ceil_test_data): Likewise.
14568         (copysign_test_data): Likewise.
14569         (cosh_test_data): Likewise.
14570         (erf_test_data): Likewise.
14571         (erfc_test_data): Likewise.
14572         (exp_test_data): Likewise.
14573         (exp10_test_data): Likewise.
14574         (exp2_test_data): Likewise.
14575         (expm1_test_data): Likewise.
14576         (fabs_test_data): Likewise.
14577         (floor_test_data): Likewise.
14578         (fma_test_data): Likewise.
14579         (fmax_test_data): Likewise.
14580         (fmin_test_data): Likewise.
14581         (fmod_test_data): Likewise.
14582         (fpclassify_test_data): Likewise.
14583         (frexp_test_data): Likewise.
14584         (hypot_test_data): Likewise.
14585         (ilogb_test_data): Likewise.
14586         (isgreater_test_data): Likewise.
14587         (isgreaterequal_test_data): Likewise.
14588         (isinf_test_data): Likewise.
14589         (isless_test_data): Likewise.
14590         (islessequal_test_data): Likewise.
14591         (islessgreater_test_data): Likewise.
14592         (isnan_test_data): Likewise.
14593         (isnormal_test_data): Likewise.
14594         (issignaling_test_data): Likewise.
14595         (isunordered_test_data): Likewise.
14596         (j0_test_data): Likewise.
14597         (j1_test_data): Likewise.
14598         (jn_test_data): Likewise.
14599         (lgamma_test_data): Likewise.
14600         (lrint_test_data): Likewise.
14601         (llrint_test_data): Likewise.
14602         (log_test_data): Likewise.
14603         (log10_test_data): Likewise.
14604         (log1p_test_data): Likewise.
14605         (log2_test_data): Likewise.
14606         (logb_test_data): Likewise.
14607         (lround_test_data): Likewise.
14608         (llround_test_data): Likewise.
14609         (modf_test_data): Likewise.
14610         (nearbyint_test_data): Likewise.
14611         (nextafter_test_data): Likewise.
14612         (nexttoward_test_data): Likewise.
14613         (pow_test_data): Likewise.
14614         (remainder_test_data): Likewise.
14615         (remquo_test_data): Likewise.
14616         (rint_test_data): Likewise.
14617         (round_test_data): Likewise.
14618         (signbit_test_data): Likewise.
14619         (sinh_test_data): Likewise.
14620         (sqrt_test_data): Likewise.
14621         (tanh_test_data): Likewise.
14622         (tgamma_test_data): Likewise.
14623         (trunc_test_data): Likewise.
14624         (y0_test_data): Likewise.
14625         (y1_test_data): Likewise.
14626         (yn_test_data): Likewise.
14627         (significand_test_data): Likewise.
14629 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14631         * manual/filesys.texi (Storage Allocation): Document that
14632         posix_fallocate emulation fails when fd is open with O_WRONLY.
14634 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14636         [BZ #19016]
14637         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14638         allow more cases with X^2 + Y^2 >= 0.5.
14639         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14640         normal element in sum instead of special-casing based on values of
14641         arguments.
14642         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14643         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14644         -1 as normal element in sum instead of special-casing based on
14645         values of arguments.
14646         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14647         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14648         (__x2y2m1): Update comment.
14649         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14650         as normal element in sum instead of special-casing based on values
14651         of arguments.
14652         * math/s_clog.c (__clog): Handle more cases using log1p without
14653         hypot.
14654         * math/s_clog10.c (__clog10): Likewise.
14655         * math/s_clog10f.c (__clog10f): Likewise.
14656         * math/s_clog10l.c (__clog10l): Likewise.
14657         * math/s_clogf.c (__clogf): Likewise.
14658         * math/s_clogl.c (__clogl): Likewise.
14659         * math/auto-libm-test-in: Add more tests of clog and clog10.
14660         * math/auto-libm-test-out: Regenerated.
14661         * sysdeps/i386/fpu/libm-test-ulps: Update.
14662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664 2015-09-28  Martin Sebor  <msebor@redhat.com>
14666         [BZ #18969]
14667         * string/Makefile (LOCALES): Define.
14668         (gen-locales.mk): Include.
14669         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14670         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14671         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14672         on setlocale failure.
14674 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14676         [BZ #18985]
14677         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14678         (__strftime_internal): Likewise.
14679         * time/tst-strftime.c (do_bz18985): New test.
14680         (do_test): Call it.
14682 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14684         [BZ #18956]
14685         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14686         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14687         extracting high part.
14688         * math/auto-libm-test-in: Add another test of pow.
14689         * math/auto-libm-test-out: Regenerated.
14690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14692 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14694         [BZ #18825]
14695         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14696         New macro.
14697         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14698         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14699         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14700         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14701         DBL_NARROW_EVAL, reloading the PIC register as needed.
14702         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14703         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14704         FLT_NARROW_EVAL.  Use separate return path for case when first
14705         argument is NaN.
14706         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14707         DEFINE_LDBL_MIN.
14708         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14709         PIC register.
14710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14711         math_check_force_underflow_nonneg.
14712         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14713         underflow for subnormal result.
14714         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14716         math_check_force_underflow_nonneg.
14717         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14718         math_check_force_underflow.
14719         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14720         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14721         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14722         DEFINE_LDBL_MIN.
14723         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14724         * math/auto-libm-test-in: Add more tests of pow.
14725         * math/auto-libm-test-out: Regenerated.
14727 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14729         * nss/bug17079.c (init_test_items): Add diagnostic for
14730         inconsistent entries.
14731         (test_buffer_size): Skip inconsistent entries.
14733 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #13304]
14736         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14737         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14738         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14740         [BZ #13304]
14741         * sysdeps/microblaze/s_fma.c: New file.
14742         * sysdeps/microblaze/s_fmaf.c: Likewise.
14743         * sysdeps/microblaze/sfp-machine.h: Likewise.
14745 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14747         [BZ #17250]
14748         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14749         member.
14751 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14753         [BZ #18803]
14754         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14755         (MO): New macro.
14756         (__ieee754_hypot) [PIC]: Load PIC register.
14757         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14758         DBL_NARROW_EVAL.
14759         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14760         math_check_force_underflow_nonneg in case where result might be
14761         tiny.
14762         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14763         Likewise.
14764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14765         Likewise.
14766         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14767         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14768         * math/auto-libm-test-in: Add more tests of hypot.
14769         * math/auto-libm-test-out: Regenerated.
14771 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14773         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14775 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14777         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14778         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14779         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14780         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14781         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14782         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14783         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14785         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14786         LOAD_PIC_REG.
14788         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14789         (FLT_CHECK_FORCE_UFLOW): Likewise.
14790         (DBL_CHECK_FORCE_UFLOW): Likewise.
14791         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14792         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14793         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14794         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14795         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14796         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14797         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14798         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14799         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14800         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14801         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14802         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14803         (flt_min): Replace with use of DEFINE_FLT_MIN.
14804         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14805         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14806         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14807         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14808         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14809         (flt_min): Replace with use of DEFINE_FLT_MIN.
14810         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14811         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14812         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14813         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14814         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14815         (flt_min): Replace with use of DEFINE_FLT_MIN.
14816         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14817         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14818         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14819         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14820         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14821         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14822         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14823         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14824         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14825         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14826         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14827         (flt_min): Replace with use of DEFINE_FLT_MIN.
14828         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14829         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14830         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14831         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14832         main computation.
14833         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14834         (flt_min): Replace with use of DEFINE_FLT_MIN.
14835         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14836         main computation.
14837         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14838         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14839         (MO): New macro.
14840         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14841         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14842         (flt_min): Replace with use of DEFINE_FLT_MIN.
14843         (MO): New macro.
14844         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14845         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14846         (__log1pl): Use MO.
14848         [BZ #19003]
14849         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14850         $(config-cflags-nofma).
14852 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14854         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14856 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14858         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14859         (TWO127): Likewise.
14861         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14862         (min_of_type): Likewise.
14863         (math_check_force_underflow): Likewise.
14864         (math_check_force_underflow_nonneg): Likewise.
14865         (math_check_force_underflow_complex): Likewise.
14866         * math/e_exp2l.c (__ieee754_exp2l): Use
14867         math_check_force_underflow_nonneg.
14868         * math/k_casinh.c (__kernel_casinh): Likewise.
14869         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14870         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14871         * math/s_catan.c (__catan): Use
14872         math_check_force_underflow_complex.
14873         * math/s_catanf.c (__catanf): Likewise.
14874         * math/s_catanh.c (__catanh): Likewise.
14875         * math/s_catanhf.c (__catanhf): Likewise.
14876         * math/s_catanhl.c (__catanhl): Likewise.
14877         * math/s_catanl.c (__catanl): Likewise.
14878         * math/s_ccosh.c (__ccosh): Likewise.
14879         * math/s_ccoshf.c (__ccoshf): Likewise.
14880         * math/s_ccoshl.c (__ccoshl): Likewise.
14881         * math/s_cexp.c (__cexp): Likewise.
14882         * math/s_cexpf.c (__cexpf): Likewise.
14883         * math/s_cexpl.c (__cexpl): Likewise.
14884         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14885         * math/s_clog10.c (__clog10): Likewise.
14886         * math/s_clog10f.c (__clog10f): Likewise.
14887         * math/s_clog10l.c (__clog10l): Likewise.
14888         * math/s_clogf.c (__clogf): Likewise.
14889         * math/s_clogl.c (__clogl): Likewise.
14890         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14891         * math/s_csinf.c (__csinf): Likewise.
14892         * math/s_csinh.c (__csinh): Likewise.
14893         * math/s_csinhf.c (__csinhf): Likewise.
14894         * math/s_csinhl.c (__csinhl): Likewise.
14895         * math/s_csinl.c (__csinl): Likewise.
14896         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14897         * math/s_csqrtf.c (__csqrtf): Likewise.
14898         * math/s_csqrtl.c (__csqrtl): Likewise.
14899         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14900         * math/s_ctanf.c (__ctanf): Likewise.
14901         * math/s_ctanh.c (__ctanh): Likewise.
14902         * math/s_ctanhf.c (__ctanhf): Likewise.
14903         * math/s_ctanhl.c (__ctanhl): Likewise.
14904         * math/s_ctanl.c (__ctanl): Likewise.
14905         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14906         instead of volatile.
14907         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14908         math_check_force_underflow.
14909         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14910         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14911         volatile when forcing underflow.
14912         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14913         math_check_force_underflow_nonneg.
14914         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14915         Likewise.
14916         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14917         math_check_force_underflow.
14918         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14919         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14920         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14921         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14922         math_check_force_underflow_nonneg.
14923         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14924         math_check_force_underflow.
14925         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14927         instead of volatile.
14928         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14929         math_check_force_underflow.
14930         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14931         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14932         math_check_force_underflow_nonneg.
14933         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14934         math_check_force_underflow.
14935         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14936         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14937         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14938         math_check_force_underflow_nonneg.
14939         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14940         Likewise.
14941         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14942         math_check_force_underflow.
14943         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14944         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14945         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14946         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14947         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14948         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14949         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14950         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14951         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14952         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14953         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14954         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14955         Likewise.
14956         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14957         math_check_force_underflow_nonneg.
14958         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14959         Likewise.
14960         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14961         math_check_force_underflow.
14962         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14963         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14964         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14965         Likewise.
14966         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14967         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14968         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14969         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14970         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14971         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14972         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14973         instead of volatile.
14974         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14975         math_check_force_underflow.
14976         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14978         math_check_force_underflow.
14979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14980         Likewise.
14981         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14982         Use math_check_force_underflow_nonneg.
14983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14984         math_check_force_underflow.
14985         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14986         Likewise.
14987         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14988         Likewise.
14989         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14990         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14991         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14992         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14993         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14995         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14996         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14997         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14998         math_check_force_underflow_nonneg.
14999         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15000         math_check_force_underflow.
15001         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15002         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15003         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15004         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15005         math_check_force_underflow_nonneg.
15006         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15007         math_check_force_underflow.
15008         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15010         instead of volatile.
15011         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15012         math_check_force_underflow.
15014         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15015         * stdlib/strtod_l.c: Include <math_private.h>.
15016         (overflow_value): Use math_narrow_eval.
15017         (underflow_value): Likewise.
15018         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15019         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15020         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15021         (__ieee754_gamma_r): Likewise.
15022         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15023         Likewise.
15024         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15025         Likewise.
15026         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15027         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15028         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15029         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15030         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15031         (__ieee754_gammaf_r): Likewise.
15032         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15033         Likewise.
15034         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15035         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15036         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15037         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15038         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15039         volatile.
15040         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15041         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15042         math_narrow_eval.
15043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15044         Likewise.
15045         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15046         Likewise.
15047         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15048         Likewise.
15049         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15050         volatile.
15051         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15052         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15053         math_narrow_eval.
15054         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15055         Likewise.
15056         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15057         Likewise.
15059 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15061         * nptl/Versions: Remove ignored symbols.
15063 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15065         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15066         * nss/Makefile (tests): Update.
15068 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15070         * nss/bug18287.c: New file.
15071         * nss/Makefile (tests): Add bug18287.
15073 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15075         * mach/Versions (__mach_host_self_): Add symbol.
15077 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15079         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15080         vm_page_size.
15082 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15084         Really fix sysdeps/i386/fpu/s_scalbn.S build
15086         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15087         (libc: GLIBC_2_22): Remove unused version set.
15089 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15091         * config.make.in (enable-timezone-tools): New variable.
15092         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15093         (enable_timezone_tools): Export to generated files.
15094         * configure: Regenerate.
15095         * INSTALL: Regenerate.
15096         * manual/install.texi (--disable-timezone-tools): Document new flag.
15097         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15098         ifeq ($(enable-timezone-tools),yes) check.
15100 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15102         * timezone/Makefile: Revert previous change.
15104         [BZ #18980]
15105         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15106         (DEFINE_DBL_MIN): Likewise.
15107         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15108         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15109         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15110         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15111         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15112         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15113         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15114         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15115         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15116         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15117         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15118         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15119         (flt_min): Replace with use of DEFINE_FLT_MIN.
15120         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15121         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15122         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15123         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15124         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15125         (flt_min): Replace with use of DEFINE_FLT_MIN.
15126         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15127         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15128         (flt_min): Replace with use of DEFINE_FLT_MIN.
15129         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15130         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15131         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15132         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15133         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15134         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15135         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15136         (__ieee754_pow): Use DBL_NARROW_EVAL.
15137         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15138         (__ieee754_powf): Use FLT_NARROW_EVAL.
15139         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15140         (__ieee754_expf_sse2): Convert double-precision result to single
15141         precision.
15142         * sysdeps/i386/fpu/libm-test-ulps: Update.
15144 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15146         * timezone/Makefile: Ignore unused variable errors due to private.h
15147         (time_t_min) and (time_t_max).
15148         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15149         Likewise.
15151 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15153         [BZ #18981]
15154         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15155         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15156         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15157         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15158         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15159         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15160         (__scalbn): Use DBL_NARROW_EVAL.
15161         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15162         (__scalbnf): Use FLT_NARROW_EVAL.
15164 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15166         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15167         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15168         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15169         * stdio-common/printf_fp.c (___printf_fp):
15170         Use signbit to get the sign. Use isinf macro to allow inlining.
15171         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15172         * stdio-common/printf_size.c (__printf_size): Likewise.
15174 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15176         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15178 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15180         [BZ #18980]
15181         * sysdeps/generic/math_private.h: Include <float.h>.
15182         (math_narrow_eval): New macro.
15183         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15184         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15185         math_narrow_eval on overflowing return value.
15186         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15187         Likewise.
15188         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15189         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15190         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15191         Likewise.
15192         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15194 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15196         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15197         * math/Makefile: Remove isinf_ns.c.
15198         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15199         * math/multc3.c (__multc3): Likewise.
15200         * math/s_casin.c (__casin): Likewise.
15201         * math/s_casinf.c (__casinf): Likewise.
15202         * math/s_casinl.c (__casinl): Likewise.
15203         * math/s_cproj.c (__cproj): Likewise.
15204         * math/s_cprojf.c (__cprojf): Likewise.
15205         * math/s_cprojl.c (__cprofl): Likewise.
15206         * math/s_ctan.c (__ctan): Likewise.
15207         * math/s_ctanf.c (__ctanf): Likewise.
15208         * math/s_ctanh.c (__ctanh): Likewise.
15209         * math/s_ctanhf.c (__ctanhf): Likewise.
15210         * math/s_ctanhl.c (__ctanhl): Likewise.
15211         * math/s_ctanl.c (__ctanl): Likewise.
15212         * math/w_fmod.c (__fmod): Likewise.
15213         * math/w_fmodf.c (__fmodf): Likewise.
15214         * math/w_fmodl.c (_fmodl): Likewise.
15215         * math/w_remainder.c (__remainder): Likewise.
15216         * math/w_remainderf.c (__remainderf): Likewise.
15217         * math/w_remainderl.c (__remainderl): Likewise.
15218         * math/w_scalb.c (__scalb): Likewise.
15219         * math/w_scalbf.c (__scalbf): Likewise.
15220         * math/w_scalbl.c (__scalbl): Likewise.
15221         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15222         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15223         with isinf.
15224         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15226         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15227         __isinf_nsf with isinf.
15228         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15229         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15230         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15231         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15232         with isinf.
15233         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15234         __isinf_nsl with isinf.
15235         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15236         with isinf.
15237         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15238         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15239         __isinf_nsl with isinf.
15240         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15241         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15242         with isinf.
15244 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15246         * resolv/base64.c (rcsid): Remove unused static.
15247         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15248         static.  (tqpi1): Likewise.
15249         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15250         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15251         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15252         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15253         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15254         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15256         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15257         Likewise.
15259 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15261         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15262         <nptl/pthreadP.h>.
15263         (_longjmp_unwind): Use __libc_ptf_call.
15264         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15266 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15268         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15269         * sysdeps/arm/__longjmp.S: Likewise.
15271 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15273         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15274         Use __builtin_signbit.
15275         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15276         Use __builtin_signbitf.
15277         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15278         Use __builtin_signbitl.
15279         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15280         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15282 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15284         [BZ #15367]
15285         [BZ #17441]
15287         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15288         * math/math.h (fpclassify): Use __builtin_fpclassify when
15289         available.  (signbit): Use __builtin_signbit(f/l).
15290         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15291         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15292         (isinf): Use __builtin_isinf_sign.
15294 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15296         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15297         * benchtests/bench-math-inlines.c: New benchmark.
15298         * benchtests/bench-util.h: New file.
15299         * benchtests/bench-util.c: New file.
15300         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15302 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15304         * elf/tst-dlmopen1.c: Define TEST_SO.
15305         (do_test): Use TEST_SO.
15307         * elf/dl-load.c: Include libc-internal.h.
15308         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15310 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15312         [BZ #17887]
15313         * time/strptime_l.c (__strptime_internal): Make %z accept
15314         [+-]HH:MM time zones.
15316 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15318         [BZ #17886]
15319         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15320         valid time zone.
15322 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15324         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15325         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15327         (__ASSUME_FDATASYNC): Delete.
15329 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15331         * conform/linknamespace.pl: Require weak undefined symbols to be
15332         in the standard namespace.
15333         (%strong_syms): Rename to %seen_syms.
15334         (%strong_seen): Rename to %seen_where.
15336 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15338         [BZ #18970]
15339         * misc/error.c (error): Replace pthread_setcancelstate with
15340         __pthread_setcancelstate.
15341         (error_at_line): Likewise.
15342         * posix/wordexp.c (parse_comm): Likewise.
15343         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15344         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15345         (__pthread_setcancelstate): This.
15346         (pthread_setcancelstate): Add an alias.
15347         * nptl/nptl-init.c (pthread_functions): Replace
15348         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15349         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15350         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15351         hidden_proto.
15352         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15353         it with hidden_def.
15354         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15355         (pthread_setcancelstate): Renamed to ...
15356         (__pthread_setcancelstate): This.
15357         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15358         __libc_ptf_call with __pthread_setcancelstate.
15360 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15361             Andreas Schwab  <schwab@suse.de>
15363         [BZ #17118]
15364         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15365         result when imaginary part of argument is infinite using sine and
15366         cosine.
15367         * math/s_ctanf.c (__ctanf): Likewise.
15368         * math/s_ctanl.c (__ctanl): Likewise.
15369         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15370         of result when real part of argument is infinite using sine and
15371         cosine.
15372         * math/s_ctanhf.c (__ctanhf): Likewise.
15373         * math/s_ctanhl.c (__ctanhl): Likewise.
15374         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15375         (ctanh_test_data): Add more tests of ctanh.
15377 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15379         [BZ #15384]
15380         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15381         bit-mask as in subtraction.
15382         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15383         Likewise.
15384         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15385         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15386         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15388         [BZ #18951]
15389         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15390         underflow exception for small results.
15391         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15392         Likewise.
15393         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15394         Likewise.
15395         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15396         Likewise.
15397         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15398         Likewise.
15399         * math/auto-libm-test-in: Add more tests of tgamma.
15400         * math/auto-libm-test-out: Regenerated.
15402 2015-09-17  Andreas Schwab  <schwab@suse.de>
15404         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15406 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15408         [BZ #18977]
15409         * math/bits/mathcalls.h
15410         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15411         not declare.
15412         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15413         Likewise.
15414         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15415         Likewise.
15416         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15417         Likewise.
15418         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15419         Likewise.
15420         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15421         Likewise.
15422         * conform/data/math.h-data
15423         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15424         function.
15425         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15426         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15427         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15428         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15429         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15430         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15431         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15432         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15433         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15434         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15435         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15437         [BZ #6803]
15438         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15439         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15440         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15441         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15442         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15443         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15444         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15445         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15446         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15448         Likewise.
15449         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15450         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15452         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15453         long_double_symbol calls.
15454         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15455         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15456         strong alias of __ldexpl.
15457         (scalbnl): Define using long_double_symbol.
15458         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15459         Remove alias.
15460         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15461         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15462         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15463         (scalbln_test_data): Add more errno expectations.
15465 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15467         Cache the host port like we cache the task port.  This way we do not
15468         need to call the kernel just to get the port.  Furthermore, we no
15469         longer increase the reference count on every invocation of
15470         `mach_host_self'.
15472         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15473         Protect declarations against the macro expansion.
15474         * mach/mach_init.c (__mach_host_self_): New variable.
15475         (mach_init): Initialize `__mach_host_self_'.
15476         * mach/mach_init.h (__mach_host_self_): New declaration.
15477         (__mach_host_self, mach_host_self): New macros.
15478         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15479         Release reference.
15481 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15483         [BZ #4404]
15484         * po/de.po: Update from Translation Project.
15486         [BZ #16415]
15487         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15488         (__expm1l): Remove code to handle positive infinity and overflow.
15489         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15490         variable.
15491         (__expm1l): Remove code to handle positive infinity and overflow.
15493 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15494             Paul Pluzhnikov  <ppluzhnikov@google.com>
15496         [BZ #18872]
15497         * stdio-common/Makefile (tst-printf-bz18872): New test.
15498         (tst-printf-bz18872-mem.out): Likewise.
15499         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15500         * stdio-common/vfprintf.c: Fix memory leaks.
15502 2015-09-16  Andreas Schwab  <schwab@suse.de>
15504         [BZ #17244]
15505         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15506         Remove extra va_start/va_end calls.
15508         [BZ #17243]
15509         * posix/execl.c (execl): Add missing va_end.
15510         * posix/execle.c (execle): Likewise.
15511         * posix/execlp.c (execlp): Likewise.
15513 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15515         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15516         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15518 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15520         [BZ #18967]
15521         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15522         undefine around includes of <bits/mathcalls.h>.
15523         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15524         not declare function.
15525         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15526         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15527         (scalb): Likewise.
15528         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15529         not define macro.
15530         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15531         variable.
15532         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15533         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15534         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15536         [BZ #18857]
15537         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15538         return non-finite argument without doing ordered comparisons on
15539         it.
15541         [BZ #16296]
15542         * math/fenv.h (fegetround): Use __attribute_pure__.
15543         * include/fenv.h (__fegetround): Likewise.
15545         [BZ #18595]
15546         * math/s_ctan.c (__ctan): Force underflow exception for results
15547         whose real or imaginary part has small absolute value.
15548         * math/s_ctanf.c (__ctanf): Likewise.
15549         * math/s_ctanh.c (__ctanh): Likewise.
15550         * math/s_ctanhf.c (__ctanhf): Likewise.
15551         * math/s_ctanhl.c (__ctanhl): Likewise.
15552         * math/s_ctanl.c (__ctanl): Likewise.
15553         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15554         and ctanh.  Add more tests of ctan and ctanh.
15556         [BZ #15918]
15557         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15558         handling of cases where one argument is an infinity.
15560         [BZ #18875]
15561         [BZ #18966]
15562         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15563         (MO): New macro.
15564         (__ieee754_exp10): For small results, force underflow exception
15565         and remove excess range and precision from return value.
15566         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15567         (MO): New macro.
15568         (__ieee754_exp10f): For small results, force underflow exception
15569         and remove excess range and precision from return value.
15570         * math/auto-libm-test-in: Add more tests of exp10.
15571         * math/auto-libm-test-out: Regenerated.
15573 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15575         [BZ #18875]
15576         [BZ #18961]
15577         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15578         (MO): New macro.
15579         (__ieee754_exp): For small results, force underflow exception and
15580         remove excess range and precision from return value.
15581         (__exp_finite): Likewise.
15582         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15583         (MO): New macro.
15584         (__ieee754_expf): For small results, force underflow exception and
15585         remove excess range and precision from return value.
15586         (__expf_finite): Likewise.
15587         * math/auto-libm-test-in: Add more tests of exp.
15588         * math/auto-libm-test-out: Regenerated.
15590         [BZ #16521]
15591         [BZ #18875]
15592         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15593         small results.
15594         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15595         (MO): New macro.
15596         (__ieee754_exp2): For small results, force underflow exception and
15597         remove excess range and precision from return value.
15598         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15599         (MO): New macro.
15600         (__ieee754_exp2f): For small results, force underflow exception
15601         and remove excess range and precision from return value.
15602         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15603         (MO): New macro.
15604         (__ieee754_exp2l): Force underflow exception for small results.
15605         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15606         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15607         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15608         (MO): New macro.
15609         (__ieee754_exp2l): Force underflow exception for small results.
15610         * math/auto-libm-test-in: Add more tests or exp2.
15611         * math/auto-libm-test-out: Regenerated.
15613 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15615         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15617         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15618         /dev/null.
15620 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15622         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15623         io fs process)): Drop spurious backslash.
15625 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15628         Use sysinfo system call instead of parsing /proc/meminfo.
15629         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15630         Likewise.
15632 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15634         [BZ #16985]
15635         * programs/localedef.c (main): Display argv[remaining] when
15636         output_path is NULL.
15638 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15640         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15641         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15642         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15643         tanh.
15644         * math/auto-libm-test-out: Regenerated.
15645         * sysdeps/i386/fpu/libm-test-ulps: Update.
15646         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15650 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15652         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15653         Use 'override' keyword to freeze the value here, preventing
15654         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15656 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15658         [BZ #14912]
15659         * sysdeps/aarch64/bits/atomic.h: Move to ...
15660         * sysdeps/aarch64/atomic-machine.h: ...here.
15661         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15662         _AARCH64_ATOMIC_MACHINE_H.
15663         * sysdeps/alpha/bits/atomic.h: Move to ...
15664         * sysdeps/alpha/atomic-machine.h: ...here.
15665         * sysdeps/arm/bits/atomic.h: Move to ...
15666         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15667         * bits/atomic.h: Move to ...
15668         * sysdeps/generic/atomic-machine.h: ...here.
15669         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15670         * sysdeps/i386/bits/atomic.h: Move to ...
15671         * sysdeps/i386/atomic-machine.h: ...here.
15672         * sysdeps/ia64/bits/atomic.h: Move to ...
15673         * sysdeps/ia64/atomic-machine.h: ...here.
15674         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15675         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15676         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15677         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15678         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15679         * sysdeps/microblaze/bits/atomic.h: Move to ...
15680         * sysdeps/microblaze/atomic-machine.h: ...here.
15681         * sysdeps/mips/bits/atomic.h: Move to ...
15682         * sysdeps/mips/atomic-machine.h: ...here.
15683         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15684         * sysdeps/powerpc/bits/atomic.h: Move to ...
15685         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15686         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15687         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15688         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15689         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15690         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15691         <atomic-machine.h> instead of <bits/atomic.h>.
15692         * sysdeps/s390/bits/atomic.h: Move to ...
15693         * sysdeps/s390/atomic-machine.h: ...here.
15694         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15695         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15696         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15698         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15699         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15700         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15701         * sysdeps/tile/bits/atomic.h: Move to ...
15702         * sysdeps/tile/atomic-machine.h: ...here.
15703         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15704         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15705         <sysdeps/tile/atomic-machine.h> instead of
15706         <sysdeps/tile/bits/atomic.h>.
15707         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15708         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15709         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15710         <sysdeps/tile/atomic-machine.h> instead of
15711         <sysdeps/tile/bits/atomic.h>.
15712         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15713         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15714         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15715         <sysdeps/arm/atomic-machine.h> instead of
15716         <sysdeps/arm/bits/atomic.h>.
15717         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15718         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15719         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15720         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15721         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15722         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15723         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15724         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15725         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15726         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15727         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15728         * sysdeps/x86_64/bits/atomic.h: Move to ...
15729         * sysdeps/x86_64/atomic-machine.h: ...here.
15730         * include/atomic.h: Include <atomic-machine.h> instead of
15731         <bits/atomic.h>.
15733         * sysdeps/mips/mips32/libm-test-ulps: Update.
15734         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15736         [BZ #18952]
15737         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15738         not convert non-integer negative arguments to int to determine the
15739         value of signgam.
15740         * math/auto-libm-test-in: Add more tests of lgamma.
15741         * math/auto-libm-test-out: Regenerated.
15743         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15744         cosh, csqrt, erfc, expm1 and lgamma.
15745         * math/auto-libm-test-out: Regenerated.
15746         * sysdeps/i386/fpu/libm-test-ulps: Update.
15747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15749 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15751         [BZ #2542]
15752         [BZ #2543]
15753         [BZ #2558]
15754         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15755         __lgamma_neg for arguments from -28.0 to -2.0.
15756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15757         __lgamma_negf for arguments from -15.0 to -2.0.
15758         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15759         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15760         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15761         Call __lgamma_negl for arguments from -33.0 to -2.0.
15762         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15763         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15764         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15765         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15766         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15767         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15768         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15769         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15770         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15771         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15772         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15773         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15774         (__lgamma_neg): Likewise.
15775         (__lgamma_negl): Likewise.
15776         (__lgamma_product): Likewise.
15777         (__lgamma_productl): Likewise.
15778         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15779         * math/auto-libm-test-in: Add more tests of lgamma.
15780         * math/auto-libm-test-out: Regenerated.
15781         * sysdeps/i386/fpu/libm-test-ulps: Update.
15782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15786         [BZ #18675]
15787         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15789 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15791         [BZ #14912]
15792         * bits/libc-lock.h: Move to ...
15793         * sysdeps/generic/libc-lock.h: ...here.
15794         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15795         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15796         * sysdeps/mach/hurd/libc-lock.h: ...here.
15797         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15798         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15799         * sysdeps/mach/bits/libc-lock.h: Move to ...
15800         * sysdeps/mach/libc-lock.h: ...here.
15801         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15802         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15803         * sysdeps/nptl/libc-lock.h: ...here.
15804         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15805         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15806         * sysdeps/nptl/libc-lockP.h: ...here.
15807         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15808         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15809         <bits/libc-lock.h>.
15810         * dirent/scandir-tail.c: Likewise.
15811         * dlfcn/dlerror.c: Likewise.
15812         * elf/dl-close.c: Likewise.
15813         * elf/dl-iteratephdr.c: Likewise.
15814         * elf/dl-lookup.c: Likewise.
15815         * elf/dl-open.c: Likewise.
15816         * elf/dl-support.c: Likewise.
15817         * elf/dl-writev.h: Likewise.
15818         * elf/rtld.c: Likewise.
15819         * grp/fgetgrent.c: Likewise.
15820         * gshadow/fgetsgent.c: Likewise.
15821         * gshadow/sgetsgent.c: Likewise.
15822         * iconv/gconv_conf.c: Likewise.
15823         * iconv/gconv_db.c: Likewise.
15824         * iconv/gconv_dl.c: Likewise.
15825         * iconv/gconv_int.h: Likewise.
15826         * iconv/gconv_trans.c: Likewise.
15827         * include/link.h: Likewise.
15828         * inet/getnameinfo.c: Likewise.
15829         * inet/getnetgrent.c: Likewise.
15830         * inet/getnetgrent_r.c: Likewise.
15831         * intl/bindtextdom.c: Likewise.
15832         * intl/dcigettext.c: Likewise.
15833         * intl/finddomain.c: Likewise.
15834         * intl/gettextP.h: Likewise.
15835         * intl/loadmsgcat.c: Likewise.
15836         * intl/localealias.c: Likewise.
15837         * intl/textdomain.c: Likewise.
15838         * libidn/idn-stub.c: Likewise.
15839         * libio/libioP.h: Likewise.
15840         * locale/duplocale.c: Likewise.
15841         * locale/freelocale.c: Likewise.
15842         * locale/newlocale.c: Likewise.
15843         * locale/setlocale.c: Likewise.
15844         * login/getutent_r.c: Likewise.
15845         * login/getutid_r.c: Likewise.
15846         * login/getutline_r.c: Likewise.
15847         * login/utmp-private.h: Likewise.
15848         * login/utmpname.c: Likewise.
15849         * malloc/mtrace.c: Likewise.
15850         * misc/efgcvt.c: Likewise.
15851         * misc/error.c: Likewise.
15852         * misc/fstab.c: Likewise.
15853         * misc/getpass.c: Likewise.
15854         * misc/mntent.c: Likewise.
15855         * misc/syslog.c: Likewise.
15856         * nis/nis_call.c: Likewise.
15857         * nis/nis_callback.c: Likewise.
15858         * nis/nss-default.c: Likewise.
15859         * nis/nss_compat/compat-grp.c: Likewise.
15860         * nis/nss_compat/compat-initgroups.c: Likewise.
15861         * nis/nss_compat/compat-pwd.c: Likewise.
15862         * nis/nss_compat/compat-spwd.c: Likewise.
15863         * nis/nss_nis/nis-alias.c: Likewise.
15864         * nis/nss_nis/nis-ethers.c: Likewise.
15865         * nis/nss_nis/nis-grp.c: Likewise.
15866         * nis/nss_nis/nis-hosts.c: Likewise.
15867         * nis/nss_nis/nis-network.c: Likewise.
15868         * nis/nss_nis/nis-proto.c: Likewise.
15869         * nis/nss_nis/nis-pwd.c: Likewise.
15870         * nis/nss_nis/nis-rpc.c: Likewise.
15871         * nis/nss_nis/nis-service.c: Likewise.
15872         * nis/nss_nis/nis-spwd.c: Likewise.
15873         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15874         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15875         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15876         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15877         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15878         * nis/nss_nisplus/nisplus-network.c: Likewise.
15879         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15880         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15881         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15882         * nis/nss_nisplus/nisplus-service.c: Likewise.
15883         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15884         * nis/ypclnt.c: Likewise.
15885         * nptl/libc_pthread_init.c: Likewise.
15886         * nss/getXXbyYY.c: Likewise.
15887         * nss/getXXent.c: Likewise.
15888         * nss/getXXent_r.c: Likewise.
15889         * nss/nss_db/db-XXX.c: Likewise.
15890         * nss/nss_db/db-netgrp.c: Likewise.
15891         * nss/nss_db/nss_db.h: Likewise.
15892         * nss/nss_files/files-XXX.c: Likewise.
15893         * nss/nss_files/files-alias.c: Likewise.
15894         * nss/nsswitch.c: Likewise.
15895         * posix/regex_internal.h: Likewise.
15896         * posix/wordexp.c: Likewise.
15897         * pwd/fgetpwent.c: Likewise.
15898         * resolv/res_hconf.c: Likewise.
15899         * resolv/res_libc.c: Likewise.
15900         * shadow/fgetspent.c: Likewise.
15901         * shadow/lckpwdf.c: Likewise.
15902         * shadow/sgetspent.c: Likewise.
15903         * socket/opensock.c: Likewise.
15904         * stdio-common/reg-modifier.c: Likewise.
15905         * stdio-common/reg-printf.c: Likewise.
15906         * stdio-common/reg-type.c: Likewise.
15907         * stdio-common/vfprintf.c: Likewise.
15908         * stdio-common/vfscanf.c: Likewise.
15909         * stdlib/abort.c: Likewise.
15910         * stdlib/cxa_atexit.c: Likewise.
15911         * stdlib/fmtmsg.c: Likewise.
15912         * stdlib/random.c: Likewise.
15913         * stdlib/setenv.c: Likewise.
15914         * string/strsignal.c: Likewise.
15915         * sunrpc/auth_none.c: Likewise.
15916         * sunrpc/bindrsvprt.c: Likewise.
15917         * sunrpc/create_xid.c: Likewise.
15918         * sunrpc/key_call.c: Likewise.
15919         * sunrpc/rpc_thread.c: Likewise.
15920         * sysdeps/arm/backtrace.c: Likewise.
15921         * sysdeps/generic/ldsodefs.h: Likewise.
15922         * sysdeps/generic/stdio-lock.h: Likewise.
15923         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15924         * sysdeps/i386/backtrace.c: Likewise.
15925         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15926         * sysdeps/m68k/backtrace.c: Likewise.
15927         * sysdeps/mach/hurd/cthreads.c: Likewise.
15928         * sysdeps/mach/hurd/dirstream.h: Likewise.
15929         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15930         * sysdeps/nptl/malloc-machine.h: Likewise.
15931         * sysdeps/nptl/stdio-lock.h: Likewise.
15932         * sysdeps/posix/dirstream.h: Likewise.
15933         * sysdeps/posix/getaddrinfo.c: Likewise.
15934         * sysdeps/posix/system.c: Likewise.
15935         * sysdeps/pthread/aio_suspend.c: Likewise.
15936         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15937         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15938         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15939         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15940         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15941         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15942         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15943         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15944         * sysdeps/unix/sysv/linux/system.c: Likewise.
15945         * sysdeps/x86_64/backtrace.c: Likewise.
15946         * time/alt_digit.c: Likewise.
15947         * time/era.c: Likewise.
15948         * time/tzset.c: Likewise.
15949         * wcsmbs/wcsmbsload.c: Likewise.
15950         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15951         instead of <bits/libc-lock.h> in comment.
15953 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15955         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15956         Only use .set mips2 if the current ISA is below mips2.
15957         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15958         Likewise.
15959         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15960         mips32r2 if the current ISA is below mips32r2.
15961         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15962         (TLS_IE): Updated to use the TLD_RDHWR macro.
15963         (TLS_LE): Likewise.
15964         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15965         __ASSEMBLER__ condition.
15967 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15969         Fix parallel build of before-compile targets.
15971         * sysdeps/mach/Makefile ($(patsubst
15972         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15973         mach-before-compile target.
15974         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15975         io fs process)): Move rule to dedicated hurd-before-compile target.
15977 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15979         Fix rules generating headers in hurd/ and mach/ when initial make call
15980         has subdir= explicitly set.
15982         * sysdeps/mach/Makefile ($(patsubst
15983         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15984         calling $(MAKE).
15985         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15986         io fs process)): Force subdir to hurd when calling $(MAKE).
15987         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15988         subdir to mach when calling $(MAKE).
15990 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15992         Check sysheaders when looking for Mach and Hurd headers
15994         * sysdeps/mach/configure.ac: Add sysheaders check.
15995         * sysdeps/mach/configure: Regenerate.
15996         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15997         * sysdeps/mach/hurd/configure: Regenerate.
15999 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16001         [BZ #18921]
16002         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16003         Fix inverted sense of test of 'o_directory_works' value.
16004         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16005         Bernhard Voelker <mail@bernhard-voelker.de>.
16007 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #14912]
16010         * bits/linkmap.h: Move to ...
16011         * sysdeps/generic/linkmap.h: ...here.
16012         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16013         * sysdeps/aarch64/linkmap.h: ...here.
16014         * sysdeps/arm/bits/linkmap.h: Move to ...
16015         * sysdeps/arm/linkmap.h: ...here.
16016         * sysdeps/hppa/bits/linkmap.h: Move to ...
16017         * sysdeps/hppa/linkmap.h: ...here.
16018         * sysdeps/ia64/bits/linkmap.h: Move to ...
16019         * sysdeps/ia64/linkmap.h: ...here.
16020         * sysdeps/mips/bits/linkmap.h: Move to ...
16021         * sysdeps/mips/linkmap.h: ...here.
16022         * sysdeps/s390/bits/linkmap.h: Move to ...
16023         * sysdeps/s390/linkmap.h: ...here.
16024         * sysdeps/sh/bits/linkmap.h: Move to ...
16025         * sysdeps/sh/linkmap.h: ...here.
16026         * sysdeps/x86/bits/linkmap.h: Move to ...
16027         * sysdeps/x86/linkmap.h: ...here.
16028         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16030 2015-09-04  Andreas Schwab  <schwab@suse.de>
16032         [BZ #18635]
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16034         (__makecontext): Terminate FDE before return label.
16035         (__novec_makecontext): Likewise.
16037 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16039         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16040         first member of struct sv in syscall macro.
16042 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16044         [BZ #14912]
16045         * bits/stdio-lock.h: Move to ...
16046         * sysdeps/generic/stdio-lock.h: ...here.
16047         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16048         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16049         * sysdeps/nptl/stdio-lock.h: ...here.
16050         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16051         * include/libio.h: Include <stdio-lock.h> instead of
16052         <bits/stdio-lock.h>.
16053         * sysdeps/nptl/fork.c: Likewise.
16054         * sysdeps/pthread/flockfile.c: Likewise.
16055         * sysdeps/pthread/ftrylockfile.c: Likewise.
16056         * sysdeps/pthread/funlockfile.c: Likewise.
16058         [BZ #14912]
16059         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16060         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16061         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16062         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16063         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16064         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16065         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16067 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16069         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16070         (test-xfail-tst-protected1b): New variable.
16072 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16074         [BZ #14912]
16075         * bits/libc-tsd.h: Move to ...
16076         * sysdeps/generic/libc-tsd.h: ...here.
16077         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16078         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16079         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16080         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16081         * include/ctype.h: Include <libc-tsd.h> instead of
16082         <bits/libc-tsd.h>.
16083         * include/rpc/rpc.h: Likewise.
16084         * locale/localeinfo.h: Likewise.
16085         * sunrpc/rpc_thread.c: Likewise.
16086         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16087         * sysdeps/nptl/malloc-machine.h: Likewise.
16089         * Makefile (headers): Remove bits/libc-lock.h.
16090         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16092         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16093         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16094         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16095         <bits/stdio-lock.h>.
16096         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16097         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16099 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16101         [BZ #18757]
16102         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16103         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16104         BZ #18757.
16106 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16108         * malloc/mtrace.pl: Filter out NULL entries.
16110 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16112         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16113         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16114         macro.
16116         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16117         (TCP_CC_INFO): Likewise.
16118         (TCP_SAVE_SYN): Likewise.
16119         (TCP_SAVED_SYN): Likewise.
16121 2015-08-31  Brett Neumeier <brett@neumeier.us>
16123         [BZ #18870]
16124         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16126 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16128         [BZ #18873]
16129         Fix broken overflow check in posix_fallocate
16130         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16131         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16132         Fix parenthesization typo.
16134 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16136         [BZ #18887]
16137         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16138         tst-mntent-blank-passno.
16139         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16140         * misc/tst-mntent-blank-corrupt.c: New test.
16141         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16142         * misc/tst-mntent.c (do_test): ... here.
16144 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16146         [BZ #4404]
16147         * po/de.po: Fix SIGALRM typo.
16149 2015-08-28  James Perkins  <james@loowit.net>
16151         * time/tst-strptime2.c (tests): Replace short list of test
16152         strings for strptime %z specifier with code which exhaustively
16153         tests every combination of sign and 0 to 5 digits. Tests for
16154         rejection of invalid strings.
16156 2015-08-28  James Perkins  <james@loowit.net>
16158         [BZ #16141]
16159         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16160         calculation, removing incorrect decimal time rounding, so that
16161         all minute values result in a valid seconds value.
16162         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16163         offset range limits to UTC-99:59 through UTC+99:59 to parse
16164         current and historical use cases.
16165         * time/tst-strptime2.c (tests): Modify and add tests for the
16166         strptime %z input field descriptor, specifically conversion of
16167         minutes to seconds and validating an offset range of -9959 to
16168         +9959.
16170 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16171             Dmitry V. Levin  <ldv@altlinux.org>
16173         [BZ #18877]
16174         * posix/Makefile (tests): Add tst-mmap-offset.
16175         * posix/tst-mmap.c: New file.
16176         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16177         offset calculation for negative values.
16179 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16181         * sysdeps/i386/init-arch.h: New file.
16182         * sysdeps/i386/i586/init-arch.h: Likewise.
16183         * sysdeps/i386/i686/init-arch.h: Likewise.
16184         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16185         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16186         * sysdeps/x86/cpu-features.h (bit_I586): New.
16187         (bit_I686): Likewise.
16188         (bit_CX8): Likewise.
16189         (bit_CMOV): Likewise.
16190         (index_CX8): Likewise.
16191         (index_CMOV): Likewise.
16192         (index_I586): Likewise.
16193         (index_I686): Likewise.
16194         (reg_CX8): Likewise.
16195         (reg_CMOV): Likewise.
16196         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16197         available at compile-time.
16198         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16199         available at compile-time.
16200         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16201         (USE_I686): Likewise.
16203 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16205         * sysdeps/i386/bcopy.S: New file.
16206         * sysdeps/i386/bzero.S: Likewise.
16207         * sysdeps/i386/memcpy.S: Likewise.
16208         * sysdeps/i386/memmove.S: Likewise.
16209         * sysdeps/i386/mempcpy.S: Likewise.
16210         * sysdeps/i386/memset.S: Likewise.
16211         * sysdeps/i386/bzero.c: Removed.
16212         * sysdeps/i386/memset.c: Likewise.
16213         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16214         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16215         * sysdeps/i386/i586/memset_chk.S: Likewise.
16216         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16217         * sysdeps/i386/memcpy_chk.S: Here.
16218         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16219         * sysdeps/i386/memmove_chk.S: Here.
16220         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16221         * sysdeps/i386/mempcpy_chk.S: Likewise.
16222         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16223         * sysdeps/i386/memset_chk.S: Likewise.
16225 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16227         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16228         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16229         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16230         * soft-fp/fmadf4.c: Ditto.
16231         * soft-fp/fmatf4.c: Ditto.
16233 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16235         * sysdeps/i386/i586/Implies: Removed.
16236         * sysdeps/i386/i686/Implies: Likewise.
16238 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16240         * sysdeps/i386/i486/strlen.S: Moved to ...
16241         * sysdeps/i386/strlen.S: Here.
16243 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16245         * sysdeps/i386/i486/strcat.S: Moved to ...
16246         * sysdeps/i386/strcat.S: Here.
16248 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16250         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16251         * sysdeps/i386/pthread_spin_trylock.S: Here.
16252         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16253         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16255 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16257         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16258         * sysdeps/i386/string-inlines.c: Here.
16260 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16262         * sysdeps/i386/i486/htonl.S: Moved ...
16263         * sysdeps/i386/htonl.S: here.
16265 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16267         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16268         * sysdeps/i386/bits/atomic.h: Here.
16270 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16272         * sysdeps/i386/i486/Versions: Removed.
16274 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16276         [BZ #2898]
16277         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16278         Based on patch by Aurelien Jarno.
16280 2015-08-26  Stan Shebs  <stanshebs@google.com>
16282         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16283         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16285 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16287         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16288         * sysdeps/powerpc/dl-procinfo.c:
16289         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16290         feature so it shows when LD_SHOW_AUXV=1.
16292 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16294         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16295         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16296         definition.  ISA 2.07B no longer requires full sync.
16298 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16300         [BZ #18863]
16301         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16302         (si_call_addr): Define.
16303         (si_syscall): Define.
16304         (si_arch): Define.
16306 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16308         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16309         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16310         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16311         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16312         (__memset_zero_constant_len_parameter): New.
16313         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16314         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16315         (__memset_zero_constant_len_parameter): Don't define if
16316         __memset_chk or USE_AS_BZERO are defined.
16318         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16319         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16320         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16322         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16323         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16324         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16325         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16326         comments.
16327         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16328         -mno-mmx for $(all-rtld-routines).
16329         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16330         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16331         i386.
16333 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16335         * sysdeps/generic/unwind.h
16336         (_Unwind_Word): Use __mode__(__unwind_word__)
16337         instead of __mode__(__word__).
16338         (_Unwind_Sword): Likewise.
16340         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16341         (MAX_NEEDED_INPUT): New define.
16342         (MAX_NEEDED_OUTPUT): New define.
16344         * NEWS: New item for IBM z13 string optimizations.
16346         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16347         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16348         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16349         * sysdeps/s390/multiarch/Makefile
16350         (sysdep_routines): Add memrchr functions.
16351         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16352         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16354         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16355         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16356         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16357         * sysdeps/s390/multiarch/Makefile
16358         (sysdep_routines): Add wmemcmp functions.
16359         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16360         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16361         * benchtests/bench-wmemcmp.c: New File.
16362         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16364         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16365         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16366         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16367         * sysdeps/s390/multiarch/Makefile
16368         (sysdep_routines): Add wmemset functions.
16369         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16370         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16371         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16372         * string/test-memset.c: Add wmemset support.
16373         * wcsmbs/test-wmemset.c: New File.
16374         * wcsmbs/Makefile (strop-tests): Add wmemset.
16375         * benchtests/bench-memset.c: Add wmemset support.
16376         * benchtests/bench-wmemset.c: New File.
16377         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16379         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16380         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16381         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16382         * sysdeps/s390/multiarch/Makefile
16383         (sysdep_routines): Add memccpy functions.
16384         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16385         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16386         * string/memccpy.c: Use MEMCCPY if defined.
16388         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16389         * sysdeps/s390/multiarch/memchr.c: Likewise.
16390         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16391         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16392         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16393         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16394         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16395         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16396         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16397         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16399         and rawmemchr functions.
16400         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16401         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16402         and wmemchr.
16403         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16404         * string/test-memchr.c: Add wmemchr support.
16405         * wcsmbs/test-wmemchr.c: New File.
16406         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16407         * benchtests/bench-memchr.c: Add wmemchr support.
16408         * benchtests/bench-wmemchr.c: New File.
16409         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16411         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16412         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16413         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16414         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16415         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16416         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16418         wcscspn functions.
16419         * sysdeps/s390/multiarch/ifunc-impl-list.c
16420         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16421         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16422         * string/test-strcspn.c: Add wcscspn support.
16423         * wcsmbs/test-wcscspn.c: New File.
16424         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16425         * benchtests/bench-strcspn.c: Add wcscspn support.
16426         * benchtests/bench-wcscspn.c: New File.
16427         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16429         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16430         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16431         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16432         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16433         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16434         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16436         wcspbrk functions.
16437         * sysdeps/s390/multiarch/ifunc-impl-list.c
16438         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16439         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16440         * string/test-strpbrk.c: Add wcspbrk support.
16441         * wcsmbs/test-wcspbrk.c: New File.
16442         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16443         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16444         * benchtests/bench-wcspbrk.c: New File.
16445         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16447         * sysdeps/s390/multiarch/strspn-c.c: New File.
16448         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16449         * sysdeps/s390/multiarch/strspn.c: Likewise.
16450         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16451         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16452         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16453         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16454         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16455         wcsspn functions.
16456         * sysdeps/s390/multiarch/ifunc-impl-list.c
16457         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16458         * string/test-strspn.c: Add wcsspn support.
16459         * wcsmbs/test-wcsspn.c: New File.
16460         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16461         * benchtests/bench-strspn.c: Add wcsspn support.
16462         * benchtests/bench-wcsspn.c: New File.
16463         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16465         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16466         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16467         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16468         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16469         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16470         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16472         wcsrchr functions.
16473         * sysdeps/s390/multiarch/ifunc-impl-list.c
16474         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16475         * benchtests/bench-wcsrchr.c: New File.
16476         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16478         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16479         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16480         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16481         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16482         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16483         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16485         wcschrnul functions.
16486         * sysdeps/s390/multiarch/ifunc-impl-list.c
16487         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16488         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16489         * string/test-strchr.c: Add wcschrnul support.
16490         * wcsmbs/test-wcschrnul.c: New File.
16491         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16492         * benchtests/bench-strchr.c: Add wcschrnul support.
16493         * benchtests/bench-wcschrnul.c: New File.
16494         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16496         * sysdeps/s390/multiarch/strchr-c.c: New File.
16497         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16498         * sysdeps/s390/multiarch/strchr.c: Likewise.
16499         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16500         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16501         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16503         wcschr functions.
16504         * sysdeps/s390/multiarch/ifunc-impl-list.c
16505         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16506         * string/strchr.c (STRCHR): Define and use macro.
16507         * benchtests/bench-wcschr.c: New File.
16508         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16510         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16511         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16512         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16513         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16514         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16515         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16516         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16517         wcsncmp functions.
16518         * sysdeps/s390/multiarch/ifunc-impl-list.c
16519         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16520         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16521         * benchtests/bench-strncmp.c: Add wcsncmp support.
16522         * benchtests/bench-wcsncmp.c: New File.
16523         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16525         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16526         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16527         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16528         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16529         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16530         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16531         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16533         wcscmp functions.
16534         * sysdeps/s390/multiarch/ifunc-impl-list.c
16535         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16536         * string/strcmp.c (STRCMP): Define and use macro.
16537         * benchtests/bench-wcscmp.c: New File.
16538         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16539         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16540         instead of _HAVE_STRING_ARCH_memchr.
16542         * sysdeps/s390/multiarch/strncat-c.c: New File.
16543         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16544         * sysdeps/s390/multiarch/strncat.c: Likewise.
16545         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16546         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16547         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16548         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16549         wcsncat functions.
16550         * sysdeps/s390/multiarch/ifunc-impl-list.c
16551         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16552         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16553         * string/test-strncat.c: Add wcsncat support.
16554         * wcsmbs/test-wcsncat.c: New File.
16555         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16556         * benchtests/bench-strncat.c: Add wcsncat support.
16557         * benchtests/bench-wcsncat.c: New File.
16558         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16560         * sysdeps/s390/multiarch/strcat-c.c: New File.
16561         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16562         * sysdeps/s390/multiarch/strcat.c: Likewise.
16563         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16564         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16565         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16566         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16567         wcscat functions.
16568         * sysdeps/s390/multiarch/ifunc-impl-list.c
16569         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16570         * string/strcat.c (STRCAT): Define and use macro.
16571         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16572         * string/test-strcat.c: Add wcscat support.
16573         * wcsmbs/test-wcscat.c: New File.
16574         * wcsmbs/Makefile (strop-tests): Add wcscat.
16575         * benchtests/bench-strcat.c: Add wcscat support.
16576         * benchtests/bench-wcscat.c: New File.
16577         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16579         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16580         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16581         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16582         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16583         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16584         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16586         wcpncpy functions.
16587         * sysdeps/s390/multiarch/ifunc-impl-list.c
16588         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16589         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16590         * string/test-stpncpy.c: Add wcpncpy support.
16591         * wcsmbs/test-wcpncpy.c: New File.
16592         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16593         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16594         * benchtests/bench-wcpncpy.c: New File.
16595         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16597         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16598         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16599         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16600         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16601         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16602         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16603         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16605         wcsncpy functions.
16606         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16607         * sysdeps/s390/multiarch/ifunc-impl-list.c
16608         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16609         * string/test-strncpy.c: Add wcsncpy support.
16610         * wcsmbs/test-wcsncpy.c: New File.
16611         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16612         * benchtests/bench-strncpy.c: Add wcsncpy support.
16613         * benchtests/bench-wcsncpy.c: New File.
16614         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16616         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16617         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16618         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16619         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16620         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16621         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16622         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16623         wcpcpy functions.
16624         * string/stpcpy.c: Use STPCPY if defined.
16625         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16626         * sysdeps/s390/multiarch/ifunc-impl-list.c
16627         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16628         * string/test-stpcpy.c: Add wcpcpy support.
16629         * wcsmbs/test-wcpcpy.c: New File.
16630         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16631         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16632         * benchtests/bench-wcpcpy.c: New File.
16633         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16635         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16636         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16637         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16638         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16639         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16640         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16641         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16642         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16643         wcscpy functions.
16644         * sysdeps/s390/multiarch/ifunc-impl-list.c
16645         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16646         * benchtests/bench-wcscpy.c: New File.
16647         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16649         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16650         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16651         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16652         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16653         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16654         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16655         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16656         wcsnlen functions.
16657         * sysdeps/s390/multiarch/ifunc-impl-list.c
16658         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16659         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16660         * string/test-strnlen.c: Add wcsnlen support.
16661         * wcsmbs/test-wcsnlen.c: New File.
16662         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16663         * benchtests/bench-strnlen.c: Add wcsnlen support.
16664         * benchtests/bench-wcsnlen.c: New File.
16665         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16667         * sysdeps/s390/multiarch/Makefile: New File.
16668         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16669         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16670         * sysdeps/s390/multiarch/strlen.c: Likewise.
16671         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16672         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16673         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16674         * string/strlen.c (STRLEN): Define and use macro.
16675         * sysdeps/s390/multiarch/ifunc-impl-list.c
16676         (IFUNC_VX_IMPL): New macro function.
16677         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16678         * benchtests/Makefile (wcsmbs-bench): New variable.
16679         (string-bench-all): Added wcsmbs-bench.
16680         * benchtests/bench-wcslen.c: New File.
16682         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16683         s390_vx_libc_ifunc2): New macro function.
16685         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16686         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16687         assembler support.
16688         * sysdeps/s390/configure: Regenerated.
16690         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16691         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16693         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16694         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16695         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16697         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16698         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16700         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16701         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16702         (memcmp, bcmp): Use __memcmp_default as alias source.
16703         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16704         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16705         Rename to __memcmp_default.
16706         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16707         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16708         (memcpy): Use __memcpy_default as alias source.
16709         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16710         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16711         Rename to __memcpy_default.
16712         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16713         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16714         (memset): Use __memset_default as alias source.
16715         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16716         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16717         Rename to __memset_default.
16718         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16719         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16720         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16721         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16722         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16723         (memcmp, bcmp): Use __memcmp_default as alias source.
16724         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16725         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16726         Rename to __memcmp_default.
16727         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16728         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16729         (memcpy): Use __memcpy_default as alias source.
16730         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16731         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16732         Rename to __memcpy_default.
16733         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16734         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16735         (memset): Use __memset_default as alias source.
16736         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16737         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16738         Rename to __memset_default.
16739         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16740         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16742         [BZ #18610]
16743         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16744         __ieee_instruction_pointer to __unused.
16745         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16746         __ieee_instruction_pointer.
16747         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16748         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16749         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16750         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16751         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16752         Mark dxc-field as reserved.
16754 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16756         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16757         if the weak reference is not null.
16759 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16761         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16763         [BZ #11214]
16764         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16766 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16768         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16769         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16770         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16771         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16772         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16773         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16774         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16775         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16776         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16777         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16778         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16779         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16780         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16781         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16782         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16783         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16784         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16785         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16787 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16789         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16790         register other than r0 for tabort, it has special meaning.
16791         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16792         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16793         transaction before starting syscall.
16795 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16797         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16799 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16801         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16803         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16804         * sysdeps/x86_64/rtld-memset.S: Likewise.
16805         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16806         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16807         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16808         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16810         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16812 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16814         * debug/strcpy_chk.c: Improve performance.
16815         * debug/stpcpy_chk.c: Likewise.
16816         * sysdeps/x86_64/strcpy_chk.S: Remove.
16817         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16819         [BZ #18240]
16820         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16822 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16824         [BZ #15128]
16825         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16826         ifuncmain8.
16827         (modules-names): Add ifuncmod8.
16828         ($(objpfx)ifuncmain8): New rule.
16829         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16830         <cpuid.h>.
16831         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16832         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16833         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16834         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16835         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16836         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16837         * sysdeps/x86_64/ifuncmain8.c: New file.
16838         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16839         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16840         Removed.
16841         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16842         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16843         Change rtld_savespace_sse to __glibc_unused2.
16844         (RTLD_CHECK_FOREIGN_CALL): Removed.
16845         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16846         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16847         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16849 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16851         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16853 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16855         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16856         Unconditionally set __fpcr to avoid uninialized warning.
16857         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16859 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16861         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16862         is corrupt.
16864         * malloc/arena.c (arena_get2): Drop unused argument.
16865         (arena_lock): Adjust.
16866         (arena_get_retry): Likewise.
16868 2015-08-24  Andreas Schwab  <schwab@suse.de>
16870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16871         Don't define.
16872         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16873         (__ASSUME_IPC64): Don't undef.
16874         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16875         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16876         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16877         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16878         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16879         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16880         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16881         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16882         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16883         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16884         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16885         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16886         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16887         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16888         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16889         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16890         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16891         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16892         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16893         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16894         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16896 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16898         * manual/Makefile (install): Only build manual when perl is available.
16900 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16902         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16903         '#undef memcpy' by '#undef memchr'.
16905 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16907         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16908         memchr not point to the internal __GI_memchr implementation.
16910 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16912         * timezone/Makefile (CFLAGS-zdump.c): Remove
16913         -Wno-strict-prototypes.
16914         (CFLAGS-zic.c): Likewise.
16915         (CFLAGS-ialloc.c): Likewise.
16916         (CFLAGS-scheck.c): Likewise.
16918         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16919         -Wno-error=undef.
16921 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16923         * i386/i686/multiarch/strcasestr-c.c: Removed.
16924         * x86_64/multiarch/strcasestr.c: Likewise.
16925         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16926         Remove strcasestr.
16928 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16930         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16933         variables for high and low parts before possibly modifying them.
16935 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16937         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16938         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16939         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16940         of "multiarch/init-arch.h".
16941         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16942         * sysdeps/x86/init-arch.h: This.
16944 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16946         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16947         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16949 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16951         [BZ #17787]
16952         * manual/macros.texi: Add twoexp macro.
16953         * manual/filesys.texi: Fix exponents.
16954         * manual/llio.texi: Likewise.
16955         * manual/stdio.texi: Likewise.
16957 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16959         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16960         incorrect use.
16962 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16964         [BZ #18370]
16965         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16966         whose real or imaginary part has small absolute value.
16967         * math/s_csqrtf.c (__csqrtf): Likewise.
16968         * math/s_csqrtl.c (__csqrtl): Likewise.
16969         * math/auto-libm-test-in: Add more tests of csqrt.
16970         * math/auto-libm-test-out: Regenerated.
16971         * sysdeps/i386/fpu/libm-test-ulps: Update.
16973 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16975         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16976         __ppc_set_ppr_very_low): New functions.
16977         * manual/platform.texi: Add documentation about
16978         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16980 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16982         * string/stpncpy.c (stpncpy): Improve performance using
16983         __strnlen/memcpy/memset.
16985 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16987         [BZ #18796]
16988         * scripts/test-installation.pl: Don't add -lmvec to build options if
16989         libmvec wasn't built.
16991 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16993         [BZ #14341]
16994         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16995         case when there is a gap between DT_REL and DT_JMPREL sections.
16996         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16997         (LDFLAGS-tst-split-dynreloc): New.
16998         (tst-split-dynreloc-ENV): Likewise.
16999         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17000         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17002 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17004         [BZ #18822]
17005         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17006         attribute_hidden.
17007         (__xstat64_conv): Likewise.
17008         (__xstat32_conv): Likewise.
17010 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17012         [BZ #18822]
17013         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17014         Don't load %ebx when calling __setcontext.  Call __setcontext
17015         with HIDDEN_JUMPTARGET.
17016         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17017         libc_hidden_def.
17019 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17021         * sysdeps/i386/i686/Makefile
17022         [$(subdir) == string] (sysdep_routines): Moved to ...
17023         * sysdeps/i386/Makefile: Here.
17024         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17025         * sysdeps/i386/cacheinfo.c: Here.
17026         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17027         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17028         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17029         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17031 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17034         __i586__ is defined.
17035         (HAS_I686): Defined to 1 if __i686__ is defined.
17037 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17039         * elf/Makefile [$(have-z-execstack) = yes]
17040         (CPPFLAGS-tst-execstack.c): New variable.
17042         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17043         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17044         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17045         UTMPX || _HAVE_UT_TV].
17046         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17047         UTMPX || _HAVE_UT_TV - 0].
17049 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17051         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17052         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17053         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17055 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17057         * sysdeps/powerpc/dl-procinfo.c:
17058         (_dl_powerpc_cap_flags): Added missing strings for some
17059         hwcap features.
17060         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17062 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17064         Port the 0x7efe...feff pattern to GCC 6.
17065         See Steve Ellcey's bug report in:
17066         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17067         * string/memrchr.c (MEMRCHR):
17068         * string/rawmemchr.c (RAWMEMCHR):
17069         * string/strchr.c (strchr):
17070         * string/strchrnul.c (STRCHRNUL):
17071         Rewrite code to avoid issues with signed shift overflow.
17073 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17075         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17076         whether cpuid is available only if HAS_CPUID is 0.
17077         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17078         (HAS_I586): Likewise.
17079         (HAS_I686): Likewise.
17081 2015-08-18  Zack Weinberg  <zackw@panix.com>
17083         * misc/Versions (libc): Add GLIBC_2.23.
17085 2015-08-18  Alan Modra  <amodra@gmail.com>
17087         [BZ #18421]
17088         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17089         .Lp__global.
17090         (_start): Load %dp via .Lp__global.
17091         [!SHARED]: Use .section .rodata.
17093 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17095         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17096         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17098 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17100         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17101         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17103 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17105         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17106         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17108 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17110         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17111         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17113 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17115         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17116         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17118 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17120         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17121         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17123 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17125         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17127 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17129         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17130         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17131         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17132         (__ASSUME_LWS_CAS): Delete.
17134 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17136         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17137         * sysdeps/hppa/configure: Regenerated.
17138         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17139         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17140         * sysdeps/hppa/nptl/tls.h: Likewise.
17142 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17144         [BZ #18823]
17145         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17146         for scaling up small arguments.
17147         * math/s_csqrtf.c (__csqrtf): Likewise.
17148         * math/s_csqrtl.c (__csqrtl): Likewise.
17149         * math/auto-libm-test-in: Add more tests of csqrt.
17150         * math/auto-libm-test-out: Regenerated.
17152 2015-08-17  Andreas Schwab  <schwab@suse.de>
17154         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17155         version set GLIBC_2.19.
17157 2015-08-16  Zack Weinberg  <zackw@panix.com>
17159         [BZ #18681]
17160         * misc/regexp.h: This interface is no longer supported.
17161         Remove all contents, leaving only an #error directive.
17162         * misc/regexp.c (loc1, loc2, locs, step, advance):
17163         Demote to compatibility symbols.
17165 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17167         [BZ #18084]
17168         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17169         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17170         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17171         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17172         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17173         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17174         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17175         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17176         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17178 2015-08-15  Zack Weinberg  <zackw@panix.com>
17180         [BZ #18795]
17181         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17182         buffer length is known to be too large, not if it's known to be
17183         small enough.
17184         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17185         overflow at runtime, involving a length parameter, twice: once
17186         with a compile-time constant length parameter, once without.
17188 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17190         [BZ #18824]
17191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17192         scaling x * y up instead of down.
17193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17194         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17195         * math/auto-libm-test-in: Add more tests of fma.
17196         * math/auto-libm-test-out: Regenerated.
17198 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17202 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17204         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17205         unnecessary movq.
17206         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17207         Likewise.
17209 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17211         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17212         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17213         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17214         and tgamma.
17215         * math/auto-libm-test-out: Regenerated.
17216         * sysdeps/i386/fpu/libm-test-ulps: Update.
17217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17219         [BZ #16520]
17220         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17221         (__tanh): Force underflow exception for arguments with small
17222         absolute value.
17223         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17224         (__tanhf): Force underflow exception for arguments with small
17225         absolute value.
17226         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17227         (__tanhl): Force underflow exception for arguments with small
17228         absolute value.
17229         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17230         (__tanhl): Force underflow exception for arguments with small
17231         absolute value.
17232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17233         (__tanhl): Force underflow exception for arguments with small
17234         absolute value.
17235         * math/auto-libm-test-in: Add more tests of tanh.
17236         * math/auto-libm-test-out: Regenerated.
17237         * sysdeps/i386/fpu/libm-test-ulps: Update.
17239 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17241         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17242         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17244 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17246         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17247         <cpuid.h>.
17249 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17251         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17252         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17254 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17256         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17257         Remove $(objpfx)init-arch.o.
17258         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17259         init-arch.
17260         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17261         (INIT_ARCH_EXT): Defined as empty.
17262         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17264         __init_cpu_features call.  Replace HAS_XXX with
17265         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17268         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17269         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17270         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17271         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17272         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17273         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17274         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17275         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17284         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17286         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17287         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17288         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17292         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17299         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17302 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17304         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17305         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17306         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17307         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17308         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17309         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17310         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17311         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17312         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17313         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17314         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17315         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17316         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17317         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17318         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17319         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17320         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17321         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17322         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17323         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17324         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17325         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17328         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17329         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17330         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17331         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17332         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17333         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17334         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17340         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17341         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17342         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17343         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17344         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17345         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17346         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17348 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17350         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17351         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17353         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17354         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17355         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17357         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17358         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17359         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17360         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17361         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17362         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17363         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17364         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17365         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17366         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17367         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17368         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17369         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17371         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17372         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17373         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17374         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17375         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17376         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17377         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17378         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17379         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17380         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17381         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17382         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17383         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17384         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17385         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17386         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17388         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17389         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17390         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17391         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17392         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17394 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17396         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17397         (dl_platform_init): Call init_cpu_features.
17398         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17399         * sysdeps/i386/i686/cacheinfo.c
17400         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17401         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17402         * sysdeps/i386/i686/multiarch/Versions: Removed.
17403         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17404         Removed.
17405         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17406         * sysdeps/unix/sysv/linux/x86/Makefile
17407         (libpthread-sysdep_routines): Remove init-arch.
17408         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17409         <sysdeps/x86_64/dl-procinfo.c> instead of
17410         sysdeps/generic/dl-procinfo.c>.
17411         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17412         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17413         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17414         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17415         [$(subdir) == elf] (tests-static): Add
17416         tst-get-cpu-features-static.
17417         * sysdeps/x86/Versions: New file.
17418         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17419         * sysdeps/x86/cpu-features.c: Likewise.
17420         * sysdeps/x86/cpu-features.h: Likewise.
17421         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17422         * sysdeps/x86/libc-start.c: Likewise.
17423         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17424         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17425         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17426         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17427         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17428         Assume USE_MULTIARCH is defined and don't check it.
17429         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17430         (is_amd): Likewise.
17431         (max_cpuid): Likewise.
17432         (intel_check_word): Likewise.
17433         (__cache_sysconf): Don't call __init_cpu_features.
17434         (__x86_preferred_memory_instruction): Removed.
17435         (init_cacheinfo): Don't call __init_cpu_features. Replace
17436         __cpu_features with GLRO(dl_x86_cpu_features).
17437         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17438         (dl_platform_init): Call init_cpu_features.
17439         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17440         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17441         * sysdeps/x86_64/multiarch/Versions: Removed.
17442         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17443         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17444         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17445         Removed.
17446         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17448 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17450         [BZ #18820]
17451         * libio/Makefile (test-fmemopen-mem): New test.
17452         * libio/test-fmemopen.c (do_bz18820): New test.
17453         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17454         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17456 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17458         [BZ #16734]
17459         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17460         (FREE_BUF): Delete.
17461         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17462         * libio/genops.c (_IO_setb): Use malloc and free directly.
17463         (_IO_default_doallocate, _IO_default_finish): Likewise.
17464         ( _IO_unbuffer_all): Likewise.
17465         ( libc_freeres_fn): Likewise.
17466         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17467         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17468         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17469         (_IO_wdefault_doallocate): Likewise.
17471 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17473         [BZ #18086]
17474         * sysdeps/posix/nice.c (nice): Restore old errno.
17475         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17477 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17481 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17483         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17484         __bcopy and add a weak_alias to bcopy.
17485         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17486         for static build.
17488         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17489         cleanup macro usage.
17490         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17491         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17492         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17493         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17494         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17495         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17496         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17497         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17498         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17499         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17501         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17502         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17503         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17507         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17508         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17510         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17511         libc_hidden_def.
17512         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17514         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17515         (sysdep_routines): Add strstr-ppc64.
17516         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17518 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17520         [BZ #18778]
17521         * elf/Makefile (tests): Add Add tst-nodelete2.
17522         (modules-names): Add tst-nodelete2mod.
17523         (tst-nodelete2mod.so-no-z-defs): New.
17524         ($(objpfx)tst-nodelete2): Likewise.
17525         ($(objpfx)tst-nodelete2.out): Likewise.
17526         (LDFLAGS-tst-nodelete2): Likewise.
17527         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17528         out of loop through all loaded libraries.
17529         * elf/tst-nodelete2.c: New file.
17530         * elf/tst-nodelete2mod.c: Likewise.
17531         * elf/tst-znodelete-zlib.cc: Delete.
17533 2015-08-11  Andreas Schwab  <schwab@suse.de>
17535         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17536         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17537         (__openat64_nocancel): Likewise.
17539 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17541         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17542         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17543         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17544         * math/auto-libm-test-out: Regenerated.
17545         * sysdeps/i386/fpu/libm-test-ulps: Update.
17546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17548 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17550         [BZ #18790]
17551         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17552         threshold for returning +/- 1.
17553         * math/auto-libm-test-in: Add more tests of tanh.
17554         * math/auto-libm-test-out: Regenerated.
17555         * sysdeps/i386/fpu/libm-test-ulps: Update.
17557 2015-08-10  Andreas Schwab  <schwab@suse.de>
17559         [BZ #18781]
17560         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17561         MORE_OFLAGS to oflag.
17562         * io/test-lfs.c (do_test): Test openat64.
17564 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17566         [BZ #18789]
17567         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17568         smaller threshold for returning the argument.
17569         * math/auto-libm-test-in: Add more tests of sinh.
17570         * math/auto-libm-test-out: Regenerated.
17571         * sysdeps/i386/fpu/libm-test-ulps: Update.
17573 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17575         [BZ #18674]
17576         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17577         break.
17579 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17581         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17582         (generated): Don't add $(addprefix z.,$(tzfiles)).
17584 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17586         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17587         * scripts/sysd-rules.awk: Likewise.
17589 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17591         * iconvdata/tst-tables.sh: Change echo -n to printf.
17592         * nss/db-Makefile: Likewise.
17593         * posix/tst-getconf.sh: Likewise.
17594         * stdio-common/tst-unbputc.sh: Likewise.
17596 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17598         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17599         MADV_*_PAGES defines behind this feature check.
17601 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17603         [BZ #18480]
17604         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17605         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17606         Define.
17607         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17608         LOAD_REGS_5, LOAD_REGS_6): Update.
17609         (INTERNAL_SYSCALL): Update using new LOAD defines.
17610         (INTERNAL_SYSCALL_NCS): Likewise.
17611         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17613 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17615         [BZ #16734]
17616         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17618 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17620         [BZ #17905]
17621         * catgets/Makefile (tst-catgets-mem): New test.
17622         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17623         * catgets/open_catalog.c (__open_catalog): Likewise.
17624         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17626 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17628         [BZ #18787]
17629         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17630         clobber registers.
17631         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17632         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17633         Cast return to __typeof (oldval).
17635 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17637         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17638         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17639         and delete sys/syscall.h include.
17641 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17643         [BZ #16517]
17644         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17645         (tan): Force underflow exception for arguments with small absolute
17646         value.
17647         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17648         (__kernel_tanf): Force underflow exception for arguments with
17649         small absolute value.
17650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17651         (__kernel_tanl): Force underflow exception for arguments with
17652         small absolute value.
17653         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17654         (__kernel_tanl): Force underflow exception for arguments with
17655         small absolute value.
17656         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17657         (__kernel_tanl): Force underflow exception for arguments with
17658         small absolute value.
17659         * math/auto-libm-test-in: Add more tests of tan.
17660         * math/auto-libm-test-out: Regenerated.
17662 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17664         Fix sysdeps/i386/fpu/s_scalbn.S build
17666         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17668 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17670         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17672 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17674         Fix gcrt0.o compilation
17676         When static-start-installed-name is different from
17677         start-installed-name, we must not use the shared objects.
17679         * csu/Makefile
17680         (extra-objs): Add gmon-start.o when building shared library and
17681         $(static-start-installed-name) is different from
17682         $(start-installed-name).
17683         $(objpfx)g$(static-start-installed-name): When building shared
17684         library and $(static-start-installed-name) is different from
17685         $(static-start-installed-name), revert to non-shared rule,
17686         i.e. using $(objpfx)% and gmon-start.o.
17688 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17690         [BZ #16519]
17691         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17692         (__ieee754_sinh): Force underflow exception for arguments with
17693         small absolute value.
17694         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17695         (__ieee754_sinhf): Force underflow exception for arguments with
17696         small absolute value.
17697         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17698         (__ieee754_sinhl): Force underflow exception for arguments with
17699         small absolute value.
17700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17701         (__ieee754_sinhl): Force underflow exception for arguments with
17702         small absolute value.
17703         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17704         (__ieee754_sinhl): Force underflow exception for arguments with
17705         small absolute value.
17706         * math/auto-libm-test-in: Add more tests of sinh.
17707         * math/auto-libm-test-out: Regenerated.
17708         * sysdeps/i386/fpu/libm-test-ulps: Update.
17710 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17712         * libio/oldfileops.c: Include unistd.h.
17714 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17716         * stdlib/isomac.c: Include ctype.h.
17718 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17720         * dirent/tst-seekdir.c (main): Converted to ...
17721         (do_test): ... this.
17722         (TEST_FUNCTION): New macro.
17723         Include test-skeleton.c.
17724         * elf/tst-dlmodcount.c (main): Converted to ...
17725         (do_test): ... this.
17726         (TEST_FUNCTION): New macro.
17727         Include test-skeleton.c.
17728         * elf/tst-order-main.c (main): Converted to ...
17729         (do_test): ... this.
17730         (TEST_FUNCTION): New macro.
17731         Include test-skeleton.c.
17732         * elf/tst-pie2.c (main): Converted to ...
17733         (do_test): ... this.
17734         (TEST_FUNCTION): New macro.
17735         Include test-skeleton.c.
17736         * inet/tst-ether_aton.c (main): Converted to ...
17737         (do_test): ... this.
17738         (TEST_FUNCTION): New macro.
17739         Include test-skeleton.c.
17740         * misc/tst-mntent.c (main): Converted to ...
17741         (do_test): ... this.
17742         (TEST_FUNCTION): New macro.
17743         Include test-skeleton.c.
17744         * misc/tst-tsearch.c (main): Converted to ...
17745         (do_test): ... this.
17746         (TEST_FUNCTION): New macro.
17747         Include test-skeleton.c.
17748         * posix/tst-regexloc.c (main): Converted to ...
17749         (do_test): ... this.
17750         (TEST_FUNCTION): New macro.
17751         Include test-skeleton.c.
17752         * resolv/tst-aton.c (main): Converted to ...
17753         (do_test): ... this.
17754         (TEST_FUNCTION): New macro.
17755         Include test-skeleton.c.
17756         * stdio-common/test-fwrite.c (main): Converted to ...
17757         (do_test): ... this.
17758         (TEST_FUNCTION): New macro.
17759         Include test-skeleton.c.
17760         * stdio-common/tst-ferror.c (main): Converted to ...
17761         (do_test): ... this.
17762         (TEST_FUNCTION): New macro.
17763         Include test-skeleton.c.
17764         * stdio-common/tst-printf.c (main): Converted to ...
17765         (do_test): ... this.
17766         (TEST_FUNCTION): New macro.
17767         Include test-skeleton.c.
17768         * stdio-common/tst-printfsz.c (main): Converted to ...
17769         (do_test): ... this.
17770         (TEST_FUNCTION): New macro.
17771         Include test-skeleton.c.
17772         * stdlib/tst-strtod.c (main): Converted to ...
17773         (do_test): ... this.
17774         (TEST_FUNCTION): New macro.
17775         Include test-skeleton.c.
17776         * string/tst-strlen.c (main): Converted to ...
17777         (do_test): ... this.
17778         (TEST_FUNCTION): New macro.
17779         Include test-skeleton.c.
17780         * string/tst-svc.c (main): Converted to ...
17781         (do_test): ... this.
17782         (TEST_FUNCTION): New macro.
17783         Include test-skeleton.c.
17784         * time/tst-strptime.c (main): Converted to ...
17785         (do_test): ... this.
17786         (TEST_FUNCTION): New macro.
17787         Include test-skeleton.c.
17788         * timezone/tst-timezone.c (main): Converted to ...
17789         (do_test): ... this.
17790         (TEST_FUNCTION): New macro.
17791         Include test-skeleton.c.
17793 2015-08-05  Zack Weinberg  <zackw@panix.com>
17795         * misc/regexp.h: Update comments.
17797 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17799         [BZ #18635]
17800         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17801         before return label.
17803 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17805         [BZ #18661]
17806         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17807         when calling __errno_location.
17808         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17809         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17811 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17813         [BZ #18661]
17814         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17815         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17816         __gettimeofday.
17818 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17820         [BZ #18661]
17821         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17822         (__start_context): Don't use pop to restore %rdi so that stack
17823         is aligned to 16 bytes when calling __setcontext.
17825 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17827         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17828         only for libc.
17829         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17831 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17833         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17834         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17835         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17837 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17839         * string/memccpy.c (memccpy):
17840         Improve performance by using memchr/memcpy/__mempcpy.
17842 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17844         * string/strncpy.c (strncpy):
17845         Improve performance by using __strnlen/memcpy.
17847 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17849         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17850         Optimize to avoid an unnecessary FPCR read.
17852 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17854         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17855         Optimize to reduce FPCR/FPSR accesses.
17857 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17859         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17860         dead->data[category] != NULL.
17862 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17864         [BZ #18647]
17865         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17866         and |x| close to 1, use absolute value of x when computing log.
17867         * math/auto-libm-test-in: Add more tests of pow.
17868         * math/auto-libm-test-out: Regenerated.
17870 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17872         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17873         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17874         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17876 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17878         [BZ #18525]
17879         * locales/km_KH: Remove timezone definition.
17880         * locales/lo_LA: Likewise.
17881         * locales/my_MM: Likewise.
17882         * locales/nan_TW@latin: Likewise.
17883         * locales/th_TH: Likewise.
17884         * locales/uk_UA: Likewise.
17886 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17888         [BZ #18265]
17889         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17890         (wcsncat): Likewise.
17891         (wcscmp): Likewise.
17892         (wcsncmp): Likewise.
17894 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17896         * test-skeleton.c (usage): New function.
17897         (main): Call usage when opt is '?'.
17899 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17901         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17902         before first use.
17904 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17906         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17907         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17908         in there too.
17910 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17912         * version.h (RELEASE): Set to "development".
17913         (VERSION): Set to "2.22.90"
17915         * version.h (RELEASE): Set to "stable".
17916         (VERSION): Set to "2.22"
17917         * include/features.h (__GLIBC_MINOR__): Set to 22.
17919 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17921         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17922         Restructure macro to avoid "value computed is not used" warning.
17923         (atomic_compare_and_exchange_val_acq): Likewise.
17925 2015-08-04  Andreas Schwab  <schwab@suse.de>
17927         [BZ #18635]
17928         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17929         ret.
17930         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17932 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17934         * po/pl.po: Updated translation.
17935         * po/uk.po: Likewise.
17936         * po/fi.po: Likewise.
17937         * po/ko.po: Likewise.
17938         * po/ru.po: Likewise.
17939         * po/vi.po: Likewise.
17941 2015-07-31  Zack Weinberg  <zackw@panix.com>
17943         [BZ #18681]
17944         * regexp.h: Add unconditional #warning stating that this header
17945         will be removed soon.  Revise banner comment to match.
17946         (compile): Consistently use ERROR instead of RETURN to report
17947         errors (partial fix for bz#18681).
17948         * regexp.c: Don't include regexp.h. Remove some unnecessary
17949         declarations.
17951 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17953         * po/libc.pot: Regenerated.
17955 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17957         [BZ #18740]
17958         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17959         float-vlen4-arch-ext-cflags): Removed.
17960         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17961         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17963 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17965         [BZ #14113]
17966         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17967         aligned to __aligned__.
17968         (pthread_cond_t, pthread_rwlock_t): Likewise.
17970 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17972         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17974 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17976         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17977         (struct sigaction): Change sa_flags from a long to an int, and add
17978         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17980 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17982         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17983         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17984         sysdeps/generic/sysdep.h include.
17985         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17986         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17987         sysdeps/hppa/sysdep.h.
17988         (ENTRY, PSEUDO): Undefine before defining.
17990 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17992         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17993         from scratch to use INTERNAL_SYSCALL.
17995 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17997         [BZ #18078]
17998         * scripts/check-localplt.awk: Support alternate relocations.
17999         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18000         sections.
18001         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18002         malloc entries with + REL R_386_GLOB_DAT.
18003         * sysdeps/x86_64/localplt.data: New file.
18005 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18007         [BZ #18731]
18008         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18010         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18012 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18014         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18016 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18018         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18019         directly in terms of __sync_fetch_and_add and delete (int) cast.
18021 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18023         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18024         the -D_ASM_IA64_CURRENT_H flag.
18026 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18028         [BZ #18641]
18029         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18031 2015-07-27  Andreas Schwab  <schwab@suse.de>
18033         * conform/conformtest.pl (checknamespace): Filter out string
18034         literals while tokenizing.
18036 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18038         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18039         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18040         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18042 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18044         * nptl/tst-join7mod.c: Add #include <string.h>.
18046 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18048         * sysdeps/nios2/libm-test-ulps: Update.
18050 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18052         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18053         Fix order of arguments to the rt_sigprocmask syscall.
18054         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18055         Likewise.
18057 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18059         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18061 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18063         [BZ #18457]
18064         * nptl/Makefile (tests): New test case tst-join7.
18065         (modules-names): New test case module tst-join7mod.
18066         * nptl/tst-join7.c: New file.
18067         * nptl/tst-join7mod.c: New file.
18068         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18069         all translation units in libc.so, libpthread.so and rtld.
18071 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18075 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18078         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18079         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18086         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18089         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18090         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18091         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18092         implementation.
18094 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18096         [BZ #17711]
18097         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18098         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18099         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18100         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18101         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18102         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18104 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18106         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18107         instead of just saying load lock in the comments.
18109 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18111         * sysdeps/unix/Subdirs: Moved ...
18112         * sysdeps/posix/Subdirs: ... here.
18113         * login/pty.h (struct termios, struct winsize): Add forward decls.
18114         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18115         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18116         * sysdeps/arm/nacl/libc.abilist: Updated.
18117         * sysdeps/nacl/libutil.abilist: New file.
18119         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18120         (SIGWINCH): New macro.
18122         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18123         * sysdeps/arm/nacl/libc.abilist: Add it.
18125 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18127         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18129 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18131         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18132         Swap __glibc_reserved0 and sa_flags order.
18134 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18136         [BZ #18657]
18137         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18138         are pending TLS destructor calls.
18139         * include/link.h (struct link_map): Add concurrency note for
18140         L_TLS_DTOR_COUNT.
18141         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18142         Don't touch the link map flag.  Atomically increment
18143         l_tls_dtor_count.
18144         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18145         Avoid taking the load lock and don't touch the link map flag.
18146         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18147         * stdlib/Makefile (tests): Use it.
18148         * stdlib/tst-tls-atexit.c (do_test): dlopen
18149         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18150         to allow tst-tls-atexit-nodelete test case to use it.
18152 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18154         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18155         to bits/types.h.
18156         (msgqnum_t): New typedef.
18157         (msglen_t): Likewise.
18158         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18159         and msg_qbytes type to msglen_t.
18161 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18163         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18164         pad0 to __glibc_reserved0.
18165         (struct stat64): Likewise.
18167 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18169         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18170         Change sa_flags from a long to an int and add __glibc_reserved0 before
18171         it for padding.
18173 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18175         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18176         anonymous by deleting "siginfo" name.
18178 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18180         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18181         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18182         rather than __nacl_irt_filename.
18183         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18185         * NEWS: New item for arm-nacl port.
18186         * sysdeps/arm/nacl/libc.abilist: New file.
18187         * sysdeps/nacl/ld.abilist: New file.
18188         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18189         * sysdeps/nacl/libanl.abilist: New file.
18190         * sysdeps/nacl/libcrypt.abilist: New file.
18191         * sysdeps/nacl/libdl.abilist: New file.
18192         * sysdeps/nacl/libm.abilist: New file.
18193         * sysdeps/nacl/libpthread.abilist: New file.
18194         * sysdeps/nacl/libresolv.abilist: New file.
18195         * sysdeps/nacl/librt.abilist: New file.
18197 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18199         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18200         __startcontext to initialize the new context.
18201         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18202         up CFI directive to forbid further backtracing.
18204 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18206         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18207         reference.
18208         * charmaps/ANSI_X3.4-1968: Likewise.
18209         * charmaps/BS_4730: Likewise.
18210         * charmaps/BS_VIEWDATA: Likewise.
18211         * charmaps/CP1250: Likewise.
18212         * charmaps/CP1251: Likewise.
18213         * charmaps/CP1252: Likewise.
18214         * charmaps/CP1253: Likewise.
18215         * charmaps/CP1254: Likewise.
18216         * charmaps/CP1255: Likewise.
18217         * charmaps/CP1256: Likewise.
18218         * charmaps/CSN_369103: Likewise.
18219         * charmaps/EBCDIC-DK-NO: Likewise.
18220         * charmaps/GB_1988-80: Likewise.
18221         * charmaps/GREEK-CCITT: Likewise.
18222         * charmaps/GREEK7: Likewise.
18223         * charmaps/INIS-8: Likewise.
18224         * charmaps/ISIRI-3342: Likewise.
18225         * charmaps/ISO_2033-1983: Likewise.
18226         * charmaps/ISO_5427-EXT: Likewise.
18227         * locales/POSIX: Likewise.
18228         * locales/ar_SA: Likewise.
18229         * locales/be_BY: Likewise.
18230         * locales/be_BY@latin: Likewise.
18231         * locales/ca_ES: Likewise.
18232         * locales/cs_CZ: Likewise.
18233         * locales/da_DK: Likewise.
18234         * locales/de_BE: Likewise.
18235         * locales/de_CH: Likewise.
18236         * locales/de_LU: Likewise.
18237         * locales/en_AU: Likewise.
18238         * locales/en_BW: Likewise.
18239         * locales/en_CA: Likewise.
18240         * locales/en_DK: Likewise.
18241         * locales/en_GB: Likewise.
18242         * locales/en_IE: Likewise.
18243         * locales/en_NZ: Likewise.
18244         * locales/en_ZA: Likewise.
18245         * locales/en_ZW: Likewise.
18246         * locales/es_AR: Likewise.
18247         * locales/es_BO: Likewise.
18248         * locales/es_CL: Likewise.
18249         * locales/es_CO: Likewise.
18250         * locales/es_DO: Likewise.
18251         * locales/es_EC: Likewise.
18252         * locales/es_ES: Likewise.
18253         * locales/es_HN: Likewise.
18254         * locales/es_MX: Likewise.
18255         * locales/es_PA: Likewise.
18256         * locales/es_PE: Likewise.
18257         * locales/es_PY: Likewise.
18258         * locales/es_SV: Likewise.
18259         * locales/es_US: Likewise.
18260         * locales/es_UY: Likewise.
18261         * locales/es_VE: Likewise.
18262         * locales/et_EE: Likewise.
18263         * locales/fa_IR: Likewise.
18264         * locales/fo_FO: Likewise.
18265         * locales/fr_CA: Likewise.
18266         * locales/fr_CH: Likewise.
18267         * locales/gv_GB: Likewise.
18268         * locales/he_IL: Likewise.
18269         * locales/hr_HR: Likewise.
18270         * locales/id_ID: Likewise.
18271         * locales/is_IS: Likewise.
18272         * locales/it_CH: Likewise.
18273         * locales/iw_IL: Likewise.
18274         * locales/kl_GL: Likewise.
18275         * locales/ko_KR: Likewise.
18276         * locales/kw_GB: Likewise.
18277         * locales/lg_UG: Likewise.
18278         * locales/lt_LT: Likewise.
18279         * locales/lv_LV: Likewise.
18280         * locales/mi_NZ: Likewise.
18281         * locales/nhn_MX: Likewise.
18282         * locales/nl_BE: Likewise.
18283         * locales/pl_PL: Likewise.
18284         * locales/sk_SK: Likewise.
18285         * locales/sl_SI: Likewise.
18286         * locales/sv_FI: Likewise.
18287         * locales/tl_PH: Likewise.
18288         * locales/tr_TR: Likewise.
18289         * locales/vi_VN: Likewise.
18291 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18293         [BZ #17475]
18294         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18295         of tu_IN and bh_IN.
18297 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18299         [BZ #18694]
18300         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18301         bits/wordsize.h.
18302         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18304 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18306         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18307         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18308         (spawn_thread): New function.
18309         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18310         (do_test): ... here.  Use IS_LOADED to test for its
18311         availability.
18313 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18315         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18317 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18319         [BZ #18696]
18320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18321         si_addr_bnd.
18322         (si_lower): New.
18323         (si_upper): Likewise.
18325 2015-07-16  David S. Miller  <davem@davemloft.net>
18327         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18329 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18331         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18332         buffer.
18333         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18334         fail output information.
18336 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18339         and strstr-ppc64..
18340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18341         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18342         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18343         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18344         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18346 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18348         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18349         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18350         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18351         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18353 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18355         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18356         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18357         rtld_hidden_proto.
18358         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18360 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18362         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18363         the test can fail.
18365         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18367         [BZ #18676]
18368         * elf/tst-nodelete-opened.c: New test case.
18369         * elf/tst-nodelete-opened-lib.c: New test case module.
18370         * elf/Makefile (tests, modules-names): Use them.
18371         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18372         early.
18374 2015-07-15  David S. Miller  <davem@davemloft.net>
18376         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18377         futex-intenal.h
18378         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18379         * sysdeps/sparc/sparc64/Makefile: Likewise.
18380         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18381         Remove space from macro define.
18382         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18384 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18386         [BZ #17475]
18387         * locale/iso-639.def: Update Bhili and Tulu language codes as
18388         per iso639-3.
18390 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18392         * elf/tst-leaks1.c (main): Converted to ...
18393         (do_test): ... this.
18394         (TEST_FUNCTION): New macro.
18395         Include test-skeleton.c.
18396         * localedata/tst-langinfo.c (main): Converted to ...
18397         (do_test): ... this.
18398         (TEST_FUNCTION): New macro.
18399         Include test-skeleton.c.
18400         * math/test-fpucw.c (main): Converted to ...
18401         (do_test): ... this.
18402         (TEST_FUNCTION): New macro.
18403         Include test-skeleton.c.
18404         * math/test-tgmath.c (main): Converted to ...
18405         (do_test): ... this.
18406         (TEST_FUNCTION): New macro.
18407         Include test-skeleton.c.
18408         * math/test-tgmath2.c (main): Converted to ...
18409         (do_test): ... this.
18410         (TEST_FUNCTION): New macro.
18411         Include test-skeleton.c.
18412         * setjmp/tst-setjmp.c (main): Converted to ...
18413         (do_test): ... this.
18414         (TEST_FUNCTION): New macro.
18415         Include test-skeleton.c.
18416         * stdio-common/tst-sscanf.c (main): Converted to ...
18417         (do_test): ... this.
18418         (TEST_FUNCTION): New macro.
18419         Include test-skeleton.c.
18420         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18421         (do_test): ... this.
18422         (TEST_FUNCTION): New macro.
18423         Include test-skeleton.c.
18425         * elf/tst-audit9.c (main): Converted to ...
18426         (do_test): ... this.
18427         (TEST_FUNCTION): New macro.
18428         Include test-skeleton.c.
18430 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18432         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18434 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18436         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18437         New variable.
18439 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18441         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18443 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18445         * sysdeps/generic/dl-fileid.h: New file.
18446         * sysdeps/posix/dl-fileid.h: New file.
18447         * sysdeps/nacl/dl-fileid.h: New file.
18448         * include/link.h: Include <dl-fileid.h>.
18449         (struct link_map): Replace l_dev and l_ino with l_file_id.
18450         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18451         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18452         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18454 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18458 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18460         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18461         Add iff $CXX is set.
18462         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18463         Likewise.
18464         (tst-nodelete-zmodiff): Likewise.
18465         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18467 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18469         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18471 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18473         * sysdeps/aarch64/fpu/math_private.h
18474         (define math_opt_barrier): Add AArch64 version.
18475         (math_force_eval): Likewise.
18477 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18479         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18481 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18483         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18484         %ld with %jd and cast to intmax_t.
18485         (do_test_length_zero): Likewise.
18487 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18489         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18491 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18493         * sysdeps/tile/libm-test-ulps: Regenerated.
18495         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18496         Comment out the whole function, not just its body.
18498 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18500         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18501         locks.
18503         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18505 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18507         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18508         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18510 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18512         * sysdeps/nptl/futex-internal.h: New file.
18513         * sysdeps/nacl/futex-internal.h: New file.
18514         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18515         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18516         error checking.
18517         (setxid_unmark_thread): Likewise.
18518         (__nptl_setxid): Likewise.
18519         (__wait_lookup_done): Likewise.
18520         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18521         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18522         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18523         * nptl/pthread_once.c (clear_once_control): Likewise.
18524         (__pthread_once_slow): Likewise.
18525         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18526         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18527         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18528         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18529         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18530         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18531         Likewise.
18532         (__pthread_rwlock_rdlock): Likewise.
18533         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18534         Likewise.
18535         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18536         Likewise.
18537         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18538         Likewise.
18539         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18540         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18541         Likewise.
18542         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18543         __ASSUME_PRIVATE_FUTEX check.
18544         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18545         Check that shared futexes are supported.
18546         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18547         wrappers with error checking.
18548         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18549         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18550         * nptl/pthread_barrierattr_setpshared.c
18551         (pthread_barrierattr_setpshared): Check that shared futexes are
18552         supported.
18553         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18554         Likewise.
18555         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18556         Likewise.
18557         * nptl/sem_init.c (futex_private_if_supported): Remove.
18558         (__new_sem_init): Adapt and check that shared futexes are supported.
18559         * nptl/sem_open.c (sem_open): Likewise.
18560         * nptl/sem_post.c (futex_wake): Remove.
18561         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18562         (do_futex_wait): Use futex wrappers with error checking.
18563         * nptl/sem_wait.c: Include lowlevellock.h.
18564         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18565         Use futex_supports_pshared.
18566         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18567         Use futex wrappers with error checking.
18568         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18569         Likewise.
18570         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18571         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18572         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18573         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18574         (futex_wake): Likewise.
18575         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18576         (do_futex_wait): Use futex wrappers with error checking.
18577         (__new_sem_wait_slow): Update EINTR handling.
18578         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18580 2015-07-09  Martin Sebor  <msebor@redhat.com>
18582         [BZ #18435]
18583         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18584         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18585         * nptl/Makefile (test-xfail-tst-once5): Define.
18587 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18589         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18590         * elf/dl-minimal.c: For readability, reorder some definitions and
18591         introduce more page breaks.  Include <stdio.h>.
18592         (__libc_fatal): New function.
18594         * include/unistd.h: Add rtld_hidden_proto for _exit.
18595         * posix/_exit.c: Add rtld_hidden_def.
18596         * sysdeps/mach/hurd/_exit.c: Likewise.
18597         * sysdeps/nacl/_exit.c: Likewise.
18598         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18599         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18601 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18603         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18604         bndmov encoding with zero displacement.
18606 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18607             H.J. Lu  <hongjiu.lu@intel.com>
18609         [BZ #18134]
18610         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18611         * sysdeps/i386/configure: Regenerated.
18612         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18613         (_dl_runtime_profile): Save and restore Intel MPX return bound
18614         registers when calling _dl_call_pltexit.  Add
18615         PRESERVE_BND_REGS_PREFIX before return.
18616         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18617         (LRV_BND1_OFFSET): Likewise.
18618         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18619         lrv_bnd1.
18620         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18621         typo in bndmov encoding.
18622         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18623         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18624         branch instructions to preserve bounds.
18626 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18629         [GLIBC_2.22]: Add fmemopen.
18631 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18633         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18634         returns an error, also try to use host port from __mach_host_self for
18635         the __vm_wire call.
18636         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18638 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18640         [BZ #18400]
18641         [BZ #18648]
18642         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18643         Fix pr_uid and pr_gid members.
18644         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18645         definition to elf_greg_t.
18647 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18649         [BZ #18383]
18650         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18651         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18652         * sysdeps/arm/configure: Regenerated.
18653         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18654         (test-xfail-tst-tlsalign-static): Variable removed.
18656         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18657         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18658         rather than explicit 'ln -s'.
18660         * resolv/rpc/netdb.h: New file.
18661         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18663 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18665         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18666         length buffers.
18667         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18668         test-skeleton.c.
18670         [BZ #6544]
18671         [BZ #11216]
18672         [BZ #12836]
18673         [BZ #13151]
18674         [BZ #13152]
18675         [BZ #14292]
18676         * include/stdio.h (fmemopen): Remove hidden prototype.
18677         (__fmemopen): Add new hidden prototype.
18678         * libio/Makefile: Add oldfmemopen object.
18679         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18680         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18681         compliance.
18682         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18683         symbol compatibility.
18684         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18685         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18686         fmemopen.
18687         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18688         on append and read mode.
18689         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18690         fmemopen.
18691         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18692         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18693         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18694         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18695         Likewise.
18696         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18697         [GLIBC_2.22]: Likewise.
18698         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18699         Likewise.
18700         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18701         Likewise.
18702         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18703         [GLIBC_2.22]: Likewise.
18704         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18705         [GLIBC_2.22]: Likewise.
18706         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18707         [GLIBC_2.22]: Likewise.
18708         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18709         [GLIBC_2.22]: Likewise.
18710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18711         [GLIBC_2.22]: Likewise.
18712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18713         [GLIBC_2.22]: Likewise.
18714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18715         [GLIBC_2.22]: Likewise.
18716         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18717         Likewise.
18718         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18719         Likewise.
18720         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18721         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18722         [GLIBC_2.22]: Likewise.
18723         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18724         [GLIBC_2.22]: Likewise.
18725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18726         [GLIBC_2.22]: Likewise.
18727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18728         [GLIBC_2.22]: Likewise.
18729         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18730         Likewise.
18731         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18732         Likewise.
18733         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18734         Likewise.
18735         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18736         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18738 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18740         [BZ #18643]
18741         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18742         IPV6_PATHMTU, and IPV6_DONTFRAG.
18744 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18746         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18747         and _IO_UNBUFFERED.
18748         * libio/oldfileops.c: Likewise.
18749         * libio/wfileops.c: Likewise.
18751 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18753         * nscd/selinux.c: Delete selinux/flask.h include.
18755 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18757         [BZ #18641]
18758         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18759         (putpwent): Likewise.
18760         (getpwnam): Likewise.
18761         (getpwent_r): Likewise.
18762         (getpwuid_r): Likewise.
18763         (getpwnam_r): Likewise.
18764         (fgetpwent_r): Likewise.
18766 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18768         [BZ #18557]
18769         * inet/rcmd.c (__validuser2_sa): Check user first to
18770         short-circuit host check.
18772 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18773             Mikhail Ilin  <m.ilin@samsung.com>
18775         [BZ #17833]
18776         * elf/Makefile (tests): Add tst-nodelete.
18777         (modules-names): Add tst-nodelete-uniquemod.
18778         (tst-nodelete-uniquemod.so-no-z-defs): New.
18779         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18780         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18781         ($(objpfx)tst-nodelete): Likewise.
18782         ($(objpfx)tst-nodelete.out): Likewise.
18783         (LDFLAGS-tst-nodelete): Likewise.
18784         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18785         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18786         implement forced object deletion.
18787         (_dl_close): Pass false to _dl_close_worker.
18788         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18789         * elf/tst-nodelete.cc: New file.
18790         * elf/tst-nodeletelib.cc: Likewise.
18791         * elf/tst-znodeletelib.cc: Likewise.
18792         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18794 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18796         [BZ #18508]
18797         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18798         Depend on $(libdl).
18799         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18800         is not called infinitely times.
18801         (backtrace_helper): New function.
18802         (trace_arg): New struct.
18803         (st1): Enlarge stack size.
18804         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18805         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18806         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18807         Likewise.
18809 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18811         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18813 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18815         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18816         Include sys/types.h instead of bits/types.h.
18817         Remove inclusion of bits/wordsize.h.
18819 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18821         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18822         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18823         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18824         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18825         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18826         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18828 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18830         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18831         link-defines.sym.
18832         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18833         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18834         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18835         and LR_SIZE.
18836         * sysdeps/i386/link-defines.sym: New file.
18838 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18840         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18841         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18842         ($(objpfx)tst-audit3): New rule.
18843         ($(objpfx)tst-audit3.out): Likewise.
18844         * sysdeps/i386/tst-audit3.c: New file.
18845         * sysdeps/i386/tst-audit3.h: Likewise.
18846         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18847         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18849 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18851         [BZ #18633]
18852         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18853         pointer in C code.
18854         (__strcat_c): Likewise.
18855         (__strcat_g): Likewise.
18857 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18859         [BZ #18592]
18860         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18862 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18864         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18865         New function.  (__ieee754_sqrtf): New function.
18866         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18867         New function.
18868         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18869         New function.
18871 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18873         * sysdeps/ieee754/support.c: Remove unused file.
18875 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18877         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18878         registers instead of d ones so the layout is kernel abi compatible.
18879         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18880         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18881         Likewise.
18883 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18885         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18887 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18889         [BZ #18619]
18890         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18891         and return argument in case of subnormal argument.
18893 2015-07-01  Martin Sebor  <msebor@redhat.com>
18895         [BZ #18435]
18896         * nptl/Makefile: Add tst-once5.cc.
18897         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18898         Remove macro redefinitions.
18899         * nptl/tst-once5.cc: New test.
18901 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18903         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18905         * sysdeps/arm/libm-test-ulps: Regenerated.
18907         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18908         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18910 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18912         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18913         lll_lock_wait_private and lll_futex_wake probes.
18915         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18916         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18917         Likewise.
18918         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18919         atomic_spin_nop.
18920         * sysdeps/x86_64/bits/atomic.h: Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18922         to atomic_spin_nop and move ...
18923         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18924         ... here and ...
18925         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18926         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18927         atomic_spin_nop instead of BUSY_WAIT_NOP.
18928         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18929         Likewise.
18930         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18931         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18932         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18933         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18934         instead of atomic_delay.
18936 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18938         [BZ #18613]
18939         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18940         X_ADJ not X when adjusting exponent.
18941         (__ieee754_gamma_r): Do intermediate computations in
18942         round-to-nearest then adjust overflowing and underflowing results
18943         as needed.
18944         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18945         of X_ADJ not X when adjusting exponent.
18946         (__ieee754_gammaf_r): Do intermediate computations in
18947         round-to-nearest then adjust overflowing and underflowing results
18948         as needed.
18949         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18950         log of X_ADJ not X when adjusting exponent.
18951         (__ieee754_gammal_r): Do intermediate computations in
18952         round-to-nearest then adjust overflowing and underflowing results
18953         as needed.  Use 1.0L not 1.0f as numerator of division.
18954         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18955         log of X_ADJ not X when adjusting exponent.
18956         (__ieee754_gammal_r): Do intermediate computations in
18957         round-to-nearest then adjust overflowing and underflowing results
18958         as needed.  Use 1.0L not 1.0f as numerator of division.
18959         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18960         of X_ADJ not X when adjusting exponent.
18961         (__ieee754_gammal_r): Do intermediate computations in
18962         round-to-nearest then adjust overflowing and underflowing results
18963         as needed.  Use 1.0L not 1.0f as numerator of division.
18964         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18965         to auto-libm-test-in.
18966         (tgamma_test): Use ALL_RM_TEST.
18967         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18968         tests of tgamma with spurious-overflow.
18969         * math/auto-libm-test-out: Regenerated.
18970         * math/gen-libm-have-vector-test.sh: Do not check for START.
18971         * sysdeps/i386/fpu/libm-test-ulps: Update.
18972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18974         [BZ #18612]
18975         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18976         arguments, just return 0.5 times the argument, with underflow
18977         forced as needed.
18978         * math/auto-libm-test-in: Add more tests of j1.
18979         * math/auto-libm-test-out: Regenerated.
18981         [BZ #16559]
18982         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18983         (__ieee754_j1): Force underflow exception for small results.
18984         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18985         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18986         (__ieee754_j1f): Force underflow exception for small results.
18987         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18988         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18990         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18991         (__ieee754_j1l): Force underflow exception for small results.
18992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18993         * math/auto-libm-test-in: Add more tests of j1 and jn.
18994         * math/auto-libm-test-out: Regenerated.
18996         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18997         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18998         (PF_MPLS): Likewise.
18999         (AF_IB): Likewise.
19000         (AF_MPLS): Likewise.
19001         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19002         value and macro.
19003         (MS_RMT_MASK): Include MS_LAZYTIME.
19005 2015-06-26  Mel Gorman  <mgorman@suse.de>
19007         [BZ #18502]
19008         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19009         already minimal.
19011 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19013         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19014         (DT_MIPS_NUM): Update.
19015         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19016         DT_MIPS_RLD_MAP_REL.
19018 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19020         [BZ #16559]
19021         [BZ #18602]
19022         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19023         round-to-nearest internally then recompute results that
19024         underflowed to zero in the original rounding mode.
19025         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19026         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19028         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19029         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19030         * sysdeps/i386/fpu/libm-test-ulps: Update.
19031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19035         * NEWS: Fixed description of link with vector math library.
19037 2015-06-25  Andreas Schwab  <schwab@suse.de>
19039         [BZ #18549]
19040         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19041         * libio/test-fmemopen.c (do_test): Add test for it.
19043 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19045         [BZ #17841]
19046         * Makeconfig (no-pie-ldflag): New.
19047         (+link): Set to $(+link-pie) if default to PIE.
19048         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19049         * config.make.in (build-pie-default): New.
19050         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19051         is default.  AC_SUBST.
19052         * configure: Regenerated.
19053         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19055 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19057         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19058         to 'unsigned int'.
19060         * resolv/gai_misc.h (struct waitlist): Change type of field
19061         counterp to 'volatile unsigned int *'.
19062         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19063         FUTEXADDR and OLDVAL.
19064         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19065         Give local variable TOTAL type 'volatile unsigned int'.
19066         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19067         * resolv/gai_suspend.c (gai_suspend):
19068         Give local variable CNTR type 'unsigned int'.
19070         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19071         counterp to 'volatile unsigned int *'.
19072         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19073         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19074         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19075         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19076         Give local variable TOTAL type 'volatile unsigned int'.
19077         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19079 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19081         [BZ #18383]
19082         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19083         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19084         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19085         comment for i386/x86-64.
19086         (test-xfail-tst-tlsalign-extern-static): Removed.
19088 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19090         * math/test-double.h: New file.
19091         * math/test-float.h: Likewise.
19092         * math/test-ldouble.h: Likewise.
19093         * math/test-math-inline.h: Likewise.
19094         * math/test-math-no-inline.h: Likewise.
19095         * math/test-math-scalar.h: Likewise.
19096         * math/test-math-vector.h: Likewise.
19097         * math/test-vec-loop.h: Remove file.  Contents moved into
19098         test-math-vector.h.
19099         * math/libm-test.inc (MATHCONST): Do not document macro.
19100         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19101         and test-math-scalar.h.
19102         (FUNC): Remove macro.
19103         (FUNC_TEST): Likewise.
19104         (FLOAT): Likewise.
19105         (MATHCONST): Likewise.
19106         (PRINTF_EXPR): Likewise.
19107         (PRINTF_XEXPR): Likewise.
19108         (PRINTF_NEXPR): Likewise.
19109         (TEST_DOUBLE): Likewise.
19110         (TEST_MATHVEC): Likewise.
19111         (__NO_MATH_INLINES): Likewise.
19112         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19113         and test-math-scalar.h.
19114         (FUNC): Remove macro.
19115         (FUNC_TEST): Likewise.
19116         (FLOAT): Likewise.
19117         (MATHCONST): Likewise.
19118         (PRINTF_EXPR): Likewise.
19119         (PRINTF_XEXPR): Likewise.
19120         (PRINTF_NEXPR): Likewise.
19121         (TEST_FLOAT): Likewise.
19122         (TEST_MATHVEC): Likewise.
19123         (__NO_MATH_INLINES): Likewise.
19124         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19125         and test-math-scalar.h.
19126         (FUNC): Remove macro.
19127         (FUNC_TEST): Likewise.
19128         (FLOAT): Likewise.
19129         (MATHCONST): Likewise.
19130         (PRINTF_EXPR): Likewise.
19131         (PRINTF_XEXPR): Likewise.
19132         (PRINTF_NEXPR): Likewise.
19133         (TEST_DOUBLE): Likewise.
19134         (TEST_MATHVEC): Likewise.
19135         (TEST_INLINE): Likewise.
19136         (__NO_MATH_INLINES): Likewise.
19137         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19138         test-math-scalar.h.
19139         (FUNC): Remove macro.
19140         (FUNC_TEST): Likewise.
19141         (FLOAT): Likewise.
19142         (MATHCONST): Likewise.
19143         (PRINTF_EXPR): Likewise.
19144         (PRINTF_XEXPR): Likewise.
19145         (PRINTF_NEXPR): Likewise.
19146         (TEST_FLOAT): Likewise.
19147         (TEST_MATHVEC): Likewise.
19148         (TEST_INLINE): Likewise.
19149         (__NO_MATH_INLINES): Likewise.
19150         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19151         and test-math-scalar.h.
19152         (FUNC): Remove macro.
19153         (FUNC_TEST): Likewise.
19154         (FLOAT): Likewise.
19155         (MATHCONST): Likewise.
19156         (PRINTF_EXPR): Likewise.
19157         (PRINTF_XEXPR): Likewise.
19158         (PRINTF_NEXPR): Likewise.
19159         (TEST_LDOUBLE): Likewise.
19160         (TEST_MATHVEC): Likewise.
19161         (TEST_INLINE): Likewise.
19162         (__NO_MATH_INLINES): Likewise.
19163         * math/test-ldouble.c: Include test-ldouble.h,
19164         test-math-no-inline.h and test-math-scalar.h.
19165         (FUNC): Remove macro.
19166         (FUNC_TEST): Likewise.
19167         (FLOAT): Likewise.
19168         (MATHCONST): Likewise.
19169         (PRINTF_EXPR): Likewise.
19170         (PRINTF_XEXPR): Likewise.
19171         (PRINTF_NEXPR): Likewise.
19172         (TEST_LDOUBLE): Likewise.
19173         (TEST_MATHVEC): Likewise.
19174         (__NO_MATH_INLINES): Likewise.
19175         * math/test-double-vlen2.h: Include test-double.h,
19176         test-math-no-inline.h and test-math-vector.h.
19177         (FLOAT): Remove macro.
19178         (FUNC): Likewise.
19179         (MATHCONST): Likewise.
19180         (PRINTF_EXPR): Likewise.
19181         (PRINTF_XEXPR): Likewise.
19182         (PRINTF_NEXPR): Likewise.
19183         (TEST_DOUBLE): Likewise.
19184         (TEST_MATHVEC): Likewise.
19185         (__NO_MATH_INLINES): Likewise.
19186         (CNCT): Likewise.
19187         (CONCAT): Likewise.
19188         (WRAPPER_NAME): Likewise.
19189         (WRAPPER_DECL): Likewise.
19190         (WRAPPER_DECL_ff): Likewise.
19191         (WRAPPER_DECL_fFF): Likewise.
19192         (VECTOR_WRAPPER): Likewise.
19193         (VECTOR_WRAPPER_ff): Likewise.
19194         (VECTOR_WRAPPER_fFF): Likewise.
19195         (VEC_LEN): New macro.
19196         * math/test-double-vlen4.h: Include test-double.h,
19197         test-math-no-inline.h and test-math-vector.h.
19198         (FLOAT): Remove macro.
19199         (FUNC): Likewise.
19200         (MATHCONST): Likewise.
19201         (PRINTF_EXPR): Likewise.
19202         (PRINTF_XEXPR): Likewise.
19203         (PRINTF_NEXPR): Likewise.
19204         (TEST_DOUBLE): Likewise.
19205         (TEST_MATHVEC): Likewise.
19206         (__NO_MATH_INLINES): Likewise.
19207         (CNCT): Likewise.
19208         (CONCAT): Likewise.
19209         (WRAPPER_NAME): Likewise.
19210         (WRAPPER_DECL): Likewise.
19211         (WRAPPER_DECL_ff): Likewise.
19212         (WRAPPER_DECL_fFF): Likewise.
19213         (VECTOR_WRAPPER): Likewise.
19214         (VECTOR_WRAPPER_ff): Likewise.
19215         (VECTOR_WRAPPER_fFF): Likewise.
19216         (VEC_LEN): New macro.
19217         * math/test-double-vlen8.h: Include test-double.h,
19218         test-math-no-inline.h and test-math-vector.h.
19219         (FLOAT): Remove macro.
19220         (FUNC): Likewise.
19221         (MATHCONST): Likewise.
19222         (PRINTF_EXPR): Likewise.
19223         (PRINTF_XEXPR): Likewise.
19224         (PRINTF_NEXPR): Likewise.
19225         (TEST_DOUBLE): Likewise.
19226         (TEST_MATHVEC): Likewise.
19227         (__NO_MATH_INLINES): Likewise.
19228         (CNCT): Likewise.
19229         (CONCAT): Likewise.
19230         (WRAPPER_NAME): Likewise.
19231         (WRAPPER_DECL): Likewise.
19232         (WRAPPER_DECL_ff): Likewise.
19233         (WRAPPER_DECL_fFF): Likewise.
19234         (VECTOR_WRAPPER): Likewise.
19235         (VECTOR_WRAPPER_ff): Likewise.
19236         (VECTOR_WRAPPER_fFF): Likewise.
19237         (VEC_LEN): New macro.
19238         * math/test-float-vlen4.h: Include test-float.h,
19239         test-math-no-inline.h and test-math-vector.h.
19240         (FLOAT): Remove macro.
19241         (FUNC): Likewise.
19242         (MATHCONST): Likewise.
19243         (PRINTF_EXPR): Likewise.
19244         (PRINTF_XEXPR): Likewise.
19245         (PRINTF_NEXPR): Likewise.
19246         (TEST_FLOAT): Likewise.
19247         (TEST_MATHVEC): Likewise.
19248         (__NO_MATH_INLINES): Likewise.
19249         (CNCT): Likewise.
19250         (CONCAT): Likewise.
19251         (WRAPPER_NAME): Likewise.
19252         (WRAPPER_DECL): Likewise.
19253         (WRAPPER_DECL_ff): Likewise.
19254         (WRAPPER_DECL_fFF): Likewise.
19255         (VECTOR_WRAPPER): Likewise.
19256         (VECTOR_WRAPPER_ff): Likewise.
19257         (VECTOR_WRAPPER_fFF): Likewise.
19258         (VEC_LEN): New macro.
19259         * math/test-float-vlen8.h: Include test-float.h,
19260         test-math-no-inline.h and test-math-vector.h.
19261         (FLOAT): Remove macro.
19262         (FUNC): Likewise.
19263         (MATHCONST): Likewise.
19264         (PRINTF_EXPR): Likewise.
19265         (PRINTF_XEXPR): Likewise.
19266         (PRINTF_NEXPR): Likewise.
19267         (TEST_FLOAT): Likewise.
19268         (TEST_MATHVEC): Likewise.
19269         (__NO_MATH_INLINES): Likewise.
19270         (CNCT): Likewise.
19271         (CONCAT): Likewise.
19272         (WRAPPER_NAME): Likewise.
19273         (WRAPPER_DECL): Likewise.
19274         (WRAPPER_DECL_ff): Likewise.
19275         (WRAPPER_DECL_fFF): Likewise.
19276         (VECTOR_WRAPPER): Likewise.
19277         (VECTOR_WRAPPER_ff): Likewise.
19278         (VECTOR_WRAPPER_fFF): Likewise.
19279         (VEC_LEN): New macro.
19280         * math/test-float-vlen16.h: Include test-float.h,
19281         test-math-no-inline.h and test-math-vector.h.
19282         (FLOAT): Remove macro.
19283         (FUNC): Likewise.
19284         (MATHCONST): Likewise.
19285         (PRINTF_EXPR): Likewise.
19286         (PRINTF_XEXPR): Likewise.
19287         (PRINTF_NEXPR): Likewise.
19288         (TEST_FLOAT): Likewise.
19289         (TEST_MATHVEC): Likewise.
19290         (__NO_MATH_INLINES): Likewise.
19291         (CNCT): Likewise.
19292         (CONCAT): Likewise.
19293         (WRAPPER_NAME): Likewise.
19294         (WRAPPER_DECL): Likewise.
19295         (WRAPPER_DECL_ff): Likewise.
19296         (WRAPPER_DECL_fFF): Likewise.
19297         (VECTOR_WRAPPER): Likewise.
19298         (VECTOR_WRAPPER_ff): Likewise.
19299         (VECTOR_WRAPPER_fFF): Likewise.
19300         (VEC_LEN): New macro.
19301         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19302         test-vec-loop.h.
19303         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19304         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19305         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19306         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19307         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19309         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19311 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19313         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19314         (__getlogin_r): ... this.
19316 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19318         [BZ #18594]
19319         * math/s_ccosh.c (__ccosh): Compare with least normal value
19320         instead of comparing class with FP_SUBNORMAL.
19321         * math/s_ccoshf.c (__ccoshf): Likewise.
19322         * math/s_ccoshl.c (__ccoshl): Likewise.
19323         * math/s_cexp.c (__cexp): Likewise.
19324         * math/s_cexpf.c (__cexpf): Likewise.
19325         * math/s_cexpl.c (__cexpl): Likewise.
19326         * math/s_csin.c (__csin): Likewise.
19327         * math/s_csinf.c (__csinf): Likewise.
19328         * math/s_csinh.c (__csinh): Likewise.
19329         * math/s_csinhf.c (__csinhf): Likewise.
19330         * math/s_csinhl.c (__csinhl): Likewise.
19331         * math/s_csinl.c (__csinl): Likewise.
19332         * math/s_ctan.c (__ctan): Likewise.
19333         * math/s_ctanf.c (__ctanf): Likewise.
19334         * math/s_ctanh.c (__ctanh): Likewise.
19335         * math/s_ctanhf.c (__ctanhf): Likewise.
19336         * math/s_ctanhl.c (__ctanhl): Likewise.
19337         * math/s_ctanl.c (__ctanl): Likewise.
19338         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19339         csin, csinh, ctan and ctanh.
19340         * math/auto-libm-test-out: Regenerated.
19341         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19342         * sysdeps/i386/fpu/libm-test-ulps: Update.
19343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19347         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19348         return value is wrong, print the expected value too.
19350 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19352         [BZ #18585]
19353         * elf/readlib.c (is_gdb_python_file): New.
19354         (process_file): Don't issue errors on filenames with -gdb.py
19355         suffix.
19357 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19359         * math/auto-libm-test-in: Add more tests of csin and csinh.
19360         * math/auto-libm-test-out: Regenerated.
19361         * math/libm-test.inc (csin_test_data): Remove tests moved to
19362         auto-libm-test-in.
19363         (csinh_test_data): Likewise.
19365         [BZ #18593]
19366         * math/s_csin.c (__csin): Negate before rather than after possibly
19367         overflowing multiplication.
19368         * math/s_csinf.c (__csinf): Likewise.
19369         * math/s_csinh.c (__csinh): Likewise.
19370         * math/s_csinhf.c (__csinhf): Likewise.
19371         * math/s_csinhl.c (__csinhl): Likewise.
19372         * math/s_csinl.c (__csinl): Likewise.
19373         * math/auto-libm-test-in: Add some tests of csin and csinh.
19374         * math/auto-libm-test-out: Regenerated.
19375         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19376         (csinh_test_data): Likewise.
19377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19379         [BZ #18586]
19380         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19381         underflow exception for small results.
19383 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19386         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19387         variable and included header.
19388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19392         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19396         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19397         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19398         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19399         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19400         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19401         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19402         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19403         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19405 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19407         [BZ #16526]
19408         [BZ #16538]
19409         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19410         (__sin): Force underflow exception for arguments with small
19411         absolute value.
19412         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19413         (__kernel_sinf): Force underflow exception for arguments with
19414         small absolute value.
19415         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19416         (__kernel_sincosl): Force underflow exception for arguments with
19417         small absolute value.
19418         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19419         (__kernel_sinl): Force underflow exception for arguments with
19420         small absolute value.
19421         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19422         (__kernel_sincosl): Force underflow exception for arguments with
19423         small absolute value.
19424         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19425         (__kernel_sinl): Force underflow exception for arguments with
19426         small absolute value.
19427         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19428         (__kernel_sinl): Force underflow exception for arguments with
19429         small absolute value.
19430         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19431         (__kernel_sinf): Force underflow exception for arguments with
19432         small absolute value.
19433         * math/auto-libm-test-in: Add more tests of sin and sincos.
19434         * math/auto-libm-test-out: Regenerated.
19436         [BZ #18245]
19437         [BZ #18583]
19438         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19439         (__kernel_standard_l): Use feholdexcept and fesetenv around
19440         conversion to double instead of special-casing overflow and
19441         underflow.
19442         * math/libm-test.inc (fmod_test_data): Add more tests.
19443         (remainder_test_data): Likewise.
19444         (sqrt_test_data): Likewise.
19446 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19448         [BZ #17403]
19449         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19450         atomic_read_barrier, atomic_write_barrier): Define.
19451         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19452         atomic_read_barrier, atomic_write_barrier): Define.
19454 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19456         * math/Makefile [$(PERL) != no]
19457         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19458         dependency on libm-test.stmp below the inclusion of Rules.
19460 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19463         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19464         and included header.
19465         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19470         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19471         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19472         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19473         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19474         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19475         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19476         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19477         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19478         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19479         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19480         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19481         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19482         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19483         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19485 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19487         [BZ #18371]
19488         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19489         intermediate but not final result might underflow.
19490         * math/s_csqrtf.c (__csqrtf): Likewise.
19491         * math/s_csqrtl.c (__csqrtl): Likewise.
19492         * math/auto-libm-test-in: Add more tests of csqrt.
19493         * math/auto-libm-test-out: Regenerated.
19494         * sysdeps/i386/fpu/libm-test-ulps: Update.
19496         [BZ #18219]
19497         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19498         threshold on absolute value of exponent for which scaling is used.
19499         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19500         * math/auto-libm-test-in: Add more tests of exp2.
19501         * math/auto-libm-test-out: Regenerated.
19503 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19505         [BZ #17977]
19506         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19507         when initializing interface list, based on the bug analysis
19508         and the patch proposed by Eric Newton.
19509         * resolv/tst-res_hconf_reorder.c: New test.
19510         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19511         tst-res_hconf_reorder.
19512         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19513         and $(shared-thread-library).
19514         (tst-res_hconf_reorder-ENV): New variable.
19516         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19517         in comment.
19519 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19521         [BZ #16353]
19522         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19523         (__expm1): Force underflow exception for arguments with small
19524         absolute value.
19525         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19526         (__expm1f): Force underflow exception for arguments with small
19527         absolute value.
19528         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19529         (__expm1): Force underflow exception for arguments with small
19530         absolute value.
19531         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19532         (__expm1f): Force underflow exception for arguments with small
19533         absolute value.
19534         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19535         Check for small arguments before calling __expm1.
19536         * math/auto-libm-test-in: Do not mark underflow exceptions as
19537         possibly missing for bug 16353.
19538         * math/auto-libm-test-out: Regenerated.
19540 2015-06-22  Andreas Schwab  <schwab@suse.de>
19542         [BZ #18513]
19543         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19544         PTR queries.
19546 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19548         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19550         * string/strcoll_l.c: Remove unused struct element idxnow.
19552 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #18569]
19555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19556         underflow and return argument in case of subnormal argument.
19557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19558         Likewise.
19559         * math/auto-libm-test-in: Add more tests of expm1.
19560         * math/auto-libm-test-out: Regenerated.
19562         [BZ #16361]
19563         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19564         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19565         tiny results.
19566         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19567         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19568         tiny results.
19569         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19570         mark underflow exceptions as possibly missing for bug 16361.
19571         * math/auto-libm-test-out: Regenerated.
19573 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19575         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19576         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19577         Remove variable.
19578         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19579         (test-xfail-XOPEN2K8/utmpx.h/conform).
19581         * conform/conformtest.pl ($xerrors): New variable.
19582         (note_error): New function.
19583         (compiletest): New argument $xfail.  Use not_error.
19584         (runtest): Likewise.
19585         (top level): Handle xfail- lines.  Update calls to compiletest and
19586         runtest.  Handle xfail- and optional- in headers listed with
19587         allow-header.
19588         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19589         (O_EXEC): Likewise.
19590         (O_SEARCH): Likewise.
19591         * conform/data/stropts.h-data (ioctl): Likewise.
19592         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19593         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19594         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19595         (msghdr.msg_controllen): Likewise.
19596         (cmsghdr.cmsg_len): Likewise.
19597         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19598         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19599         variable.
19600         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19601         (test-xfail-XPG4/stropts.h/conform): Likewise.
19602         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19603         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19604         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19605         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19606         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19607         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19608         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19609         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19610         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19611         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19612         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19613         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19614         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19615         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19616         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19617         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19618         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19619         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19620         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19622 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19624         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19625         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19626         definitions for proper unfolding of __MATHDECL_VEC.
19628 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19630         * benchtests/bench-strcoll.c:
19631         Include string.h.
19632         (main): Remove unused variable res.
19634 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19636         * timezone/Makefile (%/UTC %/Universal):
19637         Generate test-result files for UTC and Universal.
19639 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19641         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19643 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19645         [BZ #16350]
19646         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19647         for arguments with small absolute value.
19648         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19649         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19650         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19651         (__asinh): Force underflow exception for arguments with small
19652         absolute value.
19653         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19654         (__asinhf): Force underflow exception for arguments with small
19655         absolute value.
19656         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19657         (__asinhl): Force underflow exception for arguments with small
19658         absolute value.
19659         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19660         (__asinhl): Force underflow exception for arguments with small
19661         absolute value.
19662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19663         (__asinhl): Force underflow exception for arguments with small
19664         absolute value.
19665         * math/auto-libm-test-in: Do not mark underflow exceptions as
19666         possibly missing for bug 16350.
19667         * math/auto-libm-test-out: Regenerated.
19669         * include/bits/ipc.h: Remove file.
19670         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19671         variable.
19672         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19673         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19674         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19675         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19676         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19677         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19678         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19679         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19680         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19682         * math/auto-libm-test-in: Remove spurious underflow allowance for
19683         tests of cexp.
19684         * math/auto-libm-test-out: Regenerated.
19686         [BZ #18558]
19687         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19688         unconditional definition.
19689         (MCAST_BLOCK_SOURCE): Likewise.
19690         (MCAST_UNBLOCK_SOURCE): Likewise.
19691         (MCAST_LEAVE_GROUP): Likewise.
19692         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19693         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19694         (MCAST_MSFILTER): Likewise.
19695         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19696         Remove variable.
19697         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19698         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19699         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19700         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19701         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19703 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19705         * NEWS: Mention addition of x86_64 vector sincosf.
19706         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19707         * math/test-float-vlen4.h: Likewise.
19708         * math/test-float-vlen8.h: Likewise.
19709         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19710         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19711         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19712         * sysdeps/x86_64/fpu/Versions: New versions added.
19713         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19714         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19715         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19716         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19717         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19718         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19719         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19721         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19722         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19723         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19724         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19725         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19726         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19727         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19728         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19729         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19730         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19731         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19732         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19733         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19734         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19735         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19736         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19738         * NEWS: Mention addition of x86_64 vector sincos.
19739         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19740         * math/math.h (__MATHDECL_VEC): New macro.
19741         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19742         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19743         declaration under condition.
19744         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19745         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19746         TEST_VEC_LOOP change.
19747         * math/test-double-vlen4.h: Likewise.
19748         * math/test-double-vlen8.h: Likewise.
19749         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19750         * math/test-float-vlen4.h: Likewise.
19751         * math/test-float-vlen8.h: Likewise.
19752         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19753         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19755         * sysdeps/x86_64/fpu/Versions: New versions added.
19756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19757         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19758         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19765         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19766         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19767         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19768         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19769         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19770         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19771         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19772         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19773         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19776         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19777         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19778         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19779         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19783         redirections for powf.
19784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19785         * sysdeps/x86_64/fpu/Versions: New versions added.
19786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19788         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19789         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19791         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19792         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19793         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19794         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19795         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19796         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19797         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19798         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19799         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19800         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19801         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19802         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19803         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19804         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19805         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19807         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19808         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19809         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19810         * math/test-float-vlen16.h: Fixed 2 argument macro.
19811         * math/test-float-vlen4.h: Likewise.
19812         * math/test-float-vlen8.h: Likewise.
19813         * NEWS: Mention addition of x86_64 vector powf.
19815 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19817         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19818         and redefine.
19819         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19820         and redefine.
19821         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19822         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19823         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19825         [BZ #18553]
19826         * resource/getpriority.c (getpriority): Rename to __getpriority
19827         and define as weak alias of __getpriority.
19828         * resource/setpriority.c (setpriority): Rename to __setpriority
19829         and define as weak alias of __setpriority.
19830         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19831         __getpriority and define as weak alias of __getpriority.
19832         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19833         __setpriority and define as weak alias of __setpriority.
19834         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19835         strong name.
19836         (setpriority): Use __setpriority as strong name.
19837         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19838         __getpriority and define as weak alias of __getpriority.
19839         * include/sys/resource.h (__getpriority): Declare.  Use
19840         libc_hidden_proto.
19841         (__setpriority): Likewise.
19842         (getpriority): Don't use libc_hidden_proto.
19843         (setpriority): Likewise.
19844         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19845         getpriority.  Call __setpriority instead of setpriority.
19846         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19847         Remove variable.
19849         [BZ #18547]
19850         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19851         as weak alias of __getttynam.  Use prototype function definition.
19852         Call __setttyent, __getttyent and __endttyent instead of
19853         setttyent, getttyent and endttyent.
19854         (getttyent): Rename to __getttyent and define as weak alias of
19855         __getttyent.  Call __setttyent instead of setttyent.  Call
19856         __fgets_unlocked instead of fgets_unlocked.
19857         (setttyent): Rename to __setttyent and define as weak alias of
19858         __setttyent.
19859         (endttyent): Rename to __endttyent and define as weak alias of
19860         __endttyent.
19861         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19862         (__setttyent): Likewise.
19863         (__endttyent): Likewise.
19864         (getttyent): Don't use libc_hidden_proto.
19865         (setttyent): Likewise.
19866         (endttyent): Likewise.
19867         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19868         __endttyent instead of setttyent, getttyent and endttyent.
19869         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19870         Remove variable.
19872         [BZ #18546]
19873         * socket/recv.c (__recv): Use libc_hidden_def.
19874         * socket/socket.c (__socket): Likewise.
19875         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19876         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19877         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19878         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19879         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19880         libc_hidden_def.
19881         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19882         libc_hidden_weak.
19883         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19884         Use libc_hidden_proto.
19885         (__recv): Likewise.
19886         * socket/Versions (libc): Export __recv and __socket at version
19887         GLIBC_PRIVATE.
19888         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19889         instead of recv.
19890         (init_mq_netlink): Call __socket instead of socket.
19891         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19892         Remove variable.
19894         [BZ #18545]
19895         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19896         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19897         hidden_weak.
19898         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19899         define as alias of __mq_timedsend.  Use hidden_weak.
19900         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19901         __mq_timedsend as strong name.
19902         (mq_timedreceive): Use __mq_timedreceive as strong name.
19903         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19904         (__mq_timedreceive): Likewise.
19905         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19906         __mq_timedreceive instead of mq_timedreceive.
19907         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19908         instead of mq_timedsend.
19909         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19910         Remove variable.
19912         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19913         hidden_def and hidden_weak instead of libc_hidden_def and
19914         libc_hidden_weak.
19915         (top level): Refer to hidden_def in comment.
19916         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19917         macro.  Use it instead of libc_hidden_def.
19918         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19919         specify __GI_* name explicitly.
19920         (mq_timedreceive): Likewise.
19921         (mq_setattr): Likewise.
19923         [BZ #18544]
19924         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19925         __pthread_barrier_init and define as weak alias of
19926         __pthread_barrier_init.
19927         * sysdeps/sparc/nptl/pthread_barrier_init.c
19928         (pthread_barrier_init): Likewise.
19929         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19930         __pthread_barrier_wait and define as weak alias of
19931         __pthread_barrier_wait.
19932         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19933         (pthread_barrier_wait): Likewise.
19934         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19935         (pthread_barrier_wait): Likewise.
19936         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19937         (pthread_barrier_wait): Likewise.
19938         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19939         (pthread_barrier_wait): Likewise.
19940         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19941         __pthread_barrier_wait at version GLIBC_PRIVATE.
19942         * include/pthread.h (__pthread_barrier_init): Declare.
19943         (__pthread_barrier_wait): Likewise.
19944         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19945         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19946         (helper_thread): Likewise.
19947         (init_mq_netlink): Call __pthread_barrier_init instead of
19948         pthread_barrier_init.
19950         [BZ #18542]
19951         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19952         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19953         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19954         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19955         vswscanf.
19956         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19957         Remove variable.
19959         [BZ #18540]
19960         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19961         strong alias of _IO_fflush.  Use libc_hidden_def.
19962         * libio/iofflush_u.c (fflush_unlocked): Rename to
19963         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19964         Use libc_hidden_weak.
19965         * include/stdio.h (__fflush_unlocked): Declare.  Use
19966         libc_hidden_proto.
19967         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19968         fflush_unlocked.
19969         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19970         Remove variable.
19972         [BZ #18539]
19973         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19974         define as weak alias of __addseverity.
19975         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19976         Remove variable.
19977         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19978         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19979         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19981         [BZ #18536]
19982         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19983         (__tfind): Likewise.
19984         (__tdelete): Likewise.
19985         (__twalk): Likewise.
19986         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19987         __twalk to GLIBC_PRIVATE.
19988         * include/search.h (__tsearch): Use libc_hidden_proto.
19989         (__tfind): Likewise.
19990         (__tdelete): Likewise.
19991         (__twalk): Likewise.
19992         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19993         Call __tdelete instead of tdelete.
19994         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19995         tfind.  Call __tsearch instead of tsearch.
19996         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19997         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19998         Remove variable.
19999         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20001         [BZ #18534]
20002         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20003         (dprintf): Define as a weak alias of __dprintf, not a strong
20004         alias.
20005         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20006         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20007         dprintf.
20008         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20009         Remove variable.
20010         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20011         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20013         [BZ #18533]
20014         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20015         not a strong alias.
20016         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20017         Remove variable.
20019         [BZ #18532]
20020         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20021         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20022         (in6addr_loopback): Rename to __in6addr_loopback and define as
20023         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20024         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20025         libc_hidden_proto.
20026         (__in6addr_any): Likewise.
20027         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20028         in6addr_any.
20029         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20030         variable.
20031         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20033 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20035         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20036         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20037         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20038         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20039         redirections for pow.
20040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20041         * sysdeps/x86_64/fpu/Versions: New versions added.
20042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20044         build of SSE, AVX2 and AVX512 IFUNC versions.
20045         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20047         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20048         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20050         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20051         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20052         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20053         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20054         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20055         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20056         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20057         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20058         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20059         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20060         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20061         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20062         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20063         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20064         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20065         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20066         * NEWS: Mention addition of x86_64 vector pow.
20068         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20069         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20070         redirections for expf.
20071         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20072         * sysdeps/x86_64/fpu/Versions: New versions added.
20073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20074         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20075         build of SSE, AVX2 and AVX512 IFUNC versions.
20076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20078         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20079         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20080         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20082         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20083         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20084         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20085         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20086         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20087         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20088         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20089         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20090         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20091         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20092         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20094         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20096         * NEWS: Mention addition of x86_64 vector expf.
20098         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20099         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20100         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20101         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20102         redirections for exp.
20103         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20104         * sysdeps/x86_64/fpu/Versions: New versions added.
20105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20106         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20107         build of SSE, AVX2 and AVX512 IFUNC versions.
20108         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20109         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20110         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20111         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20112         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20113         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20114         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20115         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20116         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20117         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20118         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20119         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20120         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20121         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20124         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20125         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20126         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20127         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20128         * NEWS: Mention addition of x86_64 vector exp.
20130         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20131         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20132         redirections for logf.
20133         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20134         * sysdeps/x86_64/fpu/Versions: New versions added.
20135         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20136         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20137         build of SSE, AVX2 and AVX512 IFUNC versions.
20138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20141         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20142         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20143         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20144         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20145         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20146         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20147         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20148         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20149         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20150         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20151         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20152         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20153         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20157         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20158         * NEWS: Mention addition of x86_64 vector logf.
20160         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20161         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20162         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20163         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20164         redirections for log.
20165         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20166         * sysdeps/x86_64/fpu/Versions: New versions added.
20167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20168         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20169         build of SSE, AVX2 and AVX512 IFUNC versions.
20170         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20171         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20172         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20173         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20174         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20175         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20176         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20177         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20178         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20179         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20180         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20181         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20182         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20183         test.
20184         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20185         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20186         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20187         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20188         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20189         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20190         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20191         * NEWS: Mention addition of x86_64 vector log.
20193 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20195         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20196         cfi_adjust_cfa_offset argument.
20197         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20198         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20200         [BZ #18034]
20201         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20202         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20203         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20204         ordering using ldar.
20205         (_dl_tlsdesc_dynamic): Likewise.
20206         (_dl_tlsdesc_return_lazy): Likewise.
20207         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20208         relaxed atomics instead of volatile and synchronize with release store.
20209         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20210         volatile.
20211         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20213 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20218         * sysdeps/x86_64/fpu/Versions: New versions added.
20219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20220         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20221         build of SSE, AVX2 and AVX512 IFUNC versions.
20222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20225         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20226         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20227         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20228         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20229         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20230         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20231         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20232         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20233         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20234         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20235         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20236         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20237         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20238         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20240         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20241         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20242         * NEWS: Mention addition of x86_64 vector sinf.
20244 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20246         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20247         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20248         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20249         Remove variable.
20250         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20251         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20253 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20255         [BZ #18530]
20256         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20257         strong alias of _IO_fputs.  Use libc_hidden_def.
20258         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20259         and define as weak alias of __fputs_unlocked.  Use
20260         libc_hidden_weak.
20261         * include/stdio.h (__fputs_unlocked): Declare.  Use
20262         libc_hidden_proto.
20263         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20264         fputs_unlocked.
20266         [BZ #18529]
20267         * resolv/netdb.h [__USE_POSIX]: Change condition to
20268         [__USE_XOPEN2K].
20269         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20270         not expect.
20271         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20272         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20273         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20274         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20275         [XPG4 || UNIX98] (AI_ALL): Likewise.
20276         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20277         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20278         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20279         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20280         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20281         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20282         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20283         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20284         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20285         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20286         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20287         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20288         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20289         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20290         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20291         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20292         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20293         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20294         [XPG4 || UNIX98] (gai_strerror): Likewise.
20295         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20296         [XPG4 || UNIX98] (getnameinfo): Likewise.
20298         [BZ #18528]
20299         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20300         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20301         __USE_XOPEN2K8].
20302         (getgrent): Likewise.
20303         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20304         expect.
20305         [XPG3 || POSIX2008] (endgrent): Likewise.
20306         [XPG3] (setgrent): Likewise.
20307         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20308         variable.
20309         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20311         [BZ #18527]
20312         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20313         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20314         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20315         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20316         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20317         * include/unistd.h (__getlogin_r): Declare.  Use
20318         libc_hidden_proto.
20319         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20320         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20321         variable.
20322         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20323         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20324         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20326 2015-06-12  Martin Sebor  <msebor@redhat.com>
20328         [BZ #18512]
20329         * Makerules (check-install-supported): New target.
20330         (install): Add check-install-supported as a dependency.
20331         * manual/install.texi (Installing the C Library): Document
20332         that overriding prefix and exec_prefix is not supported.
20333         Mention DESTDIR.
20334         * INSTALL: Regenerate from the above.
20336 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20338         [BZ #18519]
20339         * posix/Versions (libc): Export __libc_pread at version
20340         GLIBC_PRIVATE.
20341         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20342         instead of pread.
20343         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20344         variable.
20346         [BZ #18522]
20347         * misc/efgcvt_r.c
20348         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20349         (cvt_symbol): Use weak_alias instead of strong_alias.
20350         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20351         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20352         Remove variable.
20353         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20354         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20356         [BZ #18520]
20357         * inet/herrno.c (h_errno): Rename to __h_errno.
20358         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20359         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20360         to __h_errno instead of h_errno.
20361         * nptl/herrno.c (h_errno): Rename to __h_errno.
20362         (__h_errno_location): Refer to __h_errno not h_errno.
20363         * resolv/Versions (h_errno): Rename to __h_errno.
20364         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20365         Remove variable.
20366         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20368 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20370         * configure.ac: More strict check for AVX512 assembler support.
20371         * configure: Regenerated.
20373         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20374         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20375         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20376         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20377         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20378         * sysdeps/x86_64/fpu/Versions: New versions added.
20379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20380         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20381         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20382         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20384         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20385         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20386         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20387         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20388         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20389         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20390         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20391         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20392         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20393         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20394         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20395         test.
20396         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20397         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20398         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20399         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20400         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20401         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20402         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20403         * NEWS: Mention addition of x86_64 vector sin.
20405 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20407         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20408         comment.
20410 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20412         [BZ #18479]
20413         * nptl/pt-interp.c: New file.
20414         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20415         Add pt-interp.
20416         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20417         $(common-objpfx)runtime-linker.h.
20419 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20421         * Makeconfig (+interp): Remove unused variable.
20422         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20423         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20424         $(elf-objpfx)runtime-linker.h.
20425         ($(elf-objpfx)runtime-linker.h): Rename to
20426         $(common-objpfx)runtime-linker.h and move ...
20427         * Makerules [$(build-shared) = yes]: ... here.
20428         * elf/interp.c: Include <runtime-linker.h> instead of
20429         <elf/runtime-linker.h>.
20431 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20433         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20434         (__gettimeofday_syscall): Remove vsyscall fallback.
20435         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20436         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20437         Add syscall fallback function.
20438         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20439         if vDSO is not present.
20440         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20441         fallback function.
20442         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20443         present.
20444         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20445         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20447 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20449         [BZ #18497]
20450         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20451         of wcscmp.
20452         (wcscmp): Define as weak alias of WCSCMP.
20453         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20454         wcscoll.
20455         (USE_HIDDEN_DEF): Define.
20456         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20457         __wcscoll.  Don't use libc_hidden_weak.
20458         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20459         wcscmp.
20460         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20461         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20462         __GI_wcscmp.
20463         (weak_alias): Undefine and redefine.
20464         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20465         __wcscmp and define as weak alias of __wcscmp.
20466         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20467         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20468         (__wcscoll): Likewise.
20469         (wcscmp): Don't use libc_hidden_proto.
20470         (wcscoll): Likewise.
20471         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20472         wcscoll.
20473         * posix/regexec.c (check_node_accept_bytes): Likewise.
20474         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20475         variable.
20476         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20477         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20479         [BZ #18507]
20480         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20481         __fstatvfs and define as weak alias of __fstatvfs.  Use
20482         libc_hidden_weak.
20483         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20484         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20485         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20486         Define as alias of __fstatvfs, not fstatvfs.
20487         (fstatvfs64): Likewise.
20488         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20489         Define as alias of __statvfs, not statvfs.
20490         (statvfs64): Likewise.
20491         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20492         Remove variable.
20494 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20497         (HAVE_GETCPU_VSYSCALL): Define.
20498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20499         (HAVE_GETCPU_VSYSCALL): Likewise.
20500         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20501         * sysdeps/unix/sysv/linux/sched_getcpu.c
20502         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20503         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20504         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20505         prototype.
20506         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20507         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20508         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20510         Define.
20511         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20512         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20513         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20514         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20516 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20518         * sysdeps/x86_64/fpu/Makefile: New file.
20519         * sysdeps/x86_64/fpu/Versions: New file.
20520         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20521         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20522         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20523         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20524         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20525         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20526         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20529         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20531         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20532         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20533         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20534         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20535         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20536         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20537         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20538         * sysdeps/x86_64/configure: Regenerated.
20539         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20540         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20541         * manual/install.texi (Configuring and compiling): Document
20542         --disable-mathvec.
20543         * INSTALL: Regenerated.
20544         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20546         * math/Makefile: Added rules for vector tests.
20547         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20548         declaration under condition.
20549         * math/test-double-vlen2.h: New file.
20550         * math/test-double-vlen4.h: New file.
20551         * math/test-double-vlen8.h: New file.
20552         * math/test-vec-loop.h: Added initialization macro.
20553         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20555         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20556         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20557         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20558         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20559         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20560         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20561         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20562         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20563         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20565         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20566         * sysdeps/x86_64/fpu/Versions: New versions added.
20567         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20568         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20570         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20571         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20573         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20574         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20576         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20577         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20578         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20579         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20581         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20582         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20583         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20584         * NEWS: Mention addition of x86_64 vector cosf.
20586         * math/Makefile: Added CFLAGS for new tests.
20587         * math/test-float-vlen16.h: New file.
20588         * math/test-float-vlen4.h: New file.
20589         * math/test-float-vlen8.h: New file.
20590         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20591         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20593         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20594         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20595         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20596         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20597         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20598         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20599         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20600         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20602 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20604         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20605         * locale/programs/ld-ctype.c: Likewise.
20607 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20609         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20610         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20611         bit_ZMM16_31_state): New macro.
20612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20613         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20615 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20617         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20619 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20621         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20623 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20625         [BZ #18498]
20626         * libio/memstream.c (open_memstream): Rename to __open_memstream
20627         and define as weak alias of __open_memstream.
20628         * include/stdio.h (__open_memstream): Declare.  Use
20629         libc_hidden_proto.
20630         (open_memstream): Don't use libc_hidden_proto.
20631         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20632         open_memstream.
20633         * posix/getopt.c (_getopt_internal_r): Likewise.
20634         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20635         variable.
20636         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20637         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20638         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20640         [BZ #18496]
20641         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20642         instead of wcrtomb.
20644         [BZ #18483]
20645         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20646         [__USE_XOPEN2K8].  Remove redundant #endif.
20647         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20648         Remove redundant #if.
20649         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20650         Remove variable.
20651         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20652         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20654         [BZ #18495]
20655         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20656         (__iswlower): Likewise.
20657         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20658         (__iswlower): Likewise.
20659         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20660         instead of towlower.
20661         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20662         instead of iswlower.  Call __towupper instead of towupper.
20663         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20664         instead of iswalnum.
20666 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20668         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20669         errors to stderr.
20671 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20673         [BZ #15661]
20674         [BZ #17322]
20675         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20676         Check for overflow properly.  Check for O_APPEND.  Ignore large
20677         file system block sizes.  Add comments about problems.
20678         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20679         * manual/filesys.texi (Storage Allocation): New node.
20681 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20683         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20684         cancellable syscalls.
20685         (SYS_ify): Add guard to no redefine it.
20686         (INLINE_SYSCALL): Likewise.
20687         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20688         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20689         SYSCALL_CANCEL instead.
20690         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20691         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20692         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20693         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20694         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20695         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20696         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20697         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20698         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20699         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20700         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20701         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20702         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20703         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20704         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20706         Likewise.
20707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20708         (__libc_pread64): Likewise.
20709         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20710         (__libc_preadv): Likewise.
20711         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20712         (__libc_readv64): Likewise.
20713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20714         (__libc_pwrite): Likewise.
20715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20716         (__libc_pwrite64): Likewise.
20717         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20718         (__libc_pwritev): Likewise.
20719         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20720         (__libc_pwritev64): Likewise.
20721         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20722         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20723         (sync_file_range): Likewise.
20724         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20725         Likewise.
20726         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20727         Likewise.
20728         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20729         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20730         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20731         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20732         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20733         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20734         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20735         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20737         Likewise.
20738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20739         (__libc_read64): Likewise.
20740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20741         Likewise.
20742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20743         Likewise.
20744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20745         Likewise.
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20747         Likewise.
20748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20749         (__libc_pread64): Likewise.
20750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20751         Likewise.
20752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20753         (__libc_pwrite64): Likewise.
20754         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20755         (sync_file_range): Likewise.
20756         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20757         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20758         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20759         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20760         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20761         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20762         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20763         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20764         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20765         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20766         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20767         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20768         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20769         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20770         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20771         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20772         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20773         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20774         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20775         Likewise.
20776         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20777         Likewise.
20778         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20779         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20780         Likewise.
20781         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20782         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20783         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20784         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20785         Likewise.
20786         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20787         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20788         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20789         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20792 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20794         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20795         Include dl-vdso.
20796         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20797         Use VDSO routines for gettimeofday, clock_gettime if
20798         available.
20799         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20800         Declare VDSO symbols.
20801         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20802         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20803         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20804         * sysdeps/unix/sysv/linux/arm/Versions: Add
20805         __vdso_clock_gettime.
20807 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20809         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20810         be an inline implementation regardless of library is built within.
20811         (open_not_cancel_2): Likewise.
20812         (__read_nocancel): Likewise.
20813         (__write_nocancel): Likewise.
20814         (openat_not_cancel): Likewise.
20815         (openat_not_cancel_3): Likewise.
20816         (openat64_not_cancel): Likewise.
20817         (openat64_not_cancel_3): Likewise.
20818         (__close_nocancel): Likewise.
20819         (pause_not_cancel): Likewise.
20820         (nanosleep_not_cancel): Likewise.
20821         (sigsuspend_not_cancel): Likewise.
20823 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20825         [BZ #14958]
20826         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20827         wake-up.
20828         (__pthread_rwlock_rdlock_slow): Likewise.
20829         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20830         Likewise.
20831         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20832         Likewise.
20833         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20834         * nptl/tst-rwlock16.c: New file.
20835         * nptl/Makefile (tests): Add new test.
20837 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20839         [BZ #18324]
20840         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20841         missing wake-up of readers.
20842         * nptl/tst-rwlock15.c: New file.
20843         * nptl/Makefile (tests): Add new test.
20845 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20847         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20848         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20849         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20850         and __nacl_supply_interface_rtld.
20851         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20852         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20853         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20854         Add __nacl_supply_interface_rtld.
20855         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20857 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20859         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20860         isfinite.
20861         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20862         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20864 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20866         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20867         __signbit* with standard C99 macros.
20868         * math/e_exp10l.c: Likewise.
20869         * math/e_exp2l.c: Likewise.
20870         * math/e_scalb.c: Likewise.
20871         * math/e_scalbf.c: Likewise.
20872         * math/e_scalbl.c: Likewise.
20873         * math/s_ldexp.c: Likewise.
20874         * math/s_ldexpf.c: Likewise.
20875         * math/s_ldexpl.c: Likewise.
20876         * math/w_atan2.c: Likewise.
20877         * math/w_atan2f.c: Likewise.
20878         * math/w_atan2l.c: Likewise.
20879         * math/w_cosh.c: Likewise.
20880         * math/w_coshf.c: Likewise.
20881         * math/w_coshl.c: Likewise.
20882         * math/w_exp10.c: Likewise.
20883         * math/w_exp10f.c: Likewise.
20884         * math/w_exp10l.c: Likewise.
20885         * math/w_exp2.c: Likewise.
20886         * math/w_exp2f.c: Likewise.
20887         * math/w_exp2l.c: Likewise.
20888         * math/w_fmod.c: Likewise.
20889         * math/w_fmodf.c: Likewise.
20890         * math/w_fmodl.c: Likewise.
20891         * math/w_hypot.c: Likewise.
20892         * math/w_hypotf.c: Likewise.
20893         * math/w_hypotl.c: Likewise.
20894         * math/w_jnl.c: Likewise.
20895         * math/w_lgamma.c: Likewise.
20896         * math/w_lgamma_r.c: Likewise.
20897         * math/w_lgammaf.c: Likewise.
20898         * math/w_lgammaf_r.c: Likewise.
20899         * math/w_lgammal.c: Likewise.
20900         * math/w_lgammal_r.c: Likewise.
20901         * math/w_pow.c: Likewise.
20902         * math/w_powf.c: Likewise.
20903         * math/w_powl.c: Likewise.
20904         * math/w_remainder.c: Likewise.
20905         * math/w_remainderf.c: Likewise.
20906         * math/w_remainderl.c: Likewise.
20907         * math/w_scalb.c: Likewise.
20908         * math/w_scalbf.c: Likewise.
20909         * math/w_scalbl.c: Likewise.
20910         * math/w_scalbln.c: Likewise.
20911         * math/w_scalblnf.c: Likewise.
20912         * math/w_scalblnl.c: Likewise.
20913         * math/w_sinh.c: Likewise.
20914         * math/w_sinhf.c: Likewise.
20915         * math/w_sinhl.c: Likewise.
20916         * math/w_tgamma.c: Likewise.
20917         * math/w_tgammaf.c: Likewise.
20918         * math/w_tgammal.c: Likewise.
20919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20920         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20921         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20923         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20925         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20926         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20927         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20928         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20929         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20930         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20931         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20933         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20935         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20936         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20937         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20938         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20939         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20940         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20943         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20944         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20945         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20946         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20947         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20948         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20949         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20950         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20951         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20952         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20953         * stdio-common/printf_fp.c: Likewise.
20954         * stdio-common/printf_fphex.c: Likewise.
20955         * stdio-common/printf_size.c: Likewise.
20957 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20959         [BZ #18470]
20960         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20961         strnlen.
20962         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20963         Remove variable.
20964         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20965         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20966         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20967         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20968         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20969         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20970         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20971         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20972         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20973         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20975         [BZ #18468]
20976         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20977         weak alias of __wmemchr.  Use libc_hidden_weak.
20978         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20979         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20980         instead of wmemchr.
20982 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20984         [BZ #18383]
20985         * elf/tst-tlsalign-extern.c: New file.
20986         * elf/tst-tlsalign-extern-static.c: New file.
20987         * elf/tst-tlsalign-vars.c: New file.
20988         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20989         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20990         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20991         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20992         (test-xfail-tst-tlsalign-extern-static): New variable.
20994 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20996         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20997         Use variable name _sc_err instead of err.
20998         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20999         instead of ret.
21000         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21001         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21002         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21003         (INLINE_SYSCALL): Likewise.
21005         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21006         * include/string.h (__strnlen): Use libc_hidden_proto.
21007         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21008         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21009         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21010         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21011         (libc_hidden_def): Undefine and redefine.
21012         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21013         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21014         __GI_strnlen.
21015         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21016         libc_hidden_def.
21017         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21019         [BZ #18469]
21020         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21021         weak alias of __towlower.  Use libc_hidden_weak.
21022         (towupper): Rename to __towupper and define as weak alias of
21023         __towupper.  Use libc_hidden_weak.
21024         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21025         (__towupper): Likewise.
21026         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21027         __towlower instead of towlower.
21029 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21031         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21032         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21034 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21036         * sysdeps/aarch64/libm-test-ulps: Update.
21038 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21040         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21041         Define.
21042         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21044         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21046         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21047         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21048         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21050 2015-06-01  Martin Sebor  <msebor@redhat.com>
21052         [BZ #18116]
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21054         (__setcontext): Use extended four-operand version of mtsf whenever
21055         possible.
21056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21057         (__novec_swapcontext): Likewise.
21059 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21061         * benchtests/scripts/compare_bench.py: New file.
21062         * benchtests/scripts/import_bench.py (mean): New function.
21063         (split_list): Likewise.
21064         (do_for_all_timings): Likewise.
21065         (compress_timings): Likewise.
21067         * benchtests/scripts/import_bench.py: New file.
21068         * benchtests/scripts/validate_benchout.py: Import import_bench
21069         instead of jsonschema.
21070         (validate_bench): Remove function.
21071         (main): Use import_bench.
21073 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21075         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21076         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21078 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21082 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21084         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21085         set THREAD_SELF->tid to a magic value and futex-wake it.
21086         Pass its address to the thread_exit system call.
21087         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21088         bit is clear.
21089         * sysdeps/nacl/lowlevellock.h: New file.
21090         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21092         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21093         Add TIMEOUT to current time, don't subtract it.
21095 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21097         [BZ #2981]
21098         [BZ #18422]
21099         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21100         ($(objpfx)tst-audit2.out): Also depend on
21101         $(objpfx)tst-auditmod9b.so.
21102         * elf/tst-audit2.c: Include <dlfcn.h>.
21103         (calloc_called): New.
21104         (calloc): Allow to be called more than once.
21105         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21107 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21109         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21110         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21112 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21114         * stdlib/monetary.h: Fix comment.
21116 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21118         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21119         Avoid using variables in #defines that might cause shadowing.
21120         (INTERNAL_VSYSCALL_CALL): Likewise.
21122 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21124         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21126         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21127         * nptl/lll_timedlock_wait.c: ... to this new file.
21128         * nptl/Makefile (libpthread-routines): Add it.
21129         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21130         * nptl/lll_timedwait_tid.c: ... to this new file.
21131         * nptl/Makefile (libpthread-routines): Add it.
21132         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21133         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21134         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21135         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21136         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21137         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21138         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21139         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21140         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21141         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21143 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21145         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21146         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21147         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21149         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21151         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21153         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21154         * sysdeps/unix/sysv/linux/tile/sysdep.h
21155         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21156         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21157         using vDSO syscall macro.
21159 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21161         [BZ #17293]
21162         * uk_UA: Fix sorting order for Ukrainian locale
21164 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21166         * stdlib/monetary.h: Fix comment.
21168 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21170         [BZ #18234]
21171         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21172         st_mtim and st_ctim members.
21173         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21174         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21175         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21176         (struct stat64): Likewise.
21177         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21178         (struct stat64): Likewise.
21179         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21180         (struct stat64): Likewise.
21182 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21184         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21185         Define and include sysdep-vdso.h.
21186         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21187         Likewise.
21188         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21189         Likewise.
21190         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21191         Define with VDSO_SYMBOL and use PTR_MANGLE.
21192         (__vdso_clock_gettime): Likewise.
21193         (__vdso_clock_getres): Likewise.
21194         (_libc_vdso_platform_setup): Likewise.
21195         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21196         Likewise.
21197         (_libc_vdso_platform_setup): Likewise.
21198         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21199         Likewise.
21200         (__vdso_clock_gettime): Likewise.
21201         (__vdso_clock_getres): Likewise.
21202         (__vdso_get_tbfreq): Likewise.
21203         (__vdso_getcpu): Likewise.
21204         (__vdso_time): Likewise.
21205         (__vdso_sigtramp_rt64): Likewise.
21206         (__vdso_signtramp32): Likewise.
21207         (__vdso_sigtramp_rt32): Likewise.
21208         (_libc_vdso_platform_setup): Likewise.
21209         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21210         Likewise.
21211         (__vdso_clock_gettime): Likewise.
21212         (__vdso_clock_getres): Likewise.
21213         (_libc_vdso_platform_setup): Likewise.
21214         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21215         Likewise.
21216         (__vdso_clock_gettime): Likewise.
21217         (_libc_vdso_platform_setup): Likewise.
21218         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21219         Likewise.
21220         (__vdso_getcpu): Likewise.
21221         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21222         Use VDSO_SYMBOL macro to define.
21223         (__vdso_clock_gettime): Likewise.
21224         (__vdso_clock_getres): Likewise.
21225         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21226         Likewise.
21227         (__vdso_clock_gettime): Likewise.
21228         (__vdso_clock_getres): Likewise.
21229         (__vdso_get_tbfreq): Likewise.
21230         (__vdso_getcpu): Likewise.
21231         (__vdso_time): Likewise.
21232         (__vdso_sigtramp_rt64): Likewise.
21233         (__vdso_signtramp32): Likewise.
21234         (__vdso_sigtramp_rt32): Likewise.
21235         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21236         Likewise.
21237         (__vdso_clock_gettime): Likewise.
21238         (__vdso_clock_getres): Likewise.
21239         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21240         Likewise.
21241         (__vdso_clock_gettime): Likewise.
21242         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21243         Likewise.
21244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21245         macro.
21246         (INTERNAL_VSYSCALL): Likewise.
21247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21248         Remove macro.
21249         (INTERNAL_VSYSCALL): Likewise.
21250         (INTERNAL_VSYSCALL_NCS): Likewise.
21251         (INTERNAL_VSYSCALL_CALL): New macro.
21252         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21254         Likewise.
21255         (INTERNAL_VSYSCALL): Likewise.
21256         (INTERNAL_VSYSCALL_NCS): Likewise.
21257         (INTERNAL_VSYSCALL_CALL): New macro.
21258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21260         (INLINE_VSYSCALL): Remove macro.
21261         (INTERNAL_VSYSCALL): Remove macro.
21262         (INTERNAL_VSYSCALL_NCS): Remove macro.
21263         (INTERNAL_VSYSCALL_CALL): New macro.
21264         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21265         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21266         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21267         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21268         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21270         (INLINE_VSYSCALL): Remove macro.
21271         (INTERNAL_VSYSCALL): Likewise.
21272         (INTERNAL_VSYSCALL_NCS): Likewise.
21273         (INTERNAL_VSYSCALL_CALL): New macro.
21274         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21275         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21276         PTR_DEMANGLE on vDSO pointer.
21277         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21278         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21279         macro.
21280         (INTERNAL_SYSCALL): Likewise.
21281         (INTERNAL_VSYSCALL_NCS): Remove macro.
21282         (INTERNAL_VSYSCALL_CALL): New macro.
21283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21284         Remove macro.
21285         (INTERNAL_VSYSCALL): Likewise.
21286         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21287         sysdep-vdso.h instead of libc-vdso.h.
21288         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21289         definition.
21290         (INLINE_VSYSCALL): Likewise.
21291         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21292         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21293         definition.
21294         (INLINE_VSYSCALL): Likewise.
21295         (INTERNAL_VSYSCALL): Likewise.
21296         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21297         * sysdeps/unix/sysv/linux/timespec_get.c
21298         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21299         (timespec_get): Use ANSI prototype.
21300         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21301         and definition for Linux.
21303 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21305         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21306         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21308 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21310         [BZ #2981]
21311         [BZ #18410]
21312         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21313         for missing DT_PLTRELSZ.
21315 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21317         Remove obsolete aliases that broke 'locale -a'
21318         [BZ #18412]
21319         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21320         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21321         breaking some applications that use 'locale -a' output.
21322         Change the encoding of this file from Latin-1 to ASCII to avoid
21323         other potential problems with people grepping this file.
21325 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21327         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21328         -fasynchronous-unwind-tables.
21329         (CFLAGS-sendto.c): Likewise.
21330         (CFLAGS-sendmsg.c): Likewise.
21331         (CFLAGS-connect.c): Likewise.
21332         (CFLAGS-recvmsg.c): Likewise.
21333         (CFLAGS-recvfrom.c): Likewise.
21334         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21335         (SOCKETCALL): New macro: non-cancellable socketcall.
21336         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21337         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21338         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21339         * sysdeps/unix/sysv/linux/accept.c: New file.
21340         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21341         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21342         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21343         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21344         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21345         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21346         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21347         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21348         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21349         * sysdeps/unix/sysv/linux/send.c: Likewise.
21350         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21351         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21352         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21353         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21354         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21355         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21356         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21357         prototype.
21358         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21359         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21360         instead of __internal_xxx function.
21361         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21362         prototype.
21363         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21364         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21365         instead of __internal_xxx function.
21366         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21367         prototype.
21368         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21369         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21370         instead of __internal_xxx function.
21371         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21372         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21373         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21374         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21375         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21376         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21377         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21378         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21379         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21380         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21381         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21382         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21383         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21384         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21385         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21386         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21387         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21388         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21389         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21390         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21393         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21394         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21395         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21396         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21397         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21398         * sysdeps/unix/sysv/linux/send.S: Likewise.
21399         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21400         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21401         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21402         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21403         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21404         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21405         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21406         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21407         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21408         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21409         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21410         socketcall is implemented in GLIBC.
21412 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21414         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21415         (__fma): Ignore uninitialized warnings around packing.
21416         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21417         (__fmaf): Ignore uninitialized warnings around packing.
21418         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21419         (__fmal): Ignore uninitialized warnings around packing.
21421         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21422         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21423         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21424         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21426         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21427         switch statement into default case.
21428         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21430         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21431         a conditional in forcing "inexact".
21432         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21433         Likewise.
21435 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21437         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21438         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21439         for each INTERNAL_SYSCALL use.
21441 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21443         [BZ #438]
21444         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21445         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21446         variable.
21448         [BZ #18444]
21449         * string/basename.c (basename): Rename to __basename and define as
21450         weak alias of __basename.  Use libc_hidden_weak.
21451         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21452         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21453         __basename instead of basename.
21454         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21455         Remove variable.
21456         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21458 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21460         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21461         (_IO_JUMPS_FILE_plus): New.
21462         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21463         _IO_CAST_FIELD_ACCESS.
21464         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21465         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21466         * libio/freopen.c (freopen): Likewise.
21467         * libio/freopen64.c (freopen64): Likewise.
21468         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21469         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21470         * libio/iofwide.c (_IO_fwide): Likewise.
21471         * libio/memstream.c (open_memstream): Likewise.
21472         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21473         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21474         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21476 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21478         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21479         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21480         NADJ.
21481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21482         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21483         NADJ.
21484         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21485         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21486         NADJ.
21488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21489         (p == 4) case.
21491         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21492         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21493         Remove variable.
21494         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21495         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21496         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21498 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21500         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21501         Adjust jump table label generation macros.
21503 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21505         * stdio-common/vfprintf.c (vfprintf): Move local variables
21506         args_malloced, specs, specs_malloced, and the code after
21507         do_positional to the printf_positional function.
21508         (printf_positional): New function.
21510 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21512         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21513         function.
21514         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21515         STEP4_TABLE, process_arg): Move macro definitions
21516         out of the vfprintf function.  (Cosmetic change only.)
21518 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21520         * benchtests/Makefile (stdio-common-bench): Define.
21521         (benchset): Add stdio-common-bench.
21522         * sprintf-inputs: New file.
21523         * sprintf-source.c: New file.
21525 2015-05-21  Andreas Schwab  <schwab@suse.de>
21527         [BZ #13028]
21528         [BZ #17053]
21529         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21530         of struct __res_state.
21531         * resolv/res_send.c (__libc_res_nsend): Likewise.
21532         (get_nsaddr): New function.
21533         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21534         statp directly.
21536 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21538         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21539         -D_POSIX_C_SOURCE=199506L.
21541         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21543         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21544         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21545         Do not mention otherwise.
21546         [POSIX] (_XOPEN_VERSION): Do not expect.
21547         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21548         [POSIX] (_POSIX2_C_BIND): Likewise.
21549         [POSIX] (_POSIX2_VERSION): Likewise.
21550         [POSIX] (_XOPEN_XPG2): Likewise.
21551         [POSIX] (_XOPEN_XPG3): Likewise.
21552         [POSIX] (_XOPEN_XPG4): Likewise.
21553         [POSIX] (_XOPEN_UNIX): Likewise.
21554         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21555         [POSIX] (_POSIX_BARRIERS): Likewise.
21556         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21557         [POSIX] (_POSIX_CPUTIME): Likewise.
21558         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21559         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21560         [POSIX] (_POSIX_SHELL): Likewise.
21561         [POSIX] (_POSIX_SPAWN): Likewise.
21562         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21563         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21564         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21565         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21566         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21567         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21568         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21569         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21570         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21571         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21572         [POSIX] (_POSIX2_PBS): Likewise.
21573         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21574         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21575         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21576         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21577         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21578         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21579         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21580         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21581         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21582         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21583         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21584         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21585         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21586         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21587         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21588         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21589         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21590         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21591         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21592         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21593         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21594         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21595         [POSIX] (_SC_2_C_BIND): Likewise.
21596         [POSIX] (_SC_2_C_VERSION): Likewise.
21597         [POSIX] (_SC_2_PBS): Likewise.
21598         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21599         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21600         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21601         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21602         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21603         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21604         [POSIX] (_SC_BARRIERS): Likewise.
21605         [POSIX] (_SC_BASE): Likewise.
21606         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21607         [POSIX] (_SC_DEVICE_IO): Likewise.
21608         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21609         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21610         [POSIX] (_SC_FD_MGMT): Likewise.
21611         [POSIX] (_SC_FIFO): Likewise.
21612         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21613         [POSIX] (_SC_FILE_LOCKING): Likewise.
21614         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21615         [POSIX] (_SC_IOV_MAX): Likewise.
21616         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21617         [POSIX] (_SC_NETWORKING): Likewise.
21618         [POSIX] (_SC_PAGE_SIZE): Likewise.
21619         [POSIX] (_SC_PASS_MAX): Likewise.
21620         [POSIX] (_SC_PIPE): Likewise.
21621         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21622         [POSIX] (_SC_REGEXP): Likewise.
21623         [POSIX] (_SC_SHELL): Likewise.
21624         [POSIX] (_SC_SIGNALS): Likewise.
21625         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21626         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21627         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21628         [POSIX] (_SC_USER_GROUPS): Likewise.
21629         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21630         [POSIX] (_SC_STREAMS): Likewise.
21631         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21632         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21633         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21634         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21635         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21636         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21637         [POSIX] (_PC_FILESIZEBITS): Likewise.
21638         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21639         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21640         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21641         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21642         [POSIX] (uid_t): Likewise.
21643         [POSIX] (gid_t): Likewise.
21644         [POSIX] (off_t): Likewise.
21645         [POSIX] (pid_t): Likewise.
21646         [POSIX] (cuserid): Allow.
21647         (_SC_2_CHAR_TERM): Require constant.
21648         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21649         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21650         variable.
21652 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21654         * sysdeps/nacl/pthread-pids.h: New file.
21655         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21656         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21658         * nptl/pthread-pids.h: New file.
21659         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21660         * nptl/nptl-init.c: Include <pthread-pids.h>.
21661         (__pthread_initialize_minimal_internal):
21662         Call __pthread_initialize_pids instead of set_tid_address syscall.
21664         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21665         * sysdeps/posix/usleep.c: ... here.
21667 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21669         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21670         call_pselect6 object.
21671         [$(subdir) = io]: Remove call_sync_file_range object.
21672         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21673         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21674         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21675         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21677 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21679         * math/s_cproj.c: Add include "math_private.h".
21680         * math/s_cprojf.c: Likewise.
21681         * math/s_cprojl.c: Likewise.
21683 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21685         [BZ #18244]
21686         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21687         high mantissa bit when testing whether P is a NaN.
21688         * math/libm-test.inc (remainder_test_data): Add more tests.
21689         (remquo_test_data): Likewise.
21691         [BZ #18049]
21692         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21693         below -32, return the argument, with underflow if subnormal.
21694         * math/auto-libm-test-in: Add more tests of atanh.
21695         * math/auto-libm-test-out: Regenerated.
21697 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21699         [BZ #18434]
21700         * nptl/tst-sem15.c: New file.
21701         * nptl/Makefile (tests): Add it.
21702         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21703         s/<</>>/ to fix typo in EOVERFLOW check.
21704         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21706 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21708         * manual/strings.texi (envz_remove): Fix typo in safety
21709         annotations.
21711 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21712             Steve Ellcey  <sellcey@imgtec.com>
21714         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21715         in order to avoid strict alias warnings.
21716         (iruserok_af): Ditto for ra.
21718 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21720         [BZ #17581]
21721         * malloc/hooks.c
21722         (magicbyte): Convert to a function and avoid returning 0x01.
21723         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21724         (mem2chunk_check): Fix unsigned comparisons to zero.
21725         Hoist defs of sz and magic.
21727 2015-05-19  Richard Henderson  <rth@redhat.com>
21729         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21731         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21733 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21735         [BZ #16159]
21736         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21737         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21738         (reused_arena): Find a non-corrupt arena.
21739         (heap_trim): Pass arena to unlink.
21740         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21741         malloc_printerr.
21742         (top_check): Likewise.
21743         (free_check): Likewise.
21744         (realloc_check): Likewise.
21745         * malloc/malloc.c (malloc_printerr): Add arena argument.
21746         (unlink): Likewise.
21747         (munmap_chunk): Adjust.
21748         (ARENA_CORRUPTION_BIT): New macro.
21749         (arena_is_corrupt): Likewise.
21750         (set_arena_corrupt): Likewise.
21751         (sysmalloc): Use mmap if there are no usable arenas.
21752         (_int_malloc): Likewise.
21753         (__libc_malloc): Don't fail if arena_get returns NULL.
21754         (_mid_memalign): Likewise.
21755         (__libc_calloc): Likewise.
21756         (__libc_realloc): Adjust for additional argument to
21757         malloc_printerr.
21758         (_int_free): Likewise.
21759         (malloc_consolidate): Likewise.
21760         (_int_realloc): Likewise.
21761         (_int_memalign): Don't touch corrupt arenas.
21762         * malloc/tst-malloc-backtrace.c: New test case.
21764         * Makefile (summarize-tests): Fix return value on success.
21766         * manual/string.texi (Envz Functions): Add envz_remove.
21768 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21770         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21771         (invalid_name): New function, broken out of ...
21772         (__opendirat): ... here.  Call it.
21773         (need_isdir_precheck): New function, broken out of ...
21774         (__opendirat): ... here.  Call it.
21775         Use __fxstatat64, not __xstatat64.
21776         (opendir_oflags): New function, broken out of ...
21777         (__opendirat): ... here.  Call it.
21778         (opendir_tail): New function, broken out of ...
21779         (__opendirat): ... here.  Call it.
21780         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21781         opendir_tail, rather than punting to __opendirat.
21782         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21784 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21786         * .gitignore: Ignore generated *.pyc.
21788 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21790         * include/stdio.h: Define __need_wint_t.
21791         * test-skeleton.c: Avoid `for' loop initial declaration.
21792         * nptl/tst-initializers1.c: Use test-skeleton.c.
21794 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21796         [BZ #18418]
21797         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21799 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21801         [BZ #16352]
21802         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21803         (__ieee754_atanh): Force underflow exception for results with
21804         small absolute value.
21805         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21806         (__ieee754_atanhf): Force underflow exception for results with
21807         small absolute value.
21808         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21809         (__ieee754_atanh): Force underflow exception for results with
21810         small absolute value.
21811         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21812         (__ieee754_atanhf): Force underflow exception for results with
21813         small absolute value.
21814         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21815         (__ieee754_atanhl): Force underflow exception for results with
21816         small absolute value.
21817         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21818         (__ieee754_atanhl): Force underflow exception for results with
21819         small absolute value.
21820         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21821         (__ieee754_atanhl): Force underflow exception for results with
21822         small absolute value.
21823         * math/auto-libm-test-in: Do not allow missing underflow
21824         exceptions from atanh.
21825         * math/auto-libm-test-out: Regenerated.
21827         [BZ #18221]
21828         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21829         2**-28 as threshold for returning x or +/- 1/x.
21830         * math/auto-libm-test-in: Add more tests of tan.
21831         * math/auto-libm-test-out: Regenerated.
21833         [BZ #18220]
21834         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21835         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21836         * math/auto-libm-test-in: Add another test of lgamma.
21837         * math/auto-libm-test-out: Regenerated.
21839 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21841         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21842         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21843         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21844         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21845         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21846         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21847         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21850         (log1): Use fabs.  (my_log2): Use fabs.
21851         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21852         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21853         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21854         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21856         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21857         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21858         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21859         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21860         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21861         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21863 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21865         [BZ #18217]
21866         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21867         as threshold for returning 1 - x.
21868         * math/auto-libm-test-in: Add more tests of erfc.
21869         * math/auto-libm-test-out: Regenerated.
21871 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21873         [BZ #18196]
21874         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21875         threshold for large arguments.
21876         * math/auto-libm-test-in: Add another test of atan.
21877         * math/auto-libm-test-out: Regenerated.
21879         [BZ #16339]
21880         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21881         (__log1p): Force underflow exception for results with small
21882         absolute value.
21883         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21884         (__log1pf): Force underflow exception for results with small
21885         absolute value.
21886         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21887         (__log1p): Force underflow exception for results with small
21888         absolute value.
21889         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21890         (__log1pf): Force underflow exception for results with small
21891         absolute value.
21892         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21893         (__log1pl): Force underflow exception for results with small
21894         absolute value.
21895         * math/auto-libm-test-in: Do not allow missing underflow
21896         exceptions from log1p.
21897         * math/auto-libm-test-out: Regenerated.
21899 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21900             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21902         [BZ #16704]
21903         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21905 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21907         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21908         (libmvec): New variable.
21909         * configure.ac: Added option for mathvec build.
21910         * configure: Regenerated.
21911         * mathvec/Depend: New file.
21912         * mathvec/Makefile: New file.
21913         * shlib-versions: Added libmvec.
21914         * math/Makefile: Added rule for libm.so installation.
21916         * bits/math-vector.h: New file.
21917         * bits/libm-simd-decl-stubs.h: New header.
21918         * math/Makefile (headers): Added new header
21919         libm-simd-decl-stubs.h.
21920         * math/math.h (__MATHCALL_VEC): New macro.
21922         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21923         for conditions in testing functions.
21924         * math/Makefile: Added call of libm-have-vector-test.sh.
21925         * math/libm-test.inc (HAVE_VECTOR): New macros.
21927         * math/libm-test.inc: START refactored.
21928         * math/test-double.c (TEST_MATHVEC): Add define.
21929         * math/test-float.c: Likewise.
21930         * math/test-idouble.c: Likewise.
21931         * math/test-ifloat.c: Likewise.
21932         * math/test-ildoubl.c: Likewise.
21933         * math/test-ldouble.c: Likewise.
21934         * sysdeps/generic/math-tests-arch.h
21935         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21936         architecture check.
21938         * math/test-double.c (FUNC_TEST): New macro.
21939         * math/test-float.c: Likewise.
21940         * math/test-idouble.c: Likewise.
21941         * math/test-ifloat.c: Likewise.
21942         * math/test-ildoubl.c: Likewise.
21943         * math/test-ldouble.c: Likewise.
21944         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21946 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21948         * sysdeps/nacl/fdopendir.c: New file.
21950         * dirent/scandir-tail.c: New file.
21951         * dirent/scandir64-tail.c: New file.
21952         * dirent/Makefile (routines): Add them.
21953         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21954         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21955         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21956         [!SCANDIR] (SCANDIR_TAIL): New macro.
21957         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21958         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21959         (SCANDIRAT): Macro removed.
21960         (SCANDIR_TAIL): New macro.
21961         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21962         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21963         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21964         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21965         (READDIR): Macro removed.
21966         (SCANDIR_TAIL): New macro.
21967         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21968         (SCANDIR_TAIL): New macro.
21970         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21971         * dirent/scandir-cancel.c: ... to this new file.
21972         * dirent/Makefile (routines): Add it.
21973         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21974         * sysdeps/unix/sysv/linux/i386/scandir64.c
21975         (SKIP_SCANDIR_CANCEL): Macro removed.
21976         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21978         * dirent/tst-scandir.c: New file.
21979         * dirent/tst-scandir64.c: New file.
21980         * dirent/Makefile (tests): Add them.
21982 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21984         [BZ #18409]
21985         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21987 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21989         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21990         list.
21992 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21994         * benchtests/bench-strcoll.c: New benchmark.
21995         * benchtests/Makefile: Generate locales and run benchmark.
21996         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21997         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21998         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21999         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22000         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22001         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22002         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22003         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22004         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22005         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22006         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22007         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22008         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22009         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22010         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22011         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22012         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22013         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22014         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22015         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22016         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22017         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22018         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22019         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22021 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22023         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22024         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22026 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22028         * posix/uname-values.h: New file.
22029         * posix/uname.c: Include that instead of <config-name.h>.
22030         * sysdeps/nacl/uname-values.h: New file.
22031         * sysdeps/arm/nacl/uname-values.h: New file.
22033 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22035         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22036         splitting into fields.
22038 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22040         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22041         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22042         * locale/localeinfo.h: Add enum collation_encoding_type.
22043         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22044         * programs/ld-collate.c (collate_output): Add encoding type info.
22045         * string/strcoll_l.c (STRDIFF): New function.
22046         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22047         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22049 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22051         [BZ #18397]
22052         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22053         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22054         <fpu_control.h> instead of <math/fpu_control.c>.
22055         * sysdeps/mips/mips32/fpu/Makefile: New file.
22057 2015-05-11  Andreas Schwab  <schwab@suse.de>
22059         [BZ #18007]
22060         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22061         nss_endgrent.
22062         (_nss_compat_endgrent): Call nss_endgrent.
22063         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22064         nss_endpwent.
22065         (_nss_compat_endpwent): Call nss_endpwent.
22066         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22067         needent, call nss_setspent only if non-zero.
22068         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22069         (internal_endspent): Don't call nss_endspent.
22070         (_nss_compat_endspent): Call nss_endspent.
22071         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22072         Remove.  All uses removed.
22073         (internal_setent): Remove parameter stayopen, add parameter
22074         stream.  Use it instead of global variable.
22075         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22076         (internal_endent, internal_getent): Add parameter stream.  Use it
22077         instead of global variable.
22078         (CONCAT(_nss_files_end,ENTNAME))
22079         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22080         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22081         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22082         uses removed.
22083         (internal_setent, internal_endent): Add parameter stream.  Use it
22084         instead of global variable.
22085         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22086         stream.
22087         (get_next_alias): Add parameter stream.
22088         (_nss_files_getaliasent_r): Pass global stream.
22089         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22090         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22091         (_nss_files_gethostbyname4_r): Pass local stream to
22092         internal_setent, internal_getent and internal_endent.  Remove
22093         locking.
22095 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22097         * tst-strfmon1.c (tests): Update expected currency symbol.
22099 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22101         * sysdeps/nacl/gethostname.c: New file.
22103 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22105         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22106         and sinh.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22111 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22113         [BZ #18125]
22114         * stdlib/tst-setcontext3.c: New file.
22115         * stdlib/tst-setcontext3.sh: New file.
22116         * stdlib/Makefile (tests): Add tst-setcontext3.
22117         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22118         to verify test program created output file.
22119         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22120         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22121         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22122         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22124 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22126         [BZ #18383]
22127         * elf/tst-tlsalign.c: New file.
22128         * elf/tst-tlsalign-static.c: New file.
22129         * elf/tst-tlsalign-lib.c: New file.
22130         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22131         (tests-static): Add tst-tlsalign-static.
22132         (modules-names): Add tst-tlsalign-lib.
22133         (test-xfail-tst-tlsalign): New variable.
22134         (test-xfail-tst-tlsalign-static): New variable.
22136         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22137         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22139 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22141         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22142         csqrt, erfc, sin and sincos.
22143         * math/auto-libm-test-out: Regenerated.
22144         * sysdeps/i386/fpu/libm-test-ulps: Update.
22145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22147 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22149         * sysdeps/aarch64/libm-test-ulps: Update.
22151 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22153         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22154         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22155         * math/auto-libm-test-out: Regenerated.
22156         * sysdeps/i386/fpu/libm-test-ulps: Update.
22157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22159 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22161         [BZ #18265]
22162         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22163         (wcsncpy): Likewise.
22165 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22167         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22168         Assume __ASSUME_FALLOCATE is always true.
22169         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22170         (__posix_fallocate64_l64): Likweise.
22171         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22172         (posix_fallocate): Likewise.
22173         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22174         (__posix_fallocate64_l64): Likewise.
22175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22176         [!__ASSUME_FALLOCATE]: Add comment.
22178 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22180         * sysdeps/unix/sysv/linux/i386/Makefile
22181         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22182         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22183         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22184         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22185         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22186         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22187         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22189 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22191         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22192         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22193         tgamma.
22194         * math/auto-libm-test-out: Regenerated.
22195         * sysdeps/i386/fpu/libm-test-ulps: Update.
22196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22198 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22200         * math/auto-libm-test-in: Add more tests of tgamma.
22201         * math/auto-libm-test-out: Regenerated.
22202         * sysdeps/i386/fpu/libm-test-ulps: Update.
22203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22205         * math/auto-libm-test-in: Add more tests of tanh.
22206         * math/auto-libm-test-out: Regenerated.
22207         * sysdeps/i386/fpu/libm-test-ulps: Update.
22208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22210         * math/auto-libm-test-in: Add more tests of tan.
22211         * math/auto-libm-test-out: Regenerated.
22212         * sysdeps/i386/fpu/libm-test-ulps: Update.
22213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22216         * math/auto-libm-test-out: Regenerated.
22217         * sysdeps/i386/fpu/libm-test-ulps: Update.
22218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22220         * math/auto-libm-test-in: Add another test of pow.
22221         * math/auto-libm-test-out: Regenerated.
22222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22224         * math/auto-libm-test-in: Add more tests of lgamma.
22225         * math/auto-libm-test-out: Regenerated.
22226         * sysdeps/i386/fpu/libm-test-ulps: Update.
22227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22229         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22230         log1p.
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-01  Mark Wielaard  <mjw@redhat.com>
22237         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22238         Elf64_Chdr structs and ELFCOMPRESS constants.
22240 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22242         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22243         expm1.
22244         * math/auto-libm-test-out: Regenerated.
22245         * sysdeps/i386/fpu/libm-test-ulps: Update.
22246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248         * math/auto-libm-test-in: Add more tests of erf and erfc.
22249         * math/auto-libm-test-out: Regenerated.
22250         * sysdeps/i386/fpu/libm-test-ulps: Update.
22251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22253 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22255         * config.h.in (HAVE_AARCH64_BE): Add.
22257 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22259         * math/auto-libm-test-in: Add more tests of csqrt.
22260         * math/auto-libm-test-out: Regenerated.
22261         * sysdeps/i386/fpu/libm-test-ulps: Update.
22262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22264         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22265         * math/auto-libm-test-out: Regenerated.
22266         * sysdeps/i386/fpu/libm-test-ulps: Update.
22267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22271 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22273         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22274         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22276         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22277         (euidaccess, eaccess): Define as weak aliases.
22279         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22280         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22281         but __suseconds_t is often 'long int' so some sources assume that
22282         type is being used (e.g. they use %ld to print tv_usec).
22284 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22286         [BZ #18007]
22287         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22288         (CVE-2014-8121)
22289         * nss/tst-nss-getpwent.c: New file.
22290         * nss/Makefile (tests): Add new test.
22292 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22294         [BZ #18346]
22295         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22296         exponents less than 48 as cases where high part of mantissa needs
22297         examining to determine whether argument is integral.
22298         * math/libm-test.inc (round_test_data): Add more tests.
22300 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22302         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22304 2015-04-27  David S. Miller  <davem@davemloft.net>
22306         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22307         __tls_get_addr.
22308         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22310 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22312         [BZ#18333]
22313         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22315 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22317         [BZ#18333]
22318         * time/tzset.c (parse_tzname): Return error on memory allocation
22319         failure.
22320         * test-skeleton.c (struct temp_name_list): Change type of name
22321         member to non-const.
22322         (add_temp_file): Create a copy of the file name.
22323         (delete_temp_files): Deallocate memory.
22324         (create_temp_file): Add comment.
22326 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22328         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22329         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22331 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22333         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22334         * sysdeps/arm/configure: Regenerated.
22336 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22338         [BZ #17715]
22339         * time/tzfile.c (__tzfile_read): Check for large values of
22340         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22341         * time/tzset.c (__tzstring_len): New function, based on the old
22342         __tzstring function.
22343         (__tzstring): Call __tzstring_len.
22344         (parse_tzname): New helper function extracted from
22345         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22346         the input string.
22347         (parse_offset): New helper function extracted from
22348         __tzset_parse_tz.  Replace switch with fallthrough with
22349         initialization before sscanf.
22350         (parse_rule): Likewise.
22351         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22352         new-style function definition.
22353         * timezone/Makefile (tests): Add tst-tzset.
22354         (tst-tzset.out): Dependencies on time zone files.
22355         (tst-tzset-ENV): Set TZDIR.
22356         (testdata/XT%): Copy crafted time zone files.
22357         * timezone/README: Mention crafted time zone files.
22358         * timezone/testdata/XT1, timezone/testdata/XT2,
22359         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22360         files.
22361         * timezone/tst-tzset.c: New test.
22363 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22365         * Makeconfig (+gccwarn): Remove -Winline.
22367 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22369         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22371 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22373         * NEWS: Mention sysconf() cache information support for s390.
22374         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22376 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22378         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22379         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22380         (__nearbyint): Likewise.
22381         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22382         (copysignl): Likewise.
22384 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22386         [BZ #18287]
22387         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22388         based on padding.  (CVE-2015-1781)
22390 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22392         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22393         libc-vdso.h.
22394         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22395         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22396         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22397         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22398         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22399         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22400         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22401         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22402         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22403         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22404         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22405         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22406         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22407         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22408         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22409         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22410         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22411         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22412         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22413         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22414         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22415         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22416         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22418 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22420         * stdlib/setenv.c (__add_to_environ):
22421         Dump core quickly if setenv (..., NULL, ...) is called.
22422         This time, do it the right way, and pacify GCC with a pragma.
22424 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22426         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22427         IMAP->l_prev cannot be null, and #if out the code for the contrary
22428         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22429         believe that NS (&_dl_ns[NSID]) could point outside the array.
22431         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22432         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22433         before using NSID as an index.
22435 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22437         [BZ #17825]
22438         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22439         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22440         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22442 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22444         Add preliminary port to Google Native Client on ARM.
22445         * abi-tags (.*-.*-nacl.*): New entry.
22446         * sysdeps/arm/nacl: New directory.
22447         * sysdeps/nacl: New directory.
22449 2015-04-16  David S. Miller  <davem@davemloft.net>
22451         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22452         lowlevellock-futex.h
22454 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22456         * sysdeps/tile/configure.ac: New file.
22457         * sysdeps/tile/configure: Regenerated.
22459 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22461         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22462         conditionals for weak_alias and libc_hidden_weak.
22463         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22464         libc_hidden_weak and weak_alias.
22465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22466         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22467         and weak_alias for static one.
22469 2015-04-15  David S. Miller  <davem@davemloft.net>
22471         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22473 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22475         [BZ #18206]
22476         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22477           Use signed comparision instead of substraction to avoid
22478           overflow bug.
22479         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22480           Take the sign of ret.
22481         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22482           Do not expect precise return values. Only the sign matters.
22483         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22484         * wcsmbs/test-wcsncmp.c: New File.
22485         * string/test-strncmp.c: Add wcsncmp support.
22487 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22489         [BZ #6792]
22490         * math/w_log1p.c: New file.
22491         * math/w_log1pf.c: Likewise.
22492         * math/w_log1pl.c: Likewise.
22493         * math/Makefile (libm-calls): Add w_log1p.
22494         * math/s_log1pl.c (log1pl): Remove weak_alias.
22495         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22496         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22497         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22498         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22499         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22500         [NO_LONG_DOUBLE] (log1pl): Likewise.
22501         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22502         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22503         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22504         (log1p): Remove long_double_symbol.
22505         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22506         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22507         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22508         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22509         remove weak_alias for corresponding log1p function.
22510         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22511         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22512         * sysdeps/ia64/fpu/w_log1p.c: New file.
22513         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22514         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22515         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22517 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22519         [BZ #18247]
22520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22521         decimal exponent by 1.
22522         * stdlib/tst-strtod-round-data: Add more tests.
22523         * stdlib/tst-strtod-round.c (tests): Regenerated.
22525 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22527         * math/auto-libm-test-in: Add more tests of clog and clog10.
22528         * math/auto-libm-test-out: Regenerated.
22529         * sysdeps/i386/fpu/libm-test-ulps: Update.
22530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22532 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22534         * Makeconfig (module-cppflags): Exclude all .v.i files.
22535         (skip-module-cppflags): Variable removed.
22537         * configure.ac (libc_config_ok): Initialize before reading
22538         preconfigure scripts, not after.
22539         * configure: Regenerated.
22541         * test-skeleton.c (TIMEOUT): Move #define to top level.
22542         (main): Grok environment variable TEST_DIRECT.  If set, print
22543         test expectation details into that file and then behave as if
22544         given --direct.
22546 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22548         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22549         warning on 32-bit.
22551 2015-04-08  David S. Miller  <davem@davemloft.net>
22553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22555 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22557         * math/auto-libm-test-in: Add more tests of atanh.
22558         * math/auto-libm-test-out: Regenerated.
22559         * sysdeps/i386/fpu/libm-test-ulps: Update.
22560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22562         * math/auto-libm-test-in: Add more tests of atan.
22563         * math/auto-libm-test-out: Regenerated.
22564         * sysdeps/i386/fpu/libm-test-ulps: Update.
22565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22567 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22569         * elf/pldd.c (main): Rewrite to use struct
22570         scratch_buffer instead of extend_alloca.
22571         * elf/pldd-xx.c (find_maps): Likewise.
22572         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22573         <alloca.h>.
22574         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22575         scratch_buffer instead of extend_alloca.
22576         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22577         grp/compat-initgroups.c.
22578         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22579         Rewrite to use struct scratch_buffer instead of extend_alloca.
22580         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22581         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22583 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22585         * math/auto-libm-test-in: Add more tests of cbrt.
22586         * math/auto-libm-test-out: Regenerated.
22587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22589         * math/auto-libm-test-in: Add more tests of cabs.
22590         * math/auto-libm-test-out: Regenerated.
22591         * sysdeps/i386/fpu/libm-test-ulps: Update.
22592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594         [BZ #18210]
22595         [BZ #18211]
22596         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22597         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22598         computations.
22599         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22600         clog10.
22601         * math/auto-libm-test-out: Regenerated.
22602         * sysdeps/i386/fpu/libm-test-ulps: Update.
22603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605         [BZ #18197]
22606         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22607         (atan): Set FE_TONEAREST mode for internal computations.
22608         * math/auto-libm-test-in: Add more tests of atan.
22609         * math/auto-libm-test-out: Regenerated.
22611 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22613         [BZ #17930]
22614         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22616 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22618         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22620 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22622         * include/scratch_buffer.h: New file.
22623         * malloc/scratch_buffer_grow.c: Likewise.
22624         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22625         * malloc/scratch_buffer_set_array_size.c: Likewise.
22626         * malloc/tst-scratch_buffer.c: Likewise.
22627         * malloc/Makefile (routines): Add scratch_buffer_grow.
22628         (tests): Add test case.
22629         * malloc/Versions (GLIBC_PRIVATE): Export
22630         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22631         __libc_scratch_buffer_set_array_size.
22633 2015-04-06  Richard Henderson  <rth@redhat.com>
22635         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22636         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22638         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22639         unsigned int before printing.
22641 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22643         [BZ #17596]
22644         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22645         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22647 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22649         * include/libc-internal.h (libc_max_align_t): Define.
22651 2015-04-02  Andreas Schwab  <schwab@suse.de>
22653         [BZ #16850]
22654         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22656 2015-04-02  Mel Gorman  <mgorman@suse.de>
22658         [BZ #17195]
22659         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22660         as well as the main arena.
22662 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22664         [BZ #18185]
22665         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22666         sharing L2 cache to 2 for Silvermont/Knights Landing.
22668 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22670         [BZ #17711]
22671         * config.make.in (have-protected-data): New.
22672         * configure.ac: Check linker support for protected data symbol.
22673         * configure: Regenerated.
22674         * elf/Makefile (modules-names): Add tst-protected1moda and
22675         tst-protected1modb if $(have-protected-data) is yes.
22676         (tests): Add tst-protected1a and tst-protected1b if
22677         $(have-protected-data) is yes.
22678         ($(objpfx)tst-protected1a): New.
22679         ($(objpfx)tst-protected1b): Likewise.
22680         (tst-protected1modb.so-no-z-defs): Likewise.
22681         * elf/tst-protected1a.c: New file.
22682         * elf/tst-protected1b.c: Likewise.
22683         * elf/tst-protected1mod.h: Likewise.
22684         * elf/tst-protected1moda.c: Likewise.
22685         * elf/tst-protected1modb.c: Likewise.
22687 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22689         [BZ #17711]
22690         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22691         indicates it is called from do_lookup_x on relocation against
22692         protected data, skip the data definion in the executable from
22693         copy reloc.
22694         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22695         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22696         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22697         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22698         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22699         otherwise to 0.
22700         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22701         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22702         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22703         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22704         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22705         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22707 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22709         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22710         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22712 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22714         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22715         THREAD_SETMEM_NC.
22716         * sysdeps/x86_64/nptl/tls.h: Ditto.
22718 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22720         * dlfcn/tststatic.c (main): Converted to ...
22721         (do_test): ... this.
22722         (TEST_FUNCTION): New macro.
22723         Include test-skeleton.c.
22725 2015-03-26  Alan Modra  <amodra@gmail.com>
22727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22728         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22729         zero for undefined weak.
22730         (elf_machine_plt_conflict): Similarly.
22732 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22734         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22735         atanh.
22736         * math/auto-libm-test-out: Regenerated.
22737         * sysdeps/i386/fpu/libm-test-ulps: Update.
22738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22740         * math/auto-libm-test-in: Add another test of asin.
22741         * math/auto-libm-test-out: Regenerated.
22742         * sysdeps/i386/fpu/libm-test-ulps: Update.
22743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22746         Remove macro.
22747         (LLL_EBX_REG): Likewise.
22748         (LLL_ENTER_KERNEL): Likewise.
22750         * math/auto-libm-test-in: Add more tests of asin.
22751         * math/auto-libm-test-out: Regenerated.
22752         * sysdeps/i386/fpu/libm-test-ulps: Update.
22753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22755         [BZ #18138]
22756         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22757         libc_do_syscall_args): New structure.
22758         (INTERNAL_SYSCALL_MAIN_0): New macro.
22759         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22760         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22761         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22762         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22763         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22764         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22765         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22766         Replace conditional definitions by conditional definitions of ....
22767         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22768         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22769         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22770         (libpthread-sysdep_routines): Add libc-do-syscall.
22771         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22772         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22773         to __NR_futex not 240.
22775 2015-03-25  Alan Modra  <amodra@gmail.com>
22777         * NEWS: Advertise TLS optimization.
22778         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22779         (DT_PPC_NUM): Increment.
22780         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22781         (CHECK_STATIC_TLS): Use here.
22782         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22783         TLS descriptors.
22784         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22785         * sysdeps/powerpc/dl-tls.c: New file.
22786         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22787         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22788         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22789         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22794 2015-03-25  Alan Modra  <amodra@gmail.com>
22796         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22797         for overlapping .opd entries" to "support...".
22798         * sysdeps/powerpc/powerpc64/configure: Regenerate
22800 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22802         * math/auto-libm-test-in: Add more tests of acos.
22803         * math/auto-libm-test-out: Regenerated.
22804         * sysdeps/i386/fpu/libm-test-ulps: Update.
22805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807         * math/auto-libm-test-in: Add more tests of expm1.
22808         * math/auto-libm-test-out: Regenerated.
22809         * sysdeps/i386/fpu/libm-test-ulps: Update.
22810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22812 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22814         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22815         * math/auto-libm-test-out: Regenerated.
22816         * sysdeps/i386/fpu/libm-test-ulps: Update.
22817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22819         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822         * math/auto-libm-test-in: Add more tests of log2.
22823         * math/auto-libm-test-out: Regenerated.
22824         * sysdeps/i386/fpu/libm-test-ulps: Update.
22825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22829         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22830         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22831         _IO_IS_APPENDING bit in READ_WRITE instead.
22833 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22835         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22836         (__determine_cpumask_size): Replace extend_alloca with a
22837         variable-length array.  Do not treat res == 0 as an error.
22839 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22841         [BZ #18100]
22842         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22843         and integer overflow.
22844         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22845         (main): Add integer overflow tests.
22846         * manual/pattern.texi (Calling Wordexp): Document additional use
22847         for WRDE_SYNTAX.
22849 2015-03-23  Alan Modra  <amodra@gmail.com>
22851         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22852         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22853         and false branch of conditional.
22854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22855         Likewise.
22857 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22859         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22860         libc-modules.h
22861         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22862         unused declaration of _hurd_intr_rpc_msg_in_trap.
22863         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22864         defined instead of whether it is non-zero.
22865         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22866         input constraint instead of both input and output constraint.  Use ecx
22867         clobber instead of %ecx.
22868         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22869         mutex_unlock): Use a statement expression instead of an expression list.
22870         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22871         type to vm_size_t instead of vm_address_t.
22872         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22873         defined instead of whether it is non-zero.
22874         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22875         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22876         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22877         comparisons with mapaddr.
22878         * nscd/nscd-client.h: Include <time.h>.
22879         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22880         9th parameter to __vm_region instead of int.
22881         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22882         * scripts/check-local-headers.sh (exclude): Add device/,
22883         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22884         cthreads.h.
22886 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22888         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22889         to account for alignment padding.
22890         * sysdeps/arm/memmove.S: Likewise.
22892 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22894         * sysdeps/unix/sysv/linux/generic/README: New file.
22896 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22898         [BZ #18138]
22899         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22900         (futex_abstimed_wait)
22901         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22902         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22903         of lll_futex_timed_wait.
22905 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22907         [BZ #17542]
22908         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22910 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22912         [BZ #17090]
22913         [BZ #17620]
22914         [BZ #17621]
22915         [BZ #17628]
22916         * NEWS: Update.
22917         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22918         entries with Static TLS too.  Skip entries past the end of the
22919         allocated DTV, from Alan Modra.
22920         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22921         Static TLS DTV entry set up from...
22922         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22923         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22924         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22925         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22926         for Static TLS.
22927         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22928         that the slot we find is associated with the given map before
22929         using its generation count.
22930         * nptl_db/db_info.c: Include ldsodefs.h.
22931         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22932         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22933         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22934         (link_map::l_tls_offset): New struct field.
22935         (dtv_t::counter): Likewise.
22936         (rtld_global): New struct.
22937         (_rtld_global): New rtld variable.
22938         (dl_tls_dtv_slotinfo_list): New rtld global field.
22939         (dtv_slotinfo_list): New struct.
22940         (dtv_slotinfo): Likewise.
22941         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22942         (td_lookup): Rename to...
22943         (td_mod_lookup): ... this.  Use new mod parameter instead of
22944         LIBPTHREAD_SO.
22945         * nptl_db/td_thr_tlsbase.c: Include link.h.
22946         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22947         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22948         addresses even if the DTV is out of date or missing them.
22949         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22950         index zero-length arrays.
22951         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22952         (td_lookup): Make it a macro implemented in terms of...
22953         (td_mod_lookup): ... this declaration.
22954         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22955         (DB_MAIN_VARIABLE): Likewise.
22957 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22959         [BZ #18134]
22960         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22962 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22964         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22966 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22968         [BZ #18128]
22969         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22970         (atomic_add, atomic_increment_and_test)
22971         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22973 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22975         * stdlib/setenv.c (__add_to_environ):
22976         Dump core quickly if setenv (..., NULL, ...) is called.
22978 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22980         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22981         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22982         all the necessary asm magic in one place.
22983         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22984         using those.
22986 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22988         [BZ #14906]
22989         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22990         traced file mtime. Use consistent log message.
22991         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22992         (register_traced_file): Call install_watches. Always set mtime.
22993         (invalidate_cache): Iterate over all trace files. Call install_watches.
22994         (inotify_check_files): Don't inline. Handle watching parent
22995         directories and configuration file movement in and out.
22996         (handle_inotify_events): New function.
22997         (main_loop_poll): Call handle_inotify_events.
22998         (main_loop_epoll): Likewise.
22999         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23000         (struct traced_file): Use array of inotify fds. Add parent directory,
23001         and basename.
23002         (struct database_dyn): Remove unused file_mtime.
23003         (init_traced_file): New inline function.
23004         (define_traced_file): New macro.
23005         * nss/nss_db/db-init.c: Use define_traced_file.
23006         (_nss_db_init): Use init_traced_file.
23007         * nss/nss_files/files-init.c: Use define_traced_file.
23008         (_nss_files_init): Use init_traced_file.
23010 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23012         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23013         [_LIBC]: Do not include <stdlib.h>.
23014         [!_LIBC] (abort): Remove declaration.
23015         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23016         _FP_STATIC_ASSERT instead of conditionally calling abort.
23017         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23018         (_FP_EXTEND_CNAN): Likewise.
23019         (FP_TRUNC): Likewise.
23020         (__FP_CLZ): Likewise.
23021         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23023 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23025         * manual/string.texi (XPG basename): Fix prototype.
23027 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23029         [BZ #18080]
23030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23031         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23032         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23033         (__setcontext): Likewise.
23034         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23035         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23036         Call rt_sigprocmask syscall one time to set new signal mask
23037         and retrieve the current signal mask instead of two calls.
23038         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23039         (__swapcontext): Likewise.
23040         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23041         * stdlib/tst-setcontext2.c: New file.
23043 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23045         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23047 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23049         [BZ #18093]
23050         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23051         the wrong size.
23053 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23055         [BZ #18043]
23056         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23058 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23060         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23061         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23062         Remove define.
23063         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23064         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23065         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23066         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23067         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23068         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23069         define.
23070         * nptl_db/td_symbol_list.c (td_lookup): Remove
23071         HAVE_ASM_GLOBAL_DOT_NAME code.
23072         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23073         HAVE_ASM_GLOBAL_DOT_NAME check.
23074         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23075         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23076         (DOT_LABEL): Remove define.
23077         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23078         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23079         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23080         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23081         (__TLS_GET_ADDR): Likewise.
23082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23083         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23085 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23087         [BZ #18111]
23088         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23089         (_FPU_SETCW): Initialize cw from fpsr before storing.
23090         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23091         (fesetexceptflag): Rewrite using fpu_control.h.
23092         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23094 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23096         [BZ #18110]
23097         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23098         asms.
23099         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23101 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23103         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23104         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23105         abort.
23106         (_FP_FMA): Likewise.
23107         (_FP_DIV): Likewise.
23109 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23111         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23112         with 0 in that case.
23113         * Makefile (summarize-tests): New canned sequence, factored out of
23114         commands for targets tests and xtests.  Display summary lines that
23115         don't start with PASS: or XFAIL: rather than ones that do start with
23116         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23117         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23118         do start with ERROR: or FAIL:.
23119         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23120         (except for [$(build-shared) = yes]).
23121         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23122         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23123         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23124         * nptl/Makefile: Revert 2015-03-04 changes.
23125         [$(CXX) empty] (tests-unsupported): New variable.
23126         * debug/Makefile: Likewise.
23128         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23129         gnulib file.  Replace __attribute with __attribute__ throughout.
23131 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23133         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23135 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23137         [BZ #18104]
23138         * math/auto-libm-test-in: Add another test of pow.
23139         * math/auto-libm-test-out: Regenerated.
23141 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23143         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23144         $(config-cflags-nofma).
23146 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23148         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23149         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23150         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23151         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23152         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23153         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23154         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23155         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23156         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23157         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23158         Add comment on closing #endif.
23160 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23162         * posix/wordexp.c (CHAR_IN_SET): New macro.
23163         (parse_param): Use it.
23165 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23167         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23169 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23171         [BZ #18043]
23172         * posix/wordexp.c (parse_param): Fix buffer overflow.
23173         * posix/wordexp-test.c (test_case): Add test case.
23175 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23177         [BZ #18042]
23178         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23179         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23181 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23183         [BZ #18043]
23184         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23185         (do_bz18043): Delete.
23186         (at_page_end): New.
23187         (testit): Refactor to have words at the edge of unreadable page.
23189 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23191         [BZ #16734]
23192         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23193         Cleanup read-only streams as well.
23194         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23196 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23198         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23199         <bits/libc-lockP.h>
23201 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23203         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23204         on [__KERNEL__].
23205         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23206         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23207         * soft-fp/op-common.h (_FP_DECL): Likewise.
23209 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23211         * elf/ifuncdep2.c (global): Replace
23212         __attribute__((visibility("protected"))) with
23213         asm (".protected global").
23214         * elf/ifuncmod1.c (global): Likewise.
23215         * elf/ifuncmod5.c (global): Likewise.
23217 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23219         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23220         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23222 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23224         * manual/install.texi (Configuring and compiling):
23225         Document test-wrapper-env-only.
23226         * INSTALL: Regenerated.
23228 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23230         [BZ #18043]
23231         * posix/wordexp.c (parse_param): Fix buffer overflow.
23232         * posix/wordexp-test.c (do_bz18043): Add test case.
23234 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23236         * time/tst-strptime2.c (do_test): Ensure failing tests are
23237         reported correctly.
23238         * time/tst-strptime3.c (do_test): Likewise.
23240 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23242         Fix aio_error thread-safety.
23243         * sysdeps/pthread/aio_error.c: New file
23244         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23245         synchronization.
23247 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23249         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23250         (group_number, vfprintf): Use it.
23251         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23252         (JUMP, REF): Use it.
23253         (WORK_BUFFER_SIZE): New enum constant.
23254         (process_arg, vfprintf): Use it.
23256 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23258         * manual/errno.texi (Error Messages): Complete example function
23259         by adding missing #define.
23260         (program_invocation_name): Add statement indicating GNU
23261         extension and reference which header file declares the variable.
23262         (program_invocation_short_name): Likewise.
23264 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23266         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23267         compatibility note.
23269 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23271         * Makeconfig (test-wrapper-env-only): New variable.
23272         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23273         then use that with $(test-wrapper-env-only) rather than using
23274         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23276 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23278         [BZ #18082]
23279         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23280         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23281         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23282         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23283         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23284         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23285         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23286         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23287         Likewise.
23288         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23289         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23290         Likewise.
23291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23292         Likewise.
23293         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23294         Likewise.
23295         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23296         Likewise.
23297         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23298         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23299         Likewise.
23300         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23301         Likewise.
23302         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23303         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23305 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23307         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23308         (ETH_ALEN): New macro.
23309         (struct ether_addr): Use it for length of ether_addr_octet.
23311         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23312         (setdb): Don't call __nss_configure_lookup for "rpc".
23313         (do_test): Don't call test_rpc.
23314         (output_rpcent, test_rpc): Functions moved ...
23315         * sunrpc/test-rpcent.c: ... to this new file.
23316         * sunrpc/Makefile (tests): Add it.
23318         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23319         __xpg_sigpause.
23320         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23321         * nptl/tst-signal6.c: Likewise.
23322         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23323         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23325         * configure.ac (libc_cv_cxx_link_ok): New check.
23326         Reset CXX to empty if it fails to link.
23327         * configure: Regenerated.
23328         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23329         bug-atexit3-lib only if $(CXX) is nonempty.
23330         * nptl/Makefile (tests): Likewise for tst-cancel24.
23331         (tests, tests-static): Likewise for tst-cancel24-static.
23332         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23333         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23334         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23335         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23337 2015-03-04  Andreas Schwab  <schwab@suse.de>
23339         [BZ #17631]
23340         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23341         for non-GCC compilers.
23342         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23343         Likewise.
23345 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23347         [BZ #17776]
23348         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23349         integer before bitwise and assembly operations.
23350         (feclearexcept): Likewise.
23351         * math/test-fenvinline.c: New file.
23352         * math/Makefile: Add test-fenvinline test.
23354 2015-03-03  Alan Modra  <amodra@gmail.com>
23356         [BZ #16512]
23357         * scripts/localplt.awk: Strip off symbol version.
23358         * NEWS: Mention bug fix.
23360 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23362         * sysdeps/pthread/timer_routines.c
23363         (timer_free_list, thread_free_list, thread_active_list): Make static.
23365 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23367         [BZ #17779]
23368         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23369         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23370         Undefine.
23371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23372         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23373         Likewise.
23374         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23375         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23376         Likewise.
23378 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23380         [BZ #18036]
23381         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23382         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23384 2015-03-02  Andreas Schwab  <schwab@suse.de>
23386         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23387         variable name.
23389 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23391         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23392         Return error status.
23394 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23396         [BZ #15969]
23397         * locale/findlocale.c (_nl_find_locale): Introduce const
23398         version of loc_name and drop unsafe type casts.
23400 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23402         * dlfcn/tststatic2.c (main): Converted to ...
23403         (do_test): ... this.
23404         (TEST_FUNCTION): New macro.
23405         Include test-skeleton.c.
23407 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23409         [BZ #17711]
23410         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23411         (tests-pie): Add vismain.
23412         (CFLAGS-vismain.c): New.
23413         * elf/vismain.c: Add comments for PIE requirement.
23415 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23417         [BZ #18046]
23418         [BZ #18047]
23419         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23420         0x1p-56L as threshold for just returning the argument.
23421         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23422         0x1p-32L as threshold for just returning the argument.
23423         * math/auto-libm-test-in: Add more tests of atanh.
23424         * math/auto-libm-test-out: Regenerated.
23425         * sysdeps/i386/fpu/libm-test-ulps: Update.
23426         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23428 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23430         * string/bcopy.c (bcopy): Call memmove for performance.
23432 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23434         * string/bzero.c (__bzero): Call memset for performance.
23436 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23438         [BZ #18068]
23439         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23440         to 00100000.
23442 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23444         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23446 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23448         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23449         (__kernel_standard): Use CSTR macro when setting exc.name.
23450         * sysdeps/ieee754/Makefile [$(subdir) = math]
23451         (CFLAGS-k_standard.c): Remove variable.
23453         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23454         setting p and q from "else if" to "else".
23455         (qzero): Likewise.
23456         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23457         (qone): Likewise.
23458         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23459         (qzerof): Likewise.
23460         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23461         (qonef): Likewise.
23462         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23463         (qzero): Likewise.
23464         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23465         (qone): Likewise.
23467         [BZ #18038]
23468         [BZ #18039]
23469         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23470         return pi/2 for arguments below 0x1p-113L.
23471         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23472         return pi/2 for arguments below 0x1p-106L.
23473         * math/auto-libm-test-in: Add more tests of acos.
23474         * math/auto-libm-test-out: Regenerated.
23476         [BZ #16351]
23477         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23478         (MO): New macro.
23479         (__ieee754_asin): Force underflow exception for results with small
23480         absolute value.
23481         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23482         (MO): New macro.
23483         (__ieee754_asinf): Force underflow exception for results with
23484         small absolute value.
23485         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23486         (__ieee754_asin): Force underflow exception for results with small
23487         absolute value.
23488         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23489         (__ieee754_asinf): Force underflow exception for results with
23490         small absolute value.
23491         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23492         (__ieee754_asinl): Force underflow exception for results with
23493         small absolute value.
23494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23495         (__ieee754_asinl): Force underflow exception for results with
23496         small absolute value.
23497         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23498         (__ieee754_asinl): Force underflow exception for results with
23499         small absolute value.
23500         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23501         Include <math.h>.
23502         * math/auto-libm-test-in: Do not mark underflow exceptions as
23503         possibly missing for bug 16351.
23504         * math/auto-libm-test-out: Regenerated.
23506         [BZ #18030]
23507         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23508         of power of 2 down when low part has opposite sign.
23509         * math/libm-test.inc (logb_test_data): Add more tests.
23511 2015-02-26  Andreas Schwab  <schwab@suse.de>
23513         [BZ #18032]
23514         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23515         over collating symbol inside a bracket expression.  Minor cleanup.
23516         * posix/tst-fnmatch3.c (do_test): Add test case.
23518 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23520         [BZ #18029]
23521         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23522         Adjust exponent of power of 2 down when low part has opposite
23523         sign.
23524         * math/libm-test.inc (ilogb_test_data): Add more tests.
23526 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23528         [BZ #15969]
23529         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23530         the previous change.
23532         [BZ #15969]
23533         * locale/findlocale.c (_nl_find_locale): Retry archive search
23534         after alias expansion.
23536 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23538         * iconv/tst-iconv3.c (main): Converted to ...
23539         (do_test): ... this.
23540         (TEST_FUNCTION): New macro.
23541         Include test-skeleton.c.
23543         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23544         (convert): Make function static.
23545         (test_unalign): Likewise.  Add const to argument pointee types.
23546         (main): Replace with static function do_test.
23547         Print "Succeeded." only if RET is zero.
23548         (TEST_FUNCTION): New macro.
23549         Include test-skeleton.c.
23551         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23552         returns a null pointer.
23554 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23556         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23557         to __memcpy_ppc only for static builds.
23559 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #18020]
23562         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23563         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23564         * math/auto-libm-test-in: Add more tests of asinh.
23565         * math/auto-libm-test-out: Regenerated.
23566         * sysdeps/i386/fpu/libm-test-ulps: Update.
23567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23569 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23571         [BZ #15850]
23572         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23573         and ip6_mtuinfo definitions here.
23574         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23575         in this define too.  Update comment.
23577 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23579         * elf/sprof.c (load_shobj): Tweak error message to match others.
23581 2015-02-24  Kevin Easton  <kevin@guarana.org>
23583         [BZ #16145] (partial fix)
23584         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23585         to reduce lock contention.
23587 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23589         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23590         (struct timex): Update time comment.
23591         (ADJ_SETOFFSET): Define.
23593 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23595         [BZ #18019]
23596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23597         2**56 not 2**28 as threshold for log (2x) formula.
23598         * math/auto-libm-test-in: Add more tests of acosh.
23599         * math/auto-libm-test-out: Regenerated.
23600         * sysdeps/i386/fpu/libm-test-ulps: Update.
23601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23603 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23605         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23606         parenthesis around the buf assignment.
23607         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23609 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23611         [BZ #16783]
23612         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23613         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23614         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23615         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23616         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23617         * math/libm-test.inc (scalb_test_data): Add more tests.
23619 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23621         [BZ #17916]
23622         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23623         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23625 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23627         [BZ #17523]
23628         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23629         * io/bits/fcntl2.h (open): Use it.
23630         (openat): Likewise.
23631         * io/open.c (__libc_open): Likewise.
23632         * io/open64.c (__libc_open64): Likewise.
23633         * io/open64_2.c (__open64_2): Likewise.
23634         * io/open_2.c (__open_2): Likewise.
23635         * io/openat.c (__openat): Likewise.
23636         * io/openat64.c (__openat64): Likewise.
23637         * io/openat64_2.c (__openat64_2): Likewise.
23638         * io/openat_2.c (__openat_2): Likewise.
23639         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23640         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23641         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23642         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23643         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23644         (__open_nocancel): Likewise.
23645         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23646         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23647         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23649 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23651         [BZ #14841]
23652         * resolv/gethnamaddr.c (getanswer): Skip logging if
23653         RES_USE_DNSSEC is set.
23654         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23656 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23658         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23660 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23662         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23663         201304L, for Unicode 7.
23665 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23667         [BZ #17836]
23668         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23669         shared library.  Add gmon-start.os otherwise.
23670         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23671         $(objpfx)gmon-start.os if builing shared library.
23672         ($(objpfx)g$(static-start-installed-name)): Likewise.
23674 2015-02-23  Andreas Schwab  <schwab@suse.de>
23676         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23678 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23680         [BZ #17269]
23681         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23682         (enlarge_userbuf): Likewise.
23684 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23686         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23687         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23688         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23689         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23691 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23693         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23694         expression inside statement expression.
23696 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23698         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23699         <sysdeps/nptl/lowlevellock.h> and remove macros and
23700         functions that are now defined there.
23701         (SYS_futex): Remove.
23702         (lll_compare_and_swap): Remove.
23703         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23705 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23707         [BZ #17999]
23708         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23709         instead of scandirat.
23710         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23711         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23712         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23713         __scandirat.
23714         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23715         (__scandirat): Declare.  Use libc_hidden_proto.
23716         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23717         Remove variable.
23718         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23720 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23722         [BZ #15319]
23723         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23724         (MO): New macro.
23725         (__ieee754_atan2): For results with small absolute value, force
23726         underflow exception and remove excess range and precision from
23727         return value.
23728         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23729         (MO): New macro.
23730         (__ieee754_atan2f): For results with small absolute value, force
23731         underflow exception and remove excess range and precision from
23732         return value.
23733         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23734         (MO): New macro.
23735         (__atan): For results with small absolute value, force underflow
23736         exception and remove excess range and precision from return value.
23737         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23738         (MO): New macro.
23739         (__atanf): For results with small absolute value, force underflow
23740         exception and remove excess range and precision from return value.
23741         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23742         <math.h>.
23743         (__ieee754_atan2): Force underflow exception for results with
23744         small absolute value.
23745         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23746         <math_private.h>.
23747         (atan): Force underflow exception for results with small absolute
23748         value.
23749         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23750         (__atanf): Force underflow exception for results with small
23751         absolute value.
23752         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23753         <math.h>.
23754         (__atanl): Force underflow exception for results with small
23755         absolute value.
23756         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23757         (__atanl): Force underflow exception for results with small
23758         absolute value.
23759         * sysdeps/x86/fpu/bits/mathinline.h
23760         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23761         (__ieee754_atan2): Only define inline for long double.
23762         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23763         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23764         * math/auto-libm-test-in: Do not mark underflow exceptions as
23765         possibly missing for bug 15319.  Add more tests of atan2.
23766         * math/auto-libm-test-out: Regenerated.
23767         * math/libm-test.inc (casin_test_data): Do not mark underflow
23768         exceptions as possibly missing for bug 15319.
23769         (casinh_test_data): Likewise.
23770         * sysdeps/i386/fpu/libm-test-ulps: Update.
23772 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23774         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23775         * sysdeps/mips/bits/endian.h: Fix comments.
23777 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23779         [BZ #17996]
23780         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23781         (hdestroy_r): Likewise.
23782         (hsearch_r): Likewise.
23783         (__hcreate_r): Declare and use libc_hidden_proto.
23784         (__hdestroy_r): Likewise.
23785         (__hsearch_r): Likewise.
23786         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23787         (hcreate): Call __hcreate_r instead of hcreate_r.
23788         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23789         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23790         as weak alias of __hcreate_r.
23791         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23792         __hdestroy_r.
23793         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23794         __hsearch_r.
23795         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23796         Remove variable.
23797         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23798         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23799         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23800         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23802 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23805         arena_lock into a single arena_get.
23807 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23809         * dl-reloc.c: Inlucde libc-internal.h.
23810         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23811         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23812         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23813         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23814         (grow_heap): Likewise.
23815         * malloc/malloc.c: Include libc-internal.h.
23816         (do_check_malloc): Call powerof2.
23817         (sysmalloc): Use pagesize. Call ALIGN_UP.
23818         (systrim): Use pagesize.
23819         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23820         (__libc_valloc): Use pagesize.
23821         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23823 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23825         [BZ #17991]
23826         * include/sys/resource.h (__getrlimit64): Declare.  Use
23827         libc_hidden_proto.
23828         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23829         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23830         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23831         getrlimit64.
23832         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23833         __getrlimit64.
23834         [!getrlimit64] (getrlimit64): Define as weak alias of
23835         __getrlimit64.  Use libc_hidden_weak.
23836         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23837         using __getrlimit64 not __new_getrlimit64.
23838         (__GI_getrlimit64): Likewise.
23839         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23840         Likewise.
23841         (__GI_getrlimit64): Likewise.
23842         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23844         (getrlimit): Add __getrlimit64 alias.
23845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23846         Likewise.
23847         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23848         Remove variable.
23849         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23850         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23852 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23854         * libio/fileops.c: Add missing sys/mman.h
23855         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23857 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23859         * manual/math.texi (Errors in Math Functions): Clarify goals
23860         regarding inexact and underflow exceptions.
23862 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23864         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23865         * sysdeps/mips/memset.S: Ditto.
23867 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23869         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23871 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23873         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23874         (__v1longjmp): Remove versioned symbol.
23875         (__v1siglongjmp): Remove alias and versioned symbol.
23876         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23877         (__v2siglongjmp): Likewise.
23879 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23881         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23883 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23885         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23887 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23889         [BZ #17987]
23890         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23891         zero result does not depend on the sign resulting from
23892         subtraction.
23893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23894         Likewise.
23895         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23896         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23897         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23898         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23899         * math/libm-test.inc (remquo_test_data): Add more tests.
23901 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23903         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23904         Problem reported by J William Piggott.
23906 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23908         [BZ #17978]
23909         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23910         products 4 * y and 2 * y where those would overflow.
23911         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23912         Likewise.
23913         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23914         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23915         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23916         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23917         * math/libm-test.inc (remquo_test_data): Add more tests.
23919         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23921         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23922         [defined _COMPILING_NEWLIB].
23923         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23924         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23926         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23927         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23929 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23931         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23932         acquired.
23934 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23936         [BZ #17792]
23937         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23938         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23939         HOST_STACK_END_ADDR): Likewise.
23941 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23943         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23944         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23945         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23947 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23949         * sysdeps/generic/c++-types.data: New file.
23950         * sysdeps/generic/ld.abilist: New file.
23951         * sysdeps/generic/libBrokenLocale.abilist: New file.
23952         * sysdeps/generic/libanl.abilist: New file.
23953         * sysdeps/generic/libc.abilist: New file.
23954         * sysdeps/generic/libcrypt.abilist: New file.
23955         * sysdeps/generic/libdl.abilist: New file.
23956         * sysdeps/generic/libm.abilist: New file.
23957         * sysdeps/generic/libpthread.abilist: New file.
23958         * sysdeps/generic/libresolv.abilist: New file.
23959         * sysdeps/generic/librt.abilist: New file.
23961 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23963         [BZ #17569]
23964         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23965         Compute absolute value of x as modified by fmod, not original
23966         value of x.
23967         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23968         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23969         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23970         RUN_TEST_ffI_f1_mod8.
23971         (remquo_test_data): Add more tests.
23973 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23975         * sysdeps/init_array/pt-crti.S: New file.
23977 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #17967]
23980         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23981         __builtin_fmaf instead of relying on contraction of a * b + c.
23983 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23985         [BZ #17969]
23986         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23987         node.
23989 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23991         [BZ #17964]
23992         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23993         __builtin_fma instead of relying on contraction of a * b + c.
23995 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23997         * Makeconfig (ASFLAGS): Add -Werror=undef.
23998         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23999         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24000         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24002         * Makeconfig (after-link): New variable.
24003         (+link-pie, +link-pie-tests): Use it.
24004         (+link-static, +link-static-tests): Likewise.
24005         (+link, +link-tests): Likewise.
24006         * Makerules (build-module, build-module-asneeded): Likewise.
24007         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24008         Likewise.
24009         * elf/Makefile ($(objpfx)ld.so): Likewise.
24011 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24013         [BZ #17965]
24014         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24015         both struct timeval and struct timespec.
24017 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24019         [BZ #16560]
24020         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24021         and redefine.
24022         (__ieee754_exp2l): Do not multiply small fractional parts by
24023         M_LN2l.
24024         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24025         small argument.
24026         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24027         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24028         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24029         * math/auto-libm-test-in: Add more tests of exp2.
24030         * math/auto-libm-test-out: Regenerated.
24032 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24034         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24035         unaligned path.
24037 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24039         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24040         little endian.
24042 2015-02-12  Andreas Schwab  <schwab@suse.de>
24044         [BZ #15790]
24045         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24046         Filter out elision flags from value returned in kind.
24047         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24048         * nptl/tst-pthread-mutexattr.c: New file.
24050 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24052         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24053         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24054         into gnu-gnu, and update comment to refer to abi-tags.
24056 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24058         [BZ #15467]
24059         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24060         (__sincos): Set errno to EDOM for infinite argument.
24061         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24062         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24063         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24064         (__sincosl): Set errno to EDOM for infinite argument.
24065         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24066         (__sincosl): Set errno to EDOM for infinite argument.
24067         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24068         (__sincosl): Set errno to EDOM for infinite argument.
24069         * math/libm-test.inc (sincos_test_data): Test errno setting.
24071 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24073         * string/strxfrm_l.c: Remove #define STRCMP.
24074         * string/strcoll_l.c: Remove #define STRLEN.
24075         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24076         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24078 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24080         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24081         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24082         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24083         * sysdeps/mips/mips64/Makefile: ... here.
24084         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24085         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24086         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24087         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24088         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24089         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24090         * sysdeps/mips/mips64/n64/Implies: Likewise.
24092 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24094         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24095         <sys/time.h>, <string.h>, and <errno.h>.
24096         (dest_offset, dest_address, value, zero): Remove unused variables.
24097         (ldouble): Remove typedef.
24098         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24099         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24100         1).  Fix code style.
24101         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24102         (check): Function removed.
24103         (CHECK): New macro.
24104         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24105         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24106         Don't call set_sigaction_FP and remove_sigaction_FP here.
24107         (ldouble_test): Just use 'long double' as macro argument, no need for
24108         the 'ldouble' typedef.
24109         (do_test): Set up SIGFPE handler at start, using plain signal rather
24110         than sigaction.  Fix code style.
24112 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24114         [BZ #17949]
24115         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24116         jump label.
24118 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24120         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24121         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24123         * sysdeps/powerpc/configure.ac: Remove file.
24124         * sysdeps/powerpc/configure: Likewise.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24127         [sysdep_routines]: Remove wordcopy-power6 object.
24128         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24129         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24130         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24131         (__memmove_ppc32): Likewise.
24132         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24133         file.
24134         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24136         Remove preprocessor.
24138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24139         [sysdep_routines]: Remove wide chars objects.
24140         [wcsmbs]: New rule for wide char objects.
24142         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24143         Remove wordcopy-power6 obejct.
24144         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24145         Use local call for wordcopy and memcpy symbols.
24146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24148         implementation for loader.
24149         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24151         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24152         Remove wordcopy-power7 object.
24153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24155         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24156         (_wordcopy_fwd_dest_aligned): Likewise.
24157         (_wordcopy_bwd_aligned): Likewise.
24158         (_wordcopy_bwd_dest_aligned): Likewise.
24160         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24161         Rewrite to call __memmove_ppc instead of include default
24162         implementation.
24164         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24165         Remove wide chars objects.
24166         [wcsmbs]: New rule for wide char objects.
24168 2015-02-09  Andreas Schwab  <schwab@suse.de>
24170         [BZ #17912]
24171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24172         in terms of __O_DIRECTORY.
24174 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24176         * time/getdate.c: Include <stdbool.h>.
24177         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24178         call PTR_MANGLE.
24179         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24180         PTR_DEMANGLE.
24182 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24184         Add ersatz _Static_assert on older C hosts
24185         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24186         pre-C11 C platform that is not known to support _Static_assert.
24188 2015-02-07  Richard Braun  <rbraun@sceen.net>
24190         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24191         sigstate.
24192         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24194 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24196         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24197         priority against unexistent AIO_PRIO_DELTA_MAX.
24198         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24199         instead of int.
24200         * misc/fchflags.c (fchflags): Likewise.
24201         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24202         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24203         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24204         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24205         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24206         Declare macros.
24207         [__USE_MISC] (chflags, fchflags): Declare functions.
24208         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24209         EINVAL when nfds is greater than FD_SETSIZE.
24210         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24211         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24212         45.
24213         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24214         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24215         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24216         MACH_RCV_TIMED_OUT.
24217         * hurd/hurd/signal.h (_hurd_self_sigstate,
24218         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24219         Explicit casts from void *.
24220         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24221         * abi-tags: Rename gnu-gnu os into gnu.
24223         [BZ #4719]
24224         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24225         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24226         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24227         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24228         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24229         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24231         [BZ #17944]
24232         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24233         duplicates ADDR->sun_path with sockaddr LEN limitation.
24234         * sysdeps/mach/hurd/connect.c: Include <string.h>
24235         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24236         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24237         * sysdeps/mach/hurd/sendto.c: Likewise.
24238         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24239         implementing it by hand.
24241 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24243         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24244         Use sfi_breg on ldr.
24245         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24246         Likewise.
24248         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24249         it's defined.
24250         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24251         Test SIGSETXID only if it's defined.
24253         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24255         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24256         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24258         * nptl/tst-align2.c: Moved ...
24259         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24260         * nptl/Makefile (tests): Remove tst-align2.
24261         * sysdeps/unix/sysv/linux/Makefile
24262         [$(subdir) = nptl] (tests): Add tst-align-clone.
24263         * nptl/tst-getpid1.c: Moved ...
24264         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24265         * nptl/tst-getpid2.c: Moved ...
24266         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24267         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24268         * sysdeps/unix/sysv/linux/Makefile
24269         [$(subdir) = nptl] (tests): ... here.
24270         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24271         * sysdeps/unix/sysv/linux/Makefile
24272         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24274         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24275         Drop trailing \n from perror argument.  Use return rather than exit.
24277         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24278         on [SA_SIGINFO].
24279         * nptl/tst-cancel21.c (do_test): Likewise.
24280         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24281         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24282         [!SA_SIGINFO]: Make it a stub test.
24284         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24285         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24287         * posix/tst-getlogin.c: Move to ...
24288         * login/tst-getlogin.c: ... here.
24289         * posix/Makefile (tests): Move tst-getlogin to ...
24290         * login/Makefile (tests): ... here.
24292         * libio/tst-atime.c (do_test): Move local variables SV and E
24293         inside [ST_NOATIME] conditional.
24295         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24297         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24299         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24300         (wait_code): New function replaces macro.
24301         Call nanosleep rather than syscall.
24303         * nptl/pt-system.c: Rewritten.  Put everything under
24304         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24305         Use IFUNC to redirect when possible.
24307         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24308         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24309         Use IFUNC to redirect when possible.
24311         * nptl/pt-fork.c: Rewritten.  Put everything under
24312         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24313         Use IFUNC to redirect when possible.
24314         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24316         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24317         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24318         unconditionally nowadays.  This included the only reference to
24319         __vdso_clock_gettime that appears outside libc proper.
24320         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24321         Remove version set (containing only __vdso_clock_gettime).
24322         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24323         Add attribute_hidden.
24324         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24325         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24326         libc_hidden_data_def.
24327         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24330         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24331         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24332         setrpcent, and getrpcport to ...
24333         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24334         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24335         getrpcbynumber_r, and getrpcent_r to ...
24336         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24337         * inet/getrpcbyname.c: Moved ...
24338         * sunrpc/getrpcbyname.c: ... here.
24339         * inet/getrpcbyname_r.c: Moved ...
24340         * sunrpc/getrpcbyname_r.c: ... here.
24341         * inet/getrpcbynumber.c: Moved ...
24342         * sunrpc/getrpcbynumber.c: ... here.
24343         * inet/getrpcbynumber_r.c: Moved ...
24344         * sunrpc/getrpcbynumber_r.c: ... here.
24345         * inet/getrpcent.c: Moved ...
24346         * sunrpc/getrpcent.c: ... here.
24347         * inet/getrpcent_r.c: Moved ...
24348         * sunrpc/getrpcent_r.c: ... here.
24349         * inet/Makefile (routines): Move those to ...
24350         * sunrpc/Makefile (routines): ... here.
24351         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24352         the $(subdirs) list.
24353         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24354         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24355         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24356         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24358         * elf/Makefile (routines): Include $(all-dl-routines), not just
24359         $(dl-routines).
24360         (rtld-routines): Likewise.  Use = rather than :=.
24361         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24362         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24363         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24364         * sysdeps/arm/Makefile: Likewise.
24365         * sysdeps/i386/Makefile: Likewise.
24366         * sysdeps/x86_64/Makefile: Likewise.
24367         * sysdeps/hppa/Makefile [$(subdir) = elf]
24368         (sysdep_routines, sysdep-rtld-routines): Don't add
24369         $(sysdep-dl-routines) to these.
24370         * sysdeps/ia64/Makefile: Likewise.
24371         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24372         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24373         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24374         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24375         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24376         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24377         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24378         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24379         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24380         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24381         these; sysdep-dl-routines alone is enough.
24383 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24385         [BZ #17932]
24386         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24387         where multiplication results in zero and third argument is finite
24388         and nonzero.
24389         * math/auto-libm-test-in: Add more tests of fma.
24390         * math/auto-libm-test-out: Regenerated.
24392         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24393         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24394         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24395         (_FP_CMP_EQ): Likewise.
24396         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24398         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24399         extra argument CHECK_NAN.  Redefine as wrapper around
24400         _FP_EXTEND_CNAN.
24402 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24404         * version.h (RELEASE): Set to "stable".
24405         (VERSION): Set to "2.21"
24406         * include/features.h (__GLIBC_MINOR__): Set to 21.
24408         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24410 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24411             Paul Eggert  <eggert@cs.ucla.edu>
24413         [BZ #16618]
24414         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24415         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24416         size in bytes. Store needed elements in wpmax. Use needed size
24417         in bytes for extend_alloca.
24419 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24421         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24422         binutls 2.25, and texinfo 5.2.
24423         * INSTALL: Regenerate.
24424         * sysdeps/nios2/configure: Regenerate.
24425         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24426         * manual/contrib.texi: Update.
24427         * po/be.po: Update.
24428         * po/bg.po: Update.
24429         * po/ca.po: Update.
24430         * po/cs.po: Update.
24431         * po/da.po: Update.
24432         * po/de.po: Update.
24433         * po/el.po: Update.
24434         * po/eo.po: Update.
24435         * po/es.po: Update.
24436         * po/fi.po: Update.
24437         * po/fr.po: Update.
24438         * po/gl.po: Update.
24439         * po/hr.po: Update.
24440         * po/hu.po: Update.
24441         * po/ia.po: Update.
24442         * po/id.po: Update.
24443         * po/it.po: Update.
24444         * po/ja.po: Update.
24445         * po/ko.po: Update.
24446         * po/lt.po: Update.
24447         * po/nb.po: Update.
24448         * po/nl.po: Update.
24449         * po/pl.po: Update.
24450         * po/pt_BR.po: Update.
24451         * po/ru.po: Update.
24452         * po/rw.po: Update.
24453         * po/sk.po: Update.
24454         * po/sl.po: Update.
24455         * po/sv.po: Update.
24456         * po/tr.po: Update.
24457         * po/uk.po: Update.
24458         * po/vi.po: Update.
24459         * po/zh_CN.po: Update.
24460         * po/zh_TW.po: Update.
24462         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24463         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24464         * sysdeps/hppa/dl-irel.h: Remove #warning.
24465         * sysdeps/hppa/entry.h: Provide prototype for
24466         __canonicalize_funcptr_for_compare and cast argument.
24467         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24468         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24469         * sysdeps/hppa/sotruss-lib.c: New file.
24470         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24471         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24472         (atomic_compare_and_exchange_bool_acq): Likewise.
24473         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24474         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24476         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24477         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24478         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24480 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24482         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24483         called function in non-PIC case.
24485 2015-01-31  David S. Miller  <davem@davemloft.net>
24487         * sysdeps/sparc/sparc32/bits/atomic.h
24488         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24489         unlock not after it.
24490         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24491         volatile register usage warnings from the compiler.
24493         * sysdeps/sparc/nptl/sem_init.c: Delete.
24494         * sysdeps/sparc/nptl/sem_post.c: Delete.
24495         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24496         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24497         * sysdeps/sparc/sparc32/sem_init.c: New file.
24498         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24499         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24500         padding explicitly initialized.
24501         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24502         padding for in-semaphore spinlock.
24503         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24504         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24505         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24506         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24507         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24508         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24509         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24510         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24511         version.
24512         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24513         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24515 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24517         [BZ #17801]
24518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24519         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24520         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24521         New.
24522         (index_AVX_Fast_Unaligned_Load): Likewise.
24523         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24524         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24525         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24526         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24527         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24528         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24529         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24530         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24531         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24533 2015-01-29  Andreas Schwab  <schwab@suse.de>
24535         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24537 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24539         [BZ #17892]
24540         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24542 2015-01-28  Martin Sebor  <msebor@redhat.com>
24544         * math/README.libm-test: Clarify. Add "How to read the test output."
24546 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24548         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24549         Define to 0.
24551 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24553         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24554         (__HAVE_64B_ATOMICS): Define to 0.
24556 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24558         [BZ #17885]
24559         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24560         value to set as new flag.
24562         [BZ #16576]
24563         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24564         and use _ARCH_PPCSQ instead.
24565         (__ieee754_sqrt): Likewise.
24566         (__ieee754_sqrtf): Likewise.
24567         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24568         _ARCH_PPCSQ is defined.
24569         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24570         fsqrt instruction.
24571         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24572         _ARCH_PPCSQ is defined.
24573         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24574         fsqrts instruction.
24575         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24577 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24579         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24580         bug (GCC BZ #64739).
24582 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24584         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24585         Mark _retval as used.
24586         (lll_futex_wake_unlock): Likewise.
24587         (lll_futex_timed_wait_requeue_pi): Likewise.
24589         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24590         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24591         register variables.
24593         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24594         libm_hidden_def.
24596         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24597         (__bswap_64): Mark as __always_inline.
24599 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24601         [BZ #15378]
24602         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24603         when none of the search directories exist.
24605 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24607         [BZ #17869]
24608         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24609         power8 in .machine directive.
24611         [BZ #17868]
24612         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24613         set dependency from opd value.
24615 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24618         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24619         architecture.
24621 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24623         [BZ #17870]
24624         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24625         with uint64_t.
24626         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24627         (uint64_t) 1.
24628         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24629         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24630         Replace 1UL with (uint64_t) 1.
24631         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24632         int with uint64_t.
24634 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24636         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24637         (if_freenameindex): Likewise.
24639         * resource/getrlimit64.c: Add missing libc_hidden_def.
24641 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24643         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24644         __label__.
24645         (_FP_FMA): Likewise.
24646         (_FP_TO_INT_ROUND): Likewise.
24647         (_FP_FROM_INT): Likewise.
24649 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24651         [BZ #16418]
24652         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24653         Make code racy and cancel safe.
24655 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24657         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24658         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24659         attribution.
24661         * pwd/tst-getpw.c: Rewrite.
24663         [BZ #17702]
24664         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24665         (modules-names): Add moddummy1 and moddummy2.
24666         ($(objpfx)tst-rec-dlopen): Define.
24667         * dlfcn/moddummy1.c: New file.
24668         * dlfcn/moddummy2.c: New file.
24669         * dlfcn/tst-rec-dlopen.c: New file.
24670         * elf/dl-cache.c (_dl_load_cache_lookup):
24671         Return char*. Copy result with alloca/strcpy/strdup.
24672         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24673         returns char*. Free cached. If not saving realname
24674         free cached.
24675         * elf/dl-open.c (dl_open_worker): Do not assert that
24676         _r_debug->r_state is RT_CONSISTENT.
24677         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24678         returns char*.
24680 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24681             Carlos O'Donell  <carlos@redhat.com>
24683         [BZ #12674]
24684         * nptl/sem_waitcommon.c: New file.
24685         * nptl/sem_wait.c: Include sem_waitcommon.c.
24686         (__sem_wait_cleanup, do_futex_wait): Remove.
24687         (__new_sem_wait): Adapt.
24688         (__new_sem_trywait): New function.
24689         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24690         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24691         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24692         (sem_timedwait): Adapt.
24693         * nptl/sem_post.c (__new_sem_post): Adapt.
24694         (futex_wake): New function.
24695         (__old_sem_post): Add release MO fence.
24696         * nptl/sem_open.c (sem_open): Adapt.
24697         * nptl/sem_init.c (__new_sem_init): Adapt.
24698         (futex_private_if_supported): New function.
24699         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24700         (__old_sem_getvalue): Add using previous code.
24701         * sysdeps/nptl/internaltypes.h: Adapt.
24702         * nptl/tst-sem13.c (do_test): Adapt.
24703         * nptl/tst-sem11.c (main): Adapt.
24704         * nptl/sem_trywait.c: Remove.
24705         * nptl/DESIGN-sem.txt: Remove.
24706         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24707         (gen-as-const-headers): Remove structsem.sym.
24708         * nptl/structsem.sym: Remove.
24709         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24710         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24711         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24712         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24713         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24714         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24715         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24716         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24717         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24718         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24719         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24720         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24721         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24722         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24723         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24724         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24725         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24726         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24727         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24728         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24729         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24730         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24732 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24734         * INSTALL: Regenerated.
24736         * po/libc.pot: Regenerated.
24738 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24739             Sandra Loosemore  <sandra@codesourcery.com>
24740             Andrew Jenner  <andrew@codesourcery.com>
24741             Joseph Myers  <joseph@codesourcery.com>
24742             Nathan Sidwell  <nathan@codesourcery.com>
24744         * NEWS: Mention new Nios II port.
24745         * sysdeps/nios2/Implies: New file.
24746         * sysdeps/nios2/Makefile: New file.
24747         * sysdeps/nios2/Subdirs: New file.
24748         * sysdeps/nios2/Versions: New file.
24749         * sysdeps/nios2/__longjmp.S: New file.
24750         * sysdeps/nios2/abort-instr.h: New file.
24751         * sysdeps/nios2/backtrace.c: New file.
24752         * sysdeps/nios2/bits/endian.h: New file.
24753         * sysdeps/nios2/bits/fenv.h: New file.
24754         * sysdeps/nios2/bits/link.h: New file.
24755         * sysdeps/nios2/bits/setjmp.h: New file.
24756         * sysdeps/nios2/bsd-_setjmp.S: New file.
24757         * sysdeps/nios2/bsd-setjmp.S: New file.
24758         * sysdeps/nios2/configure: New generated file.
24759         * sysdeps/nios2/configure.ac: New file.
24760         * sysdeps/nios2/crti.S: New file.
24761         * sysdeps/nios2/crtn.S: New file.
24762         * sysdeps/nios2/dl-init.c: New file.
24763         * sysdeps/nios2/dl-machine.h: New file.
24764         * sysdeps/nios2/dl-sysdep.h: New file.
24765         * sysdeps/nios2/dl-tls.h: New file.
24766         * sysdeps/nios2/dl-trampoline.S: New file.
24767         * sysdeps/nios2/gccframe.h: New file.
24768         * sysdeps/nios2/gmp-mparam.h: New file.
24769         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24770         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24771         * sysdeps/nios2/ldsodefs.h: New file.
24772         * sysdeps/nios2/libc-tls.c: New file.
24773         * sysdeps/nios2/libm-test-ulps: New file.
24774         * sysdeps/nios2/machine-gmon.h: New file.
24775         * sysdeps/nios2/math-tests.h: New file.
24776         * sysdeps/nios2/math_private.h: New file.
24777         * sysdeps/nios2/memusage.h: New file.
24778         * sysdeps/nios2/nptl/Makefile: New file.
24779         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24780         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24781         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24782         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24783         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24784         * sysdeps/nios2/nptl/tls.h: New file.
24785         * sysdeps/nios2/preconfigure: New file.
24786         * sysdeps/nios2/s_fma.c: New file.
24787         * sysdeps/nios2/s_fmaf.c: New file.
24788         * sysdeps/nios2/setjmp.S: New file.
24789         * sysdeps/nios2/sfp-machine.h: New file.
24790         * sysdeps/nios2/sotruss-lib.c: New file.
24791         * sysdeps/nios2/stackguard-macros.h: New file.
24792         * sysdeps/nios2/stackinfo.h: New file.
24793         * sysdeps/nios2/start.S: New file.
24794         * sysdeps/nios2/sysdep.h: New file.
24795         * sysdeps/nios2/tls-macros.h: New file.
24796         * sysdeps/nios2/tst-audit.h: New file.
24797         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24798         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24799         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24800         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24801         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24802         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24803         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24804         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24805         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24806         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24807         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24808         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24809         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24810         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24811         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24812         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24813         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24814         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24815         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24816         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24817         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24818         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24819         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24820         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24821         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24822         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24823         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24824         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24825         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24826         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24827         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24828         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24829         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24830         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24831         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24832         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24833         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24834         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24835         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24836         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24837         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24838         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24839         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24840         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24842 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24844         [BZ #17844]
24845         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24846         (getutent): Use weak_alias in non SHARED case
24847         and default_symbol_version in SHARED case.
24848         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24849         (getutent_r, pututline): Likewise.
24850         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24851         (getutid): Likewise.
24852         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24853         (getutid_r): Likewise.
24854         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24855         (getutline): Likewise.
24856         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24857         (getutline_r): Likewise.
24858         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24859         (updwtmp): Likewise.
24861 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24863         [BZ #17848]
24864         * sysdeps/s390/s390-32/memcmp.S
24865         (memcmp_g5): Rename to __memcmp_g5.
24866         * sysdeps/s390/s390-32/memcpy.S
24867         (memcpy_g5): Rename to __memcpy_g5.
24868         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24869         (memcpy_mvcle) Rename to __memcpy_mvcle.
24870         * sysdeps/s390/s390-32/memset.S
24871         (memset_g5): Rename to __memset_g5.
24872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24873         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24874         and use prefixed functions.
24875         * sysdeps/s390/s390-32/multiarch/memcmp.S
24876         (memcmp_z196): Rename to __memcmp_z196.
24877         (memcmp_z10): Rename to __memcmp_z10.
24878         (memcmp): Set alias to __memcmp_g5.
24879         (bcmp): Set alias to __memcmp_g5.
24880         * sysdeps/s390/s390-32/multiarch/memcpy.S
24881         (memcpy_z196): Rename to __memcpy_z196.
24882         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24883         (memcpy_z10): Rename to __memcpy_z10.
24884         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24885         (memcpy): Set alias to __memcpy_g5.
24886         * sysdeps/s390/s390-32/multiarch/memset.S
24887         (memset_z196): Rename to __memset_z196.
24888         Jump to __memset_mvcle instead of memset_mvcle.
24889         (memset_z10): Rename to __memset_z10.
24890         Jump to __memset_mvcle instead of memset_mvcle.
24891         (memset_mvcle) Rename to __memset_mvcle.
24892         (memset): Set alias to __memset_g5.
24893         * sysdeps/s390/s390-64/memcmp.S
24894         (memcmp_z900): Rename to __memcmp_z900.
24895         * sysdeps/s390/s390-64/memcpy.S
24896         (memcpy_z900): Rename to __memcpy_z900.
24897         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24898         (memcpy_mvcle) Rename to __memcpy_mvcle.
24899         * sysdeps/s390/s390-64/memset.S
24900         (memset_z900): Rename to __memset_z900.
24901         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24902         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24903         and use prefixed functions.
24904         * sysdeps/s390/s390-64/multiarch/memcmp.S
24905         (memcmp_z196): Rename to __memcmp_z196.
24906         (memcmp_z10): Rename to __memcmp_z10.
24907         (memcmp): Set alias to __memcmp_z900.
24908         (bcmp): Set alias to __memcmp_z900.
24909         * sysdeps/s390/s390-64/multiarch/memcpy.S
24910         (memcpy_z196): Rename to __memcpy_z196.
24911         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24912         (memcpy_z10): Rename to __memcpy_z10.
24913         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24914         (memcpy): Set alias to __memcpy_z900.
24915         * sysdeps/s390/s390-64/multiarch/memset.S
24916         (memset_z196): Rename to __memset_z196.
24917         Jump to __memset_mvcle instead of memset_mvcle.
24918         (memset_z10): Rename to __memset_z10.
24919         Jump to __memset_mvcle instead of memset_mvcle.
24920         (memset_mvcle) Rename to __memset_mvcle.
24921         (memset): Set alias to __memset_z900.
24923 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24925         [BZ #17748]
24926         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24927         __fesetenv instead of fesetenv.
24929 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24931         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24932         macro.
24934 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24936         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24937         regression on LE.
24939         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24940         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24941         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24942         strncmp-power8 object.
24943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24944         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24945         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24946         * NEWS: Update.
24948 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24949             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24951         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24952         trailing byte check.
24954 2015-01-13  David S. Miller  <davem@davemloft.net>
24956         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24958 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24960         * login/logout.c (logout): Use memset rather than bzero.
24961         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24962         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24963         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24964         (_gethtbyaddr): Likewise.
24965         * locale/programs/simple-hash.c (bcopy): Macro removed.
24967 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24969         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24970         Add strcmp-power8 object.
24971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24972         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24973         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24974         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24975         __strcmp_power8 implementation.
24976         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24977         * NEWS: Update.
24979         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24980         Add strncpy-power8 and stpncpy-power8 objects.
24981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24982         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24983         implementations.
24984         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24985         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24986         __stpncpy_power8 implementation.
24987         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24988         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24989         __strncpy_power8 implementation.
24990         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24991         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24992         * NEWS: Update.
24994         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24995         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24996         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24999         strncat-power8 object.
25000         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25001         __strcat_power8 implementation.
25002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25003         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25004         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25005         optimized strcat for power8.
25007         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25008         strcpy-power8 and stpcpy-power8 objects.
25009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25010         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25011         implementations.
25012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25013         multiarch stpcpy implementation for POWER8.
25014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25015         multiarch strcpy implementation for POWER8.
25016         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25017         __strcpy_power8 function.
25018         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25019         stpcpy for POWER8.
25020         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25021         strcpy for POWER8.
25022         * NEWS: Update.
25024 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25026         [BZ #16009]
25027         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25028         weights and rules. Use do_xfrm_cached if data fits in cache,
25029         do_xfrm otherwise.  Moved former main loop to...
25030         * (do_xfrm_cached): New function.
25031         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25032         find_idx, find_position and stack_push.
25033         * (find_idx): New function.
25034         * (find_position): Likewise.
25035         * localedata/sort-test.sh: Added test run for do_xfrm.
25036         * localedata/xfrm-test.c (main): Added command line option
25037         -nocache to run the test with strings that are too large for
25038         the STRXFRM cache.
25040 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25042         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25043         variable to lll_futex_wake call, not the value itself.
25045 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25047         [BZ #17803]
25048         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25049         twom64.  Adjust value to 0x1p-64L.
25050         (__scalblnl): Only return standard underflowing result for K <=
25051         -64 not K <= -63; adjust exponent for underflowing result by 64
25052         not 63.
25053         * math/libm-test.inc (scalbn_test_data): Add more tests.
25054         (scalbln_test_data): Likewise.
25056         [BZ #17834]
25057         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25058         0x1p63L.
25059         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25060         not HX.
25061         * math/libm-test.inc (scalbn_test_data): Add more tests.
25062         (scalbln_test_data): Likewise.
25064 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25065             Stefani Seibold  <stefani@seibold.net>
25067         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25068         (sysdep_routines): Add dl-vdso here, ...
25069         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25070         (sysdep_routines): ... not here.
25071         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25072         fallback when vDSO is not presented.
25073         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25074         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25075         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25076         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25077         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25078         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25079         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25080         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25081         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25083         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25084         fallback configurable symbol when vDSO is not available.
25085         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25086         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25087         be able to redefine fallback symbol when vDSO is not available.
25088         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25089         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25091 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25093         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25094         (TLS_INIT_TP): Add tm_capable initialization.
25095         (TLS_DEFINE_INIT_TP): Likewise.
25096         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25097         TCB.
25098         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25099         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25100         calculation.
25101         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25102         transactoion is lock elision is built and TCB tm_capable is set.
25103         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25105         (INTERNAL_SYSCALL_NCS): Likewise.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25107         (INTERNAL_SYSCALL_NCS): Likewise.
25108         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25110         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25111         for powerpc.
25112         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25113         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25114         and remove it for 32 bits case.
25115         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25117         initialization.
25118         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25119         Disable lock elision with rdlocks if elision is not available.
25121         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25122         (sysdep_routines): Add lock elision objects.
25123         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25124         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25125         [pthread_mutex_t] (__elision): Add field.
25126         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25127         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25128         elision definitions for powerpc.
25129         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25130         implementation of lock elision for powerpc.
25131         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25132         implementation of timed lock elision for powerpc.
25133         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25134         implementation of trylock with lock elision for powerpc.
25135         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25136         implementaion of unlock for lock elision for powerpc.
25137         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25138         automatic enable lock elision for mutexes.
25139         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25140         transaction execution definitions for powerpc.
25141         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25142         definitions.
25143         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25144         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25145         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25146         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25147         * NEWS: Update.
25149 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25151         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25152         for #include of <shm-directory.h>.
25154 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25156         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25157         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25159 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25161         [BZ #17791]
25162         * NEWS: Mention bug fix.
25163         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25164         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25165         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25167 2015-01-09  Torvald Riegel <triegel@redhat.com>
25169         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25171 2015-01-09  Torvald Riegel <triegel@redhat.com>
25173         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25175 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25177         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25178         pointer and cast to uintptr_t.
25180 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25182         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25183         removed.
25184         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25186 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25188         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25189         of 0.
25191 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25193         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25194         <nptl/pthreadP.h> instead.
25195         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25197         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25198         already defined.
25199         [__SIGRTMIN] (init): Function removed.
25200         [__SIGRTMIN] (initialized): Variable removed.
25201         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25202         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25203         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25204         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25205         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25206         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25207         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25208         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25209         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25210         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25211         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25212         * sysdeps/nptl/allocrtsig.c: New file.
25213         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25214         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25215         * sysdeps/generic/testrtsig.h: File removed.
25217         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25218         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25220         * nptl/nptl-init.c (pthread_functions): Conditionalize
25221         .ptr__nptl_setxid initialization on [SIGSETXID].
25223         * sysdeps/nptl/sys/procfs.h: New file.
25224         * nptl_db/Makefile (headers): Add it.
25225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25227         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25228         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25229         * nptl/pthread_attr_setaffinity.c: Include it.
25230         * nptl/pthread_setattr_default_np.c: Likewise.
25231         * nptl/check-cpuset.h: New file.
25233 2015-01-08  Richard Henderson  <rth@redhat.com>
25235         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25236         (CFLAGS-tst-execstack-prog.c): Likewise.
25237         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25239 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25240             Sandra Loosemore  <sandra@codesourcery.com>
25241             Andrew Jenner  <andrew@codesourcery.com>
25242             Joseph Myers  <joseph@codesourcery.com>
25243             Nathan Sidwell  <nathan@codesourcery.com>
25245         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25246         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25247         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25248         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25249         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25250         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25251         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25252         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25253         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25254         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25255         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25256         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25257         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25258         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25259         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25260         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25261         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25263 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25265         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25266         timespec struct member in syscall macro.
25267         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25268         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25269         first timeval struct member in syscall macro.
25270         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25272 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25274         [BZ #17748]
25275         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25276         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25277         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25278         __feupdateenv and define as weak alias of __feupdateenv.  Use
25279         libm_hidden_weak.
25280         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25281         libm_hidden_def.
25282         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25283         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25284         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25285         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25286         libm_hidden_def.
25287         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25288         __feupdateenv and define as weak alias of __feupdateenv.  Use
25289         libm_hidden_weak.
25290         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25291         libm_hidden_def.
25292         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25293         __feupdateenv and define as weak alias of __feupdateenv.  Use
25294         libm_hidden_weak.
25295         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25296         libm_hidden_def.
25297         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25298         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25299         (__feupdateenv): Likewise.
25300         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25301         __feupdateenv and define as weak alias of __feupdateenv.  Use
25302         libm_hidden_weak.
25303         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25304         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25305         libm_hidden_def.
25306         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25307         function.
25308         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25309         libm_hidden_def.
25310         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25311         __feupdateenv instead of feupdateenv.
25312         (default_libc_feupdateenv_test): Likewise.
25313         (libc_feresetround_ctx): Likewise.
25315 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25317         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25318         prototype.
25320 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25322         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25323         COLL_SYM in a couple of places to avoid uninitialized variable
25324         wanings on tilegx gcc 4.8.2.
25326 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25328         * sysdeps/aarch64/strcpy.S: New file.
25329         * sysdeps/aarch64/stpcpy.S: New file.
25330         * NEWS: Updated.
25332 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25334         * sysdeps/aarch64/strrchr.S: New file.
25335         * NEWS: Updated.
25337 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25339         [BZ #17658]
25340         * stdlib/setenv.c: Fix memory leak when setting large,
25341         duplicate string.
25343 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25345         [BZ #17273]
25346         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25347         and tabs from buffer before parsing fstab entry.
25348         * misc/tst-mntent.c (main): Add test for mount entry with
25349         trailing spaces and tabs.
25351 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25353         [BZ #17748]
25354         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25355         * math/fesetround.c (fesetround): Rename to __fesetround and
25356         define as weak alias of __fesetround.  Use libm_hidden_weak.
25357         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25358         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25359         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25360         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25361         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25362         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25363         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25364         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25365         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25366         __fesetround_inline.
25367         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25368         __fesetround_inline instead of __fesetround.
25369         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25370         __fesetround and define as weak alias of __fesetround.  Use
25371         libm_hidden_weak.  Call __fesetround_inline instead of
25372         __fesetround.
25373         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25374         __fesetround and define as weak alias of __fesetround.  Use
25375         libm_hidden_weak.
25376         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25377         Likewise.
25378         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25379         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25380         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25381         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25382         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25383         __fesetround and define as weak alias of __fesetround.  Use
25384         libm_hidden_weak.
25385         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25386         __fesetround instead of fesetround.
25387         (default_libc_feholdexcept_setround): Likewise.
25388         (libc_feholdsetround_ctx): Likewise.
25389         (libc_feholdsetround_noex_ctx): Likewise.
25391         [BZ #17748]
25392         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25393         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25394         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25395         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25396         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25397         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25398         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25399         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25400         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25401         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25402         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25403         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25404         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25405         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25406         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25407         libm_hidden_def.
25408         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25409         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25410         Likewise.
25411         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25412         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25413         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25414         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25415         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25416         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25417         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25418         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25419         __fesetenv instead of fesetenv.
25420         (libc_feresetround_noex_ctx): Likewise.
25421         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25422         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25423         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25424         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25425         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25426         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25427         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25428         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25429         (__feupdateenv): Likewise.
25430         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25431         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25432         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25433         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25435 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25437         [BZ #17806]
25438         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25439         addresses have been freed.
25441 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25443         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25444         and nservall.
25446 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25448         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25449         Clean up check_pf allocation pattern. addresses
25451 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25453         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25454         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25455         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25456         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25457         * nptl/pthread_join.c (pthread_join): Likewise.
25458         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25459         * sysdeps/posix/waitid.c (__waitid): Likewise.
25460         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25461         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25462         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25463         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25465         Likewise.
25466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25467         (__libc_pread64): Likewise.
25468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25469         (__libc_pwrite): Likewise.
25470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25471         (__libc_pwrite64): Likewsie.
25472         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25473         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25474         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25475         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25476         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25477         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25478         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25480         Likewise.
25481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25482         (__libc_pread64): Likewise.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25484         Likewise.
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25486         (__libc_pwrite64): Likewise.
25487         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25488         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25489         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25490         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25491         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25492         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25493         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25494         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25495         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25496         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25497         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25498         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25499         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25500         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25501         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25502         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25503         Likewise.
25505 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25507         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25508         (CFLAGS-test-double.c): Likewise.
25509         (CFLAGS-test-ldouble.c): Likewise.
25510         (CPPFLAGS-test-ifloat.c): Likewise.
25511         (CPPFLAGS-test-idouble.c): Likewise.
25512         (CPPFLAGS-test-ildoubl.c): Likewise.
25513         (CFLAGS-test-test-fenv.c): Remove variable.
25514         (CFLAGS-test-misc.c): Likewise.
25516 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25518         [BZ #17797]
25519         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25520         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25521         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25522         CLOCKS_PER_SEC == 1000000.
25523         * time/clocktest.c (main): Replace %ld with %jd and cast to
25524         intmax_t.
25526 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25528         * sysdeps/generic/unwind-resume.h: New file.
25529         * sysdeps/gnu/unwind-resume.c: Include it.
25530         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25531         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25532         argument list.
25533         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25534         global rather than static.
25535         (_Unwind_Resume): Update user.
25536         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25537         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25538         rather than static.  Add __attribute__ ((cold)).
25539         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25540         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25541         * sysdeps/arm/arm-unwind-resume.S: New file.
25542         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25543         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25544         * sysdeps/arm/Makefile [$(subdir) = csu]
25545         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25546         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25547         Add rt-arm-unwind-resume.
25548         [$(subdir) = nptl]
25549         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25550         Add pt-arm-unwind-resume.
25551         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25552         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25554 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25556         [BZ #17748]
25557         * include/fenv.h (__feholdexcept): Declare.  Use
25558         libm_hidden_proto.
25559         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25560         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25561         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25562         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25563         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25564         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25565         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25566         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25567         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25568         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25569         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25570         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25571         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25572         (feholdexcept): Likewise.
25573         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25574         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25575         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25576         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25577         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25578         __feholdexcept instead of feholdexcept.
25579         (default_libc_feholdexcept_setround): Likewise.
25581 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25583         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25584         to avoid using stl/str to align destination.
25586 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25588         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25590 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25592         [BZ #17796]
25593         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25594         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25595         Define as weak alias not strong alias.
25597 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25599         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25600         bltzal with addiupc.
25601         (RTLD_START): Ditto.
25603 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25605         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25606         for __vdso_* functions in declarations.
25607         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25608         definitions.
25609         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25610         INTERNAL_VSYSCALL): Use struct return types to check for error.
25612         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25613         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25614         function with cast from llround().
25615         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25616         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25617         Define.
25619 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25621         [BZ #17793]
25622         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25623         Define as weak alias not strong alias.
25625         [BZ #17635]
25626         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25627         ...
25628         * ctype/ctype-extn.c: ... here.
25629         (__isblank_l): Move to ...
25630         * ctype/ctype-c99_l.c: ... here.  New file.
25631         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25632         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25633         Remove variable.
25634         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25635         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25636         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25637         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25638         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25640         [BZ #17777]
25641         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25642         (posix_fadvise64): Define as weak alias not strong alias.
25643         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25644         (posix_fallocate64): Likewise.
25645         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25646         Remove variable.
25647         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25648         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25649         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25650         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25651         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25653 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25655         [BZ #16191]
25656         * NEWS: Mention bug fix.
25657         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25658         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25659         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25660         (HOST_STACK_END_ADDR): Likewise.
25662 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25664         [BZ #17748]
25665         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25666         * math/fegetround.c (fegetround): Rename to __fegetround and
25667         define as weak alias of __fegetround.  Use libm_hidden_weak.
25668         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25669         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25670         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25671         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25672         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25673         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25674         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25675         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25676         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25677         Undefine after rather than before function definition; use
25678         parentheses around function name in definition.
25679         (__fegetround): Also undefine macro after function definition.
25680         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25681         __fegetround and define as weak alias of __fegetround.  Use
25682         libm_hidden_weak.  Do not undefine as macro.
25683         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25684         Likewise.
25685         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25686         __fegetround and define as weak alias of __fegetround.  Use
25687         libm_hidden_weak.
25688         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25689         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25690         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25691         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25692         __fegetround and define as weak alias of __fegetround.  Use
25693         libm_hidden_weak.
25694         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25695         __fegetround instead of fegetround.
25697         [BZ #17782]
25698         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25699         Condition macro definition on [__USE_MISC].
25701         [BZ #17781]
25702         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25703         (struct sigaction): Change type of sa_flags field to int.
25705         [BZ #17780]
25706         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25707         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25708         __glibc_reserved0.
25710         * nptl/version.c (banner): Use single year in copyright notice.
25712         * NEWS: Update copyright dates.
25713         * catgets/gencat.c (print_version): Likewise.
25714         * csu/version.c (banner): Likewise.
25715         * debug/catchsegv.sh: Likewise.
25716         * debug/pcprofiledump.c (print_version): Likewise.
25717         * debug/xtrace.sh (do_version): Likewise.
25718         * elf/ldconfig.c (print_version): Likewise.
25719         * elf/ldd.bash.in: Likewise.
25720         * elf/pldd.c (print_version): Likewise.
25721         * elf/sotruss.sh: Likewise.
25722         * elf/sprof.c (print_version): Likewise.
25723         * iconv/iconv_prog.c (print_version): Likewise.
25724         * iconv/iconvconfig.c (print_version): Likewise.
25725         * locale/programs/locale.c (print_version): Likewise.
25726         * locale/programs/localedef.c (print_version): Likewise.
25727         * login/programs/pt_chown.c (print_version): Likewise.
25728         * malloc/memusage.sh (do_version): Likewise.
25729         * malloc/memusagestat.c (print_version): Likewise.
25730         * malloc/mtrace.pl: Likewise.
25731         * manual/libc.texinfo: Likewise.
25732         * nptl/version.c (banner): Likewise.
25733         * nscd/nscd.c (print_version): Likewise.
25734         * nss/getent.c (print_version): Likewise.
25735         * nss/makedb.c (print_version): Likewise.
25736         * posix/getconf.c (main): Likewise.
25737         * scripts/test-installation.pl: Likewise.
25738         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25740 2015-01-02  Will Newton  <will.newton@linaro.org>
25742         * sysdeps/arm/armv7/configure: Removed.
25743         * sysdeps/arm/armv7/configure.ac: Likewise.
25745 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25747         * All files with FSF copyright notices: Update copyright dates
25748         using scripts/update-copyrights.
25749         * intl/plural.c: Regenerated.
25750         * locale/programs/charmap-kw.h: Likewise.
25751         * locale/programs/locfile-kw.h: Likewise.
25753 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25755         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25757 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25759         [BZ #17748]
25760         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25761         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25762         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25763         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25764         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25765         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25766         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25767         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25768         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25769         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25770         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25771         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25772         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25773         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25774         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25775         libm_hidden_def.
25776         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25777         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25778         Likewise.
25779         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25780         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25781         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25782         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25783         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25784         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25785         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25786         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25787         __fegetenv instead of fegetenv.
25788         (libc_feholdsetround_noex_ctx): Likewise.
25790 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25792         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25793         (Elf_MIPS_ABIFlags_v0): New structure.
25794         (EF_MIPS_FP64): Define.
25795         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25796         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25797         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25798         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25799         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25800         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25801         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25802         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25803         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25804         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25805         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25806         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25807         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25808         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25809         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25810         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25811         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25812         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25813         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25814         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25815         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25816         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25817         field.
25818         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25819         EF_MIPS_FP64.
25820         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25821         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25822         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25823         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25824         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25825         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25826         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25827         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25828         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25829         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25830         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25831         record the current FP ABI extension.
25832         (mips-mode-switch): Define to show if kernel headers support mode
25833         switching.
25834         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25835         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25836         supported SYSV ABI version to 3.
25837         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25838         feature.
25840 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25844         path.
25845         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25847 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25849         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25850         __fegetround and redefine to call __fegetround.  Remove condition
25851         on [!__NO_MATH_INLINES].
25852         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25853         function.
25854         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25856         Remove macro.
25857         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25858         instead of <fenv_libc.h>.
25859         (__llrintl): Call fegetround instead of __fegetround.
25860         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25861         instead of <fenv_libc.h>.
25862         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25863         (__lrintl): Call fegetround instead of __fegetround.
25864         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25865         instead of <fenv_libc.h>.
25866         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25867         (__rintl): Call fegetround instead of __fegetround.
25869 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25871         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25872         arrays.
25874 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25876         [BZ #17775]
25877         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25878         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25879         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25881 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25883         * sysdeps/i386/tls-macros.h: Include <features.h>.
25884         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25885         (TLS_IE): Likewise.
25886         (TLS_LD): Likewise.
25887         (TLS_GD): Likewise.
25888         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25889         define for GCC >= 5.0.
25891 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25893         * math/test-fenv.c (test_single_exception, set_single_exc,
25894         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25895         feexcp_mask_test, feenable_test, fe_single_test): Add
25896         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25897         case where they are not used.
25898         * math/libm-test.inc: Likewise.
25899         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25900         unused in the absence of FP rounding/exception support.
25901         * stdio-common/tst-printf-round.c: Likewise.
25902         * stdlib/tst-strtod-round.c: Likewise.
25903         * stdlib/tst-strtod-underflow.c: Likewise.
25905 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25907         [BZ #17723]
25908         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25909         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25910         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25911         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25912         libm_hidden_weak.
25913         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25914         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25915         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25916         libm_hidden_def.
25917         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25918         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25919         libm_hidden_weak.
25920         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25921         Likewise.
25922         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25923         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25924         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25925         libm_hidden_weak.
25926         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25927         libm_hidden_def.
25928         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25929         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25930         (__feraiseexcept): Likewise.
25931         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25932         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25933         libm_hidden_weak.
25934         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25935         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25936         libm_hidden_def.
25937         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25938         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25939         Use libm_hidden_def.
25940         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25941         libm_hidden_def.
25942         (feraiseexcept): Define as weak not strong alias.  Use
25943         libm_hidden_weak.
25944         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25945         New inline function.  Factored out of ...
25946         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25947         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25948         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25949         feraiseexcept.
25950         * math/w_acos.c (__acos): Likewise.
25951         * math/w_asin.c (__asin): Likewise.
25952         * math/w_ilogb.c (__ilogb): Likewise.
25953         * math/w_j0.c (y0): Likewise.
25954         * math/w_j1.c (y1): Likewise.
25955         * math/w_jn.c (yn): Likewise.
25956         * math/w_log.c (__log): Likewise.
25957         * math/w_log10.c (__log10): Likewise.
25958         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25959         * sysdeps/aarch64/fpu/math_private.h
25960         (libc_feupdateenv_test_aarch64): Likewise.
25961         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25962         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25963         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25964         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25965         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25966         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25967         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25968         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25969         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25970         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25972 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25974         [BZ #17732]
25975         * io/test-utime.c (main): Replace %ld with %jd and cast to
25976         intmax_t.
25977         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25978         * nptl/tst-mutex5.c: Include <stdint.h>.
25979         (do_test): Replace %ld with %jd and cast to intmax_t.
25980         * posix/tst-regex.c (run_test): Likewise.
25981         (run_test_backwards): Likewise.
25982         * rt/tst-clock.c: Include <stdint.h>.
25983         (clock_test): Replace %ld with %jd and cast to intmax_t.
25984         * rt/tst-cpuclock1.c: Include <stdint.h>.
25985         (do_test): Replace %lu with %ju and cast to uintmax_t.
25986         * rt/tst-cpuclock2.c: Include <stdint.h>.
25987         (do_test): Replace %lu with %ju and cast to uintmax_t.
25988         * rt/tst-mqueue1.c: Include <stdint.h>.
25989         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25990         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25991         intmax_t.
25992         * rt/tst-mqueue4.c (do_test): Likewise.
25993         * rt/tst-timer4.c: Include <stdint.h>.
25994         (check_ts): Replace %ld with %jd and cast to intmax_t.
25995         (do_test): Likewise.
25996         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25997         and cast to intmax_t.
25998         * sysdeps/pthread/tst-timer.c (main): Likewise.
25999         * time/clocktest.c (main): Likewise.
26000         * time/tst-posixtz.c (do_test): Likewise.
26001         * timezone/tst-timezone.c (main): Likewise.
26003 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26004             H.J. Lu  <hongjiu.lu@intel.com>
26006         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26007         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26008         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26009         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26010         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26011         version if bit_Fast_Unaligned_Load is set.
26012         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26013         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26014         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26015         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26016         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26017         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26018         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26019         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26020         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26021         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26022         to 4.
26023         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26024         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26025         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26026         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26028 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26030         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26031         instead of #if to avoid a Wundef warning.
26032         * stdlib/tst-limits.c (do_test): Likewise.
26034         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26035         parallel other exception macros.
26036         (fegetenv): Convert from macro to extern inline so that it applies
26037         retroactively to inline functions already seen by the compiler.
26038         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26040         * posix/Makefile (before-compile): Use $(objpfx) for
26041         posix-conf-vars-def.h.
26043 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26045         * posix/getconf.c (main): Use size_t for type of I.
26046         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26047         NSPEC.
26049         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26050         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26051         * posix/posix-envs.def: Likewise.
26052         * sysdeps/posix/sysconf.c: Likewise.
26053         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26054         (specs): Remove array.
26055         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26056         array.
26058         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26059         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26060         (__sysconf): Use CONF_IS_* macros.
26062         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26063         ($(objpfx)posix-conf-vars-def.h): New target.
26064         * posix/posix-conf-vars.list: New file.
26065         * posix/posix-conf-vars.h: New file.
26066         * posix/confstr.c: Include posix-conf-vars.h.
26067         (confstr): Use CONF_IS_* macros.
26068         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26069         CONF_IS_* macros.
26070         * scripts/gen-posix-conf-vars.awk: New file.
26072 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26074         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26075         fegetround): Add no-op macros to avoid linknamespace issues.
26077         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26078         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26080         * sysdeps/unix/sysv/linux/tile/sysdep.h
26081         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26082         assembly-specific section to avoid a redefinition warning.
26084         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26085         long before casting to pointer to avoid a cast warning.
26087 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26089         * sysdeps/tile/tilegx/Implies: New file.
26091 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26093         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26095 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26097         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26099 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26102         not define.
26103         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26104         <kernel-features.h>.
26105         (__utimes) [__NR_utimes]: Make code unconditional.
26106         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26107         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26108         (__ASSUME_UTIMES): Do not undefine.
26109         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26110         (__ASSUME_UTIMES): Likewise.
26111         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26112         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26113         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26114         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26116 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26118         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26120 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26122         [BZ #17747]
26123         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26124         alias to weak alias for j0l, y0l.
26125         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26126         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26128         [BZ #17746]
26129         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26130         conversion.
26132 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26134         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26135         to zero if not already defined.
26137 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26139         [BZ #17724]
26140         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26141         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26142         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26143         (char *) casts added.
26144         * sysdeps/ieee754/k_standardf.c: New file.
26145         * sysdeps/ieee754/k_standardl.c: Likewise.
26146         * math/Makefile (libm-support): Remove k_standard.
26147         (libm-calls): Add k_standard.
26149 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26151         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26152         Optimize to avoid an unnecessary FPCR read.
26154 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26157         Optimize to reduce FPCR/FPSR accesses.
26159 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26161         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26162         Call libc_fetestexcept_aarch64.
26164 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26166         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26167         Call libc_fesetround_aarch64.
26169 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26171         [BZ #17733]
26172         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26173         (__bind): Do not define as weak alias.
26174         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26175         define.
26176         (__getsockname): Do not define as weak alias.
26178 2014-12-22  Will Newton  <will.newton@linaro.org>
26180         * manual/install.texi: Document that we require bison 2.7
26181         or above.
26182         * INSTALL: Regenerate.
26183         * configure.ac: Use AC_CHECK_PROG_VER instead of
26184         AC_PATH_PROG when checking for bison and check for
26185         version 2.7 or above.
26186         * configure: Regenerate.
26188 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26190         [BZ #17745]
26191         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26192         * sysdeps/tile/ffsll.c (ffsll): To here.
26194         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26196 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26198         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26199         if not defined.
26200         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26201         definition.
26202         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26203         hidden ___tls_get_addr.
26204         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26205         hidden __tls_get_addr.
26206         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26207         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26208         Likewise.
26210 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26212         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26213         _dl_init call.
26215 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26217         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26218         from "call _dl_init@PLT".
26219         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26221 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26223         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26224         guarantees.
26226 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26228         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26230 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26232         [BZ #17744]
26233         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26234         strnlen.
26236 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26238         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26239         of multu on MIPSr6.
26240         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26241         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26242         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26243         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26244         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26246 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26248         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26249         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26250         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26251         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26252         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26253         mips32r6/mips64r6.
26254         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26256 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26258         * string/strncat.c (STRNCAT): Simplify implementation.
26260 2014-12-19  David S. Miller  <davem@davemloft.net>
26262         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26263         access the quad as both a long double and as a series of 4 words.
26265         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26266         link_map->l_info array access.
26268 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26270         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26272         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26273         * math/atest-exp2.c (TIMEOUT): Likewise.
26274         * math/atest-sincos.c (TIMEOUT): Likewise.
26276 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26278         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26279         -Wno-error with -fno-builtin-lround.
26281 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26283         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26284         Contains futex constants and functions moved over from ...
26285         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26286         <lowlevellock-futex.h>.
26287         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26288         (lll_timedwait_tid): Add comments and parentheses around macro
26289         arguments.
26291 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26293         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26294         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26295         (__lll_private_flag): Remove.
26296         (lll_futex_wait): Likewise.
26297         (lll_futex_timed_wait): Likewise.
26298         (lll_futex_wake): Likewise.
26299         (lll_futex_requeue): Likewise.
26300         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26301         (__lll_timedwait_tid): Spell out argument names.
26302         (lll_timedwait_tid): Add comments and parentheses around macro
26303         arguments.
26304         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26305         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26307 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26309         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26310         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26311         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26312         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26313         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26314         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26315         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26316         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26317         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26319         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26321         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26322         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26323         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26324         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26325         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26326         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26327         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26329 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26331         * sysdeps/x86_64/x32/Makefile: New file.
26333 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26335         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26336         1L with (mp_limb_t) 1.
26338 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26340         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26341         * nptl/libc_pthread_init.c: ... here.
26342         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26343         * nptl/register-atfork.c: ... here.
26345         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26346         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26347         Use assert_perror to check its return value.
26348         (__gai_create_helper_thread): Likewise.
26350         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26352         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26354 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26356         [BZ #17725]
26357         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26358         __profil_counter.
26359         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26360         Likewise.
26361         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26362         Likewise.
26363         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26364         Likewise.
26365         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26366         (profil_counter): Likewise.
26367         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26368         (profil_counter): Likewise.
26369         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26370         Likewise.
26371         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26372         Likewise.
26373         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26374         (profil_counter): Likewise.
26375         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26376         Likewise.
26377         [!__profil_counter] (profil_counter): Define as weak alias of
26378         __profil_counter.
26379         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26380         (profil_counter): Rename to __profil_counter.
26381         [!__profil_counter] (profil_counter): Define as weak alias of
26382         __profil_counter.
26383         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26384         (profil_counter): Rename to __profil_counter.
26385         [!__profil_counter] (profil_counter): Define as weak alias of
26386         __profil_counter.
26387         * sysdeps/posix/profil.c: Update comment referring to
26388         profil_counter.
26389         (__profil): Use __profil_counter instead of profil_counter.
26390         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26391         __profil_counter.  Use __profil_counter_ushort and
26392         __profil_counter_uint in definitions.
26393         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26394         instead of profil_counter_uint and profil_counter_ushort.
26396         [BZ #17722]
26397         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26398         define as weak alias of __inet_makeaddr.
26399         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26400         as weak alias of __inet_addr.
26401         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26402         as weak alias of __inet_pton.  Use libc_hidden_weak.
26403         * include/arpa/inet.h (__inet_pton): Declare.  Use
26404         libc_hidden_proto.
26405         (inet_makeaddr): Don't use libc_hidden_proto.
26406         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26407         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26408         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26409         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26410         Remove variable.
26411         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26412         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26414 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26416         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26418 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26420         * stdio-common/bug-vfprintf-nargs.c (do_test):
26421         Cast value to intptr_t to avoid format warning
26422         for usage with PRIdPTR printing macro.
26424 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26426         * libio/tst-widetext.c (do_test):
26427         Use format type %td instead of %Zd for ptrdiff_t
26428         in order to avoid format warning.
26430 2014-12-17  Andreas Schwab  <schwab@suse.de>
26432         * nscd/mem.c (gc): Add size_t cast to match printf format.
26434 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26436         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26437         (init): Apply PTR_MANGLE to pointers before storing them.
26438         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26439         before using them.
26441 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26443         [BZ #17719]
26444         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26445         define as weak alias of __memrchr.
26446         (__memrchr): Do not define as strong alias of memrchr.
26447         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26448         Remove variable.
26449         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26450         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26451         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26453         [BZ #17717]
26454         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26455         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26456         (if_indextoname): Rename to __if_indextoname and define as weak
26457         alias of __if_indextoname.  Use libc_hidden_weak.
26458         (if_freenameindex): Rename to __if_freenameindex and define as
26459         weak alias of __if_freenameindex.
26460         (if_nameindex): Rename to __if_nameindex and define as weak alias
26461         of __if_nameindex.
26462         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26463         __if_nametoindex and define as weak alias of __if_nametoindex.
26464         Use libc_hidden_weak.
26465         (if_freenameindex): Rename to __if_freenameindex and define as
26466         weak alias of __if_freenameindex.
26467         (if_nameindex): Rename to __if_nameindex and define as weak alias
26468         of __if_nameindex.
26469         (if_indextoname): Rename to __if_indextoname and define as weak
26470         alias of __if_indextoname.  Use libc_hidden_weak.
26471         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26472         __if_nametoindex and define as weak alias of __if_nametoindex.
26473         Use libc_hidden_weak.
26474         (if_freenameindex): Rename to __if_freenameindex and define as
26475         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26476         (if_nameindex_netlink): Use __if_freenameindex instead of
26477         if_freenameindex.
26478         (if_nameindex): Rename to __if_nameindex and define as weak alias
26479         of __if_nameindex.  Use libc_hidden_weak.
26480         (if_indextoname): Rename to __if_indextoname and define as weak
26481         alias of __if_indextoname.  Use libc_hidden_weak.
26482         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26483         libc_hidden_proto.
26484         [!_ISOMAC] (__if_freenameindex): Likewise.
26485         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26486         if_nametoindex.
26487         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26488         variable.
26489         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26490         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26491         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26492         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26493         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26494         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26495         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26497         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26498         Remove variable.
26499         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26500         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26502 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26504         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26505         subscript above bounds'
26507         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26508         bounds.
26510 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26512         * libio/tst-fopenloc.c: Use test-skeleton.c.
26514         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26515         (entry): Rename to ITEM.
26516         (do_test, comp): Adjust.
26518         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26520 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26522         * string/tester.c: Include <libc-internal.h>.
26523         (test_memset): Ignore -Wmemset-transposed-args.
26525 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26527         * misc/tst-mntent2.c (do_test): Fix warning.
26529 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26531         * elf/tst-unique4lib.cc(a): Mark as used.
26533 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26535         [BZ #17630]
26536         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26537         names.
26539 2014-12-16  Allan McRae  <allan@archlinux.org>
26541         * stdio-common/Makefile (tests): Re-add bug26.
26543 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26545         [BZ #17657]
26546         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26547         static array.
26549 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26551         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26552         (__lll_lock_wait): Likewise.
26553         (__lll_timedlock_wait): Likewise.
26554         (__lll_timedwait_tid): Likewise.
26555         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26556         (__lll_robust_timedlock_wait): Likewise.
26557         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26558         (lll_cond_trylock): Likewise.
26559         (__lll_lock): Likewise.
26560         (__lll_robust_lock): Likewise.
26561         (__lll_cond_lock): Likewise.
26562         (lll_robust_cond_lock): Likewise.
26563         (__lll_timedlock): Likewise.
26564         (__lll_robust_timedlock): Likewise.
26565         (__lll_unlock): Likewise.
26566         (__lll_robust_unlock): Likewise.
26567         (lll_wait_tid): Likewise.
26568         (lll_timedwait_tid): Likewise.
26570 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26572         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26574 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26576         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26578 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26580         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26581         * stdio-common/tst-sprintf.c: Likewise.
26583 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26585         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26587 2014-12-15  Jeff Law  <law@redhat.com>
26589         [BZ #16617]
26590         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26591         on the heap.  (CVE-2012-3406)
26592         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26593         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26594         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26596 2014-12-15  Will Newton  <will.newton@linaro.org>
26598         * manual/install.texi: Bump required version of texinfo
26599         to 4.7 from 4.5.
26600         * INSTALL: Regenerated.
26601         * configure.ac: Check for makeinfo version 4.7 and above.
26602         * configure: Regenerated.
26604 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26606         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26607         PREFIX, string constant to insert between directory and name.
26608         * sysdeps/posix/shm_open.c: Update caller.
26609         * sysdeps/posix/shm_unlink.c: Likewise.
26610         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26611         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26612         (SEM_SHM_PREFIX): New macro.
26613         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26614         [$(have-thread-library) = no].
26615         * nptl/Makefile (libpthread-routines): Add shm-directory.
26616         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26617         * sysdeps/nptl/shm-directory.h: New file.
26618         * sysdeps/posix/shm-directory.c
26619         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26620         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26621         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26622         INTERNAL_SYSCALL.
26623         (__where_is_shmfs): Function removed.
26624         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26625         Variables removed.
26626         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26627         Use SHM_GET_NAME.
26628         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26630         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26631         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26632         unconditional for use inside libpthread.
26633         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26635 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26637         * nptl/pthread_getaffinity.c: New file.
26638         * nptl/pthread_setaffinity.c: New file.
26639         * nptl/pthread_getname.c: New file.
26640         * nptl/pthread_setname.c: New file.
26642         * nptl/pthread_create.c (START_THREAD_DEFN)
26643         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26645 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26646             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26648         * resolv/res_send.c (send_vc): Disable warning resplen may
26649         be used uninitialized.
26651 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26653         * nptl/tst-mutex6.c
26654         (ATTR_NULL): New define checks ATTR against NULL.
26655         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26656         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26658 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26660         [BZ #17581]
26661         * malloc/hooks.c
26662         (mem2mem_check): Revert my previous change.
26663         (malloc_check_get_size): Revert my previous change.
26664         (mem2chunk_check): Revert my previous change.
26666 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26668         * sysdeps/posix/shm-directory.c: New file.
26669         * sysdeps/posix/shm-directory.h: New file.
26670         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26671         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26672         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26673         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26674         Transmute EPERM to EACCES.
26675         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26676         from ...
26677         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26678         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26680 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26682         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26683         pointer and cast to uintptr_t.
26684         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26685         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26686         Add cast to avoid warning.
26687         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26689 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26691         * nptl/semaphore.h: Move to ...
26692         * sysdeps/pthread/semaphore.h: ... here.
26693         * Makefile (installed-headers): Change nptl/semaphore.h to
26694         sysdeps/pthread/semaphore.h.
26696 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26698         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26699         generated error format strings.
26701         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26702         -Wformat-extra-args warnings for scanf formats.
26703         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26704         test of zero-length format (duh).
26705         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26706         corner-case scanf format test.
26707         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26708         generated fprintf format string.
26709         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26710         corner-case sprintf format tests.
26711         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26712         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26713         -Wformat-extra-args warnings throughout.
26714         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26715         (CFLAGS-scanf4.c): Likewise.
26716         (CFLAGS-scanf7.c): Likewise.
26717         (CFLAGS-tst-sprintf.c): Likewise.
26718         (CFLAGS-tst-printf.c): Likewise.
26719         (CFLAGS-tst-printfsz.c): Likewise.
26721 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26723         * include/cpio.h: New file.
26724         * include/fmtmsg.h: Likewise.
26726         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26727         corresponding format argument to size_t.
26728         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26729         arguments.
26730         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26731         corresponding format argument to size_t.
26732         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26733         arguments.
26734         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26735         corresponding format argument to size_t.
26736         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26737         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26738         (CFLAGS-tst-mbswcs2.c): Likewise.
26739         (CFLAGS-tst-mbswcs3.c): Likewise.
26740         (CFLAGS-tst-mbswcs4.c): Likewise.
26741         (CFLAGS-tst-mbswcs5.c): Likewise.
26742         (CFLAGS-tst-trans.c): Likewise.
26744 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26746         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26747         rather than assuming they won't contain any '%'s.
26749 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26751         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26752         inhibit_loop_to_libcall to avoid recursive calls.
26753         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26754         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26756 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26758         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26759         prototype.
26761 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26763         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26764         integer value instead of boolean.
26766 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26768         * malloc/malloc.c: Fix powerof2 check.
26770 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26772         * locale/programs/locfile.h (maybe_swap_uint32):
26773         Remove inline and add unused attribute.
26775 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26777         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26778         Truncating assembler expression to a .long expression.
26780 2014-12-11  Andreas Schwab  <schwab@suse.de>
26782         * elf/rtld.c (struct map_args): Constify str member.
26783         (do_preload): Constify fname argument.
26785 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26787         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26788         constants definition.
26790 2014-12-11  Andreas Schwab  <schwab@suse.de>
26792         [BZ #16657]
26793         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26794         FORCE_ELISION instead of DO_ELISION.
26795         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26796         Remove.
26797         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26798         Likewise.
26800         * iconvdata/gconv-modules: Remove duplicate entry.
26802 2014-12-11  Will Newton  <will.newton@linaro.org>
26804         Merge gettext 0.19.3 into intl/.
26806         This involves a number of cosmetic changes to comments
26807         and ANSI function definitions and prototypes throughout
26808         all the files. The gettext copyright header is used but
26809         with the date ranges taken from the glibc copy.
26811         * NEWS: Add gettext merge to 2.21.
26812         * intl/bindtextdom.c: Switch to gettext copyright.
26813         Use ANSI definitions and prototypes.
26814         Use gl_* locking primitives rather than __libc_* ones.
26815         Use __builtin_expect rather than __glibc_likely/unlikely.
26816         * intl/dcgettext.c: Switch to gettext copyright.
26817         Use ANSI definitions and prototypes.
26818         * intl/dcigettext.c: Switch to gettext copyright.
26819         Use ANSI definitions and prototypes.
26820         (INTDIV0_RAISES_SIGFPE): New define.
26821         Use gl_* locking primitives rather than __libc_* ones.
26822         Include eval-plural.h instead of plural-eval.c.
26823         Use __builtin_expect rather than __glibc_likely/unlikely.
26824         * intl/dcngettext.c: Switch to gettext copyright.
26825         Use ANSI definitions and prototypes.
26826         * intl/dgettext.c: Likewise.
26827         * intl/dngettext.c: Likewise.
26828         * intl/plural-eval.c: Renamed to...
26829         * intl/eval-plural.h: ...this.
26830         * intl/explodename.c: Switch to gettext copyright.
26831         Use ANSI definitions and prototypes.
26832         (_nl_explode_name): Use strchr instead of __rawmemchr.
26833         * intl/finddomain.c: Switch to gettext copyright.
26834         Use ANSI definitions and prototypes.
26835         Use gl_* locking primitives rather than __libc_* ones.
26836         (_nl_find_domain): Use malloc rather than alloca for
26837         allocation of temporary locale name.
26838         * intl/gettext.c: Switch to gettext copyright.
26839         Use ANSI definitions and prototypes.
26840         * intl/gettextP.h: Switch to gettext copyright.
26841         Use ANSI definitions and prototypes.
26842         Use gl_* locking primitives rather than __libc_* ones.
26843         * intl/gmo.h: Switch to gettext copyright.
26844         (struct sysdep_string): Move struct segment_pair outside of
26845         struct definition.
26846         * intl/hash-string.c: Use ANSI definitions and prototypes.
26847         * intl/hash-string.h: Switch to gettext copyright.
26848         Use ANSI definitions and prototypes.
26849         * intl/l10nflist.c: Switch to gettext copyright.
26850         Use ANSI definitions and prototypes.
26851         (_nl_normalize_codeset): Avoid integer overflow.
26852         * intl/loadinfo.h: Switch to gettext copyright.
26853         Use ANSI definitions and prototypes.
26854         (LIBINTL_DLL_EXPORTED): New define.
26855         (PATH_SEPARATOR): New define.
26856         * intl/loadmsgcat.c: Switch to gettext copyright.
26857         * intl/localealias.c: Switch to gettext copyright.
26858         Use ANSI definitions and prototypes.
26859         (_nl_expand_alias): Use PATH_SEPARATOR.
26860         * intl/ngettext.c: Switch to gettext copyright.
26861         Use ANSI definitions and prototypes.
26862         * intl/plural-exp.c: Likewise.
26863         * intl/plural-exp.h: Switch to gettext copyright.
26864         Use ANSI definitions and prototypes.
26865         (struct expression): Move definition of enum operator outside
26866         of struct definition.
26867         * intl/plural.c: Regenerate.
26868         * intl/plural.y: Switch to gettext copyright.
26869         Use ANSI definitions and prototypes.
26870         Port to bison 3.0.
26871         * intl/textdomain.c: Switch to gettext copyright.
26872         Use ANSI definitions and prototypes.
26873         Use gl_* locking primitives rather than __libc_* ones.
26875 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26877         * debug/warning-nop.c: Add used atrribute.
26879 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26881         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26883         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26884         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26885         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26887 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26888             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26890         [BZ #17634]
26891         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26892         Undefine after defining function.  Define as weak alias of
26893         __wcschr.  Use libc_hidden_weak.
26894         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26895         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26896         (libc_hidden_def): Also define __GI___wcschr alias.
26897         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26898         __wcschr and define as weak alias of __wcschr.
26899         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26900         __wcschr.
26901         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26902         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26903         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26904         libc_hidden_weak.  Do not use libc_hidden_def.
26905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26906         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26907         __GI___wcschr alias.
26908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26909         [IS_IN (libc)] (wcschr): Define as macro expanding to
26910         __redirect_wcschr.
26911         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26912         [IS_IN (libc)] (__wcschr_power6): Likewise.
26913         [IS_IN (libc)] (__wcschr_power7): Likewise.
26914         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26915         instead of wcschr.
26916         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26917         __libc_wcschr.
26918         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26919         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26920         __wcschr and define as weak alias of __wcschr.  Use
26921         libc_hidden_builtin_def.
26922         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26923         as weak alias of __wcschr.  Use libc_hidden_weak.
26924         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26925         wcschr.
26926         * time/era.c (_nl_init_era_entries): Likewise.
26927         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26928         variable.
26929         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26930         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26932 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26934         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26935         format for long int variable.
26937 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26939         [BZ #10672]
26940         * manual/search.texi: (Array Sort Function): Remove claim how to make
26941         qsort stable.
26943 2014-12-10  Andreas Schwab  <schwab@suse.de>
26945         [BZ #12847]
26946         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26947         user-controlled locks.
26949 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26951         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26952         register.
26954 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26956         * configure.ac (--disable-werror): New configure option.
26957         (enable_werror): New AC_SUBST.
26958         * configure: Regenerated.
26959         * config.make.in (enable-werror): New variable.
26960         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26961         -Wno-error=undef.
26962         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26963         * manual/install.texi (Configuring and compiling): Document
26964         --disable-werror.
26965         * INSTALL: Regenerated.
26966         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26967         (CFLAGS-tst-chk2.c): Likewise.
26968         (CFLAGS-tst-chk3.c): Likewise.
26969         (CFLAGS-tst-chk4.cc): Likewise.
26970         (CFLAGS-tst-chk5.cc): Likewise.
26971         (CFLAGS-tst-chk6.cc): Likewise.
26972         (CFLAGS-tst-lfschk1.c): Likewise.
26973         (CFLAGS-tst-lfschk2.c): Likewise.
26974         (CFLAGS-tst-lfschk3.c): Likewise.
26975         (CFLAGS-tst-lfschk4.cc): Likewise.
26976         (CFLAGS-tst-lfschk5.cc): Likewise.
26977         (CFLAGS-tst-lfschk6.cc): Likewise.
26979         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26980         (main): Disable -Wdeprecated-declarations around calls to
26981         register_printf_function.
26983         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26984         (do_test): Disable -Wdiv-by-zero around some calls to
26985         fwrite_unlocked and fread_unlocked.
26987         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26988         (DIAG_POP_NEEDS_COMMENT): Likewise.
26989         (_DIAG_STR1): Likewise.
26990         (_DIAG_STR): Likewise.
26991         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26992         * stdio-common/bug21.c: Include <libc-internal.h>.
26993         (do_test): Disable -Wformat around call to sscanf.
26994         * stdio-common/scanf14.c: Include <libc-internal.h>.
26995         (main): Disable -Wformat around some calls to scanf functions.
26997 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26999         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27001 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27003         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27004         stack variable alignment.
27006 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27008         [BZ #17682]
27009         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27010         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27011         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27012         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27013         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27014         __getrlimit instead of getrlimit.
27015         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27016         __gettimeofday instead of gettimeofday.
27017         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27018         Likewise.
27019         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27020         Likewise.
27021         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27022         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27023         Remove variable.
27024         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27025         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27027 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27029         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27030         for wide-character tests.
27032 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27034         * io/openat64.c: #include <libc-internal.h>
27035         (__openat64): Prototypify.  Use ignore_value on MODE.
27036         * io/openat.c: Likewise.
27037         * misc/reboot.c: #include <libc-internal.h>
27038         (reboot): Prototypify.  Use ignore_value on HOWTO.
27039         * misc/ptrace.c: #include <libc-internal.h>
27040         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27042 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27044         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27045         XPG4, UNIX98 and XOPEN2K.
27046         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27047         Remove variable.
27048         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27050 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27052         * libio/fileops.c: Use ISO C style for function definitions.
27053         * libio/iofopen.c: Likewise.
27054         * libio/wfileops.c: Likewise.
27056         [BZ #17653]
27057         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27058         offset on EOF.
27059         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27060         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27061         (fgets_func): Function pointer to fgets and fgetws.
27062         (do_ftell_test): Add test to verify ftell value after read
27063         EOF.
27064         (do_test): Set fgets_func.
27066         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27067         O_TRUNC flag for w and w+ modes.
27068         (do_rewind_test): Likewise.
27069         (do_ftell_test): Likewise.
27070         (do_write_test): Likewise.
27072         [BZ #17647]
27073         * libio/fileops.c (do_ftell): Seek only when there are
27074         unflushed writes.
27075         * libio/wfileops.c (do_ftell_wide): Likewise.
27076         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27077         test case.
27078         (do_one_test): Call it.
27080 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27082         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27083         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27084         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27085         Remove variable.
27086         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27087         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27088         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27090 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27092         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27093         Remove variable.
27094         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27096         [BZ #17668]
27097         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27098         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27099         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27100         __freeifaddrs.  Use libc_hidden_weak.
27101         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27102         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27103         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27104         __freeifaddrs.  Use libc_hidden_weak.
27105         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27106         __getifaddrs and define as weak alias of __getifaddrs.  Use
27107         libc_hidden_weak.
27108         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27109         __freeifaddrs.  Use libc_hidden_weak.
27110         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27111         Remove variable.
27112         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27113         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27115 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27117         [BZ #17601]
27118         * sysdeps/mips/start.S (__start): Use indirect jump to call
27119         __libc_start_main.
27121 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27123         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27125         * nptl/tst-mutex1.c: Include <stdbool.h>.
27126         [!ATTR] (ATTR_NULL): New macro.
27127         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27128         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27129         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27131         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27132         to char *.
27134         [BZ #17665]
27135         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27136         Change conditional to [__USE_MISC].
27138         [BZ #17664]
27139         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27140         fgets_unlocked.
27141         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27142         __fgets_unlocked.
27143         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27144         fgets_unlocked.
27145         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27146         Remove variable.
27147         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27148         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27149         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27150         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27151         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27152         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27153         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27154         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27155         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27157         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27159 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27162         Remove strpbrk objects.
27163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27164         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27165         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27167         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27168         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27170         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27171         Remove strcspn objects.
27172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27173         (__libc_ifunc_impl_list): Remove strcspn implementation.
27174         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27175         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27176         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27177         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27180         Remove strspn objetcs.
27181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27182         (__libc_ifunc_impl_list): Remove strspn implementation.
27183         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27184         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27185         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27186         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27188 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27190         [BZ #17581]
27191         * malloc/hooks.c
27192         (mem2mem_check): Add a terminator to the chain of checking blocks.
27193         (malloc_check_get_size): Use it here.
27194         (mem2chunk_check): Ditto.
27196 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27198         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27199         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27201 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27203         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27205         * nptl/nptl-init.c: Include libc-internal.h.
27206         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27208         * elf/ldconfig.c (search_dir): Expand comment.
27210 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27212         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27213         variable.
27214         (linknamespace-symlist-stdlibs-tests): Likewise.
27215         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27216         instead of $(objpfx)symlist-stdlibs.
27217         (linknamespace-libs-isoc): New variable.
27218         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27219         (linknamespace-libs-ISO): New variable.
27220         (linknamespace-libs-ISO99): Likewise.
27221         (linknamespace-libs-ISO11): Likewise.
27222         (linknamespace-libs-XPG3): Likewise.
27223         (linknamespace-libs-XPG4): Likewise.
27224         (linknamespace-libs-POSIX): Likewise.
27225         (linknamespace-libs-UNIX98): Likewise.
27226         (linknamespace-libs-XOPEN2K): Likewise.
27227         (linknamespace-libs-POSIX2008): Likewise.
27228         (linknamespace-libs-XOPEN2K8): Likewise.
27229         ($(objpfx)symlist-stdlibs): Replace by
27230         $(linknamespace-symlist-stdlibs-tests).  Use
27231         $(linknamespace-libs-$*) as set of libraries.
27232         ($(linknamespace-header-tests)): Update dependencies.  Use
27233         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27234         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27235         * conform/linknamespace.pl: Remove comment about considering
27236         definitions of symbols from irrelevant libraries.
27238 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27240         [BZ #13862]
27241         * elf/dl-tls.c: Include <atomic.h>.
27242         (oom): Remove #ifdef SHARED/#endif.
27243         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27244         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27245         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27246         big enough.
27247         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27248         * nptl/Makefile (tests): Add tst-stack4.
27249         (modules-names): Add tst-stack4mod.
27250         ($(objpfx)tst-stack4): New.
27251         (tst-stack4mod.sos): Likewise.
27252         ($(objpfx)tst-stack4.out): Likewise.
27253         ($(tst-stack4mod.sos)): Likewise.
27254         (clean): Likewise.
27255         * nptl/tst-stack4.c: New file.
27256         * nptl/tst-stack4mod.c: Likewise.
27258 2014-11-27  J. Brown  <jb999@gmx.de>
27260         * sysdeps/x86/bits/string.h: Add recent CPUs.
27262 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27264         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27265         sigblock.
27267         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27268         feof.
27270         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27271         variable.
27273 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27275         * nscd/connections.c: Include libc-internal.h because of macro
27276         usage ignore_value.
27278 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27280         * string/bits/string3.h (__warn_memset_zero_len): Don't
27281         declare for gcc newer than 5.0.
27282         (memset): Don't test for zero-length __LEN for gcc newer than
27283         5.0.
27285 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27287         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27288         size_t for %zu format.
27290         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27291         difference, not %ju.
27293 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27295         * include/libc-internal.h (ignore_value): New macro.
27296         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27297         with ignore_value.
27299         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27300         definition.
27302         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27303         pthread_cleanup_push to void *.
27305         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27306         Undefine.
27308         [BZ #16619]
27309         [BZ #16740]
27310         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27311         instead of 1L << 52.
27313         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27314         * libio/bug-rewind2.c (do_test): Likewise.
27316         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27317         * debug/test-strcpy_chk-ifunc.c: Likewise.
27318         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27319         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27320         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27321         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27322         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27323         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27324         * Rules [$(multi-arch) = no] (tests): Do not filter out
27325         $(tests-ifunc).
27326         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27327         * debug/Makefile (tests-ifunc): Remove variable.
27328         (tests): Do not add $(tests-ifunc).
27329         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27330         (tests): Do not add $(tests-ifunc).
27331         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27332         [TEST_IFUNC]: Remove conditionals.
27333         * string/test-string.h (TEST_IFUNC): Remove macro.
27334         [TEST_IFUNC]: Remove conditionals.
27336         * string/test-strchr.c [!WIDE] (L): New macro.
27337         [WIDE] (L): Likewise.
27338         (check1): Use CHAR instead of char.  Use L on string and character
27339         constants.
27341 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27343         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27344         tests.
27345         * sysdeps/powerpc/bits/atomic.h
27346         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27347         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27348         (atomic_exchange_and_add_acq): Likewise.
27349         (atomic_exchange_and_add_rel): Likewise.
27350         * sysdeps/powerpc/powerpc32/bits/atomic.h
27351         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27352         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27353         * sysdeps/powerpc/powerpc64/bits/atomic.h
27354         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27355         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27357 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27359         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27360         Change synchronization of __sched_fifo_min_prio and
27361         __sched_fifo_max_prio.
27362         * nptl/pthread_mutexattr_getprioceiling.c
27363         (pthread_mutexattr_getprioceiling): Likewise.
27364         * nptl/pthread_mutexattr_setprioceiling.c
27365         (pthread_mutexattr_setprioceiling): Likewise.
27366         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27367         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27368         Likewise.
27370 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27372         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27373         void.
27375 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27377         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27378         third argument const.
27380 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27382         fnmatch: work around GCC compiler warning bug with uninit var
27383         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27384         This works around a bug with x86-64 GCC 4.9.2 and earlier
27385         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27386         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27387         used uninitialized in this function [-Wmaybe-uninitialized]".
27389 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27391         * posix/bug-regex31.c (main): Return RES not 0.
27393 2014-11-25  Anton Blanchard <anton@samba.org>
27395         * sysdeps/powerpc/bits/atomic.h
27396         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27398 2014-11-24  Sterling Augustine  <saugustine@google.com>
27400         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27402 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27404         [BZ #17608]
27405         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27407 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27409         [BZ #17633]
27410         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27411         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27412         variable.
27413         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27414         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27416 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27418         * string/strncpy.c (strncpy): Improve performance by using memset.
27420 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27422         * string/strcpy.c (strcpy):
27423         Improve performance by using strlen and memcpy.
27425 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27427         * string/strcoll_l.c (get_next_seq): __always_inline.
27428         * string/strcoll_l.c (do_compare): __always_inline.
27430 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27432         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27433         defined.
27434         * include/mqueue.h: Likewise.
27435         * include/stdlib.h: Likewise.
27437         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27438         (get_null_defines): Adjust.
27439         * sunrpc/Makefile: Adjust comment.
27440         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27441         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27442         (CFLAGS-interp.c): Likewise.
27443         (CFLAGS-ldconfig.c): Likewise.
27444         (CPPFLAGS-.os): Likewise.
27445         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27446         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27447         * extra-modules.mk (extra-modules.mk): Likewise.
27448         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27449         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27450         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27451         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27452         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27453         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27454         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27455         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27456         * iconvdata/Makefile (CPPFLAGS): Likewise.
27457         (cpp-srcs-left): Add libof for all iconvdata routines.
27458         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27459         * include/assert.h: Likewise.
27460         * include/ctype.h: Likewise.
27461         * include/errno.h: Likewise.
27462         * include/libc-symbols.h: Likewise.
27463         * include/math.h: Likewise.
27464         * include/netdb.h: Likewise.
27465         * include/resolv.h: Likewise.
27466         * include/stdio.h: Likewise.
27467         * include/stdlib.h: Likewise.
27468         * include/string.h: Likewise.
27469         * include/sys/stat.h: Likewise.
27470         * include/wctype.h: Likewise.
27471         * intl/l10nflist.c: Likewise.
27472         * libidn/idn-stub.c: Likewise.
27473         * libio/libioP.h: Likewise.
27474         * nptl/libc_multiple_threads.c: Likewise.
27475         * nptl/pthreadP.h: Likewise.
27476         * posix/regex_internal.h: Likewise.
27477         * resolv/res_hconf.c: Likewise.
27478         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27479         * sysdeps/arm/memmove.S: Likewise.
27480         * sysdeps/arm/sysdep.h: Likewise.
27481         * sysdeps/generic/_itoa.h: Likewise.
27482         * sysdeps/generic/symbol-hacks.h: Likewise.
27483         * sysdeps/gnu/errlist.awk: Likewise.
27484         * sysdeps/gnu/errlist.c: Likewise.
27485         * sysdeps/i386/i586/memcpy.S: Likewise.
27486         * sysdeps/i386/i586/memset.S: Likewise.
27487         * sysdeps/i386/i686/memcpy.S: Likewise.
27488         * sysdeps/i386/i686/memmove.S: Likewise.
27489         * sysdeps/i386/i686/mempcpy.S: Likewise.
27490         * sysdeps/i386/i686/memset.S: Likewise.
27491         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27492         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27493         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27494         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27495         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27496         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27497         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27498         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27499         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27500         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27501         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27502         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27503         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27504         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27505         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27506         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27507         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27508         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27509         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27510         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27511         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27512         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27513         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27514         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27515         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27516         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27517         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27518         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27519         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27520         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27524         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27526         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27527         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27528         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27531         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27532         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27533         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27534         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27535         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27536         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27537         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27538         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27539         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27540         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27541         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27542         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27543         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27544         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27545         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27546         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27547         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27548         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27549         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27550         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27551         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27552         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27553         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27554         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27555         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27556         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27557         * sysdeps/posix/closedir.c: Likewise.
27558         * sysdeps/posix/opendir.c: Likewise.
27559         * sysdeps/posix/readdir.c: Likewise.
27560         * sysdeps/posix/rewinddir.c: Likewise.
27561         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27562         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27563         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27564         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27565         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27575         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27582         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27583         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27584         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27586         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27588         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27596         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27597         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27598         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27599         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27600         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27601         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27602         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27603         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27605         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27606         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27607         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27608         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27609         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27610         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27612         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27615         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27616         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27617         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27618         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27619         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27620         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27621         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27622         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27623         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27624         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27625         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27626         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27627         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27628         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27629         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27630         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27631         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27632         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27633         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27634         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27635         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27636         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27637         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27638         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27639         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27640         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27641         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27642         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27643         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27644         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27645         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27647         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27648         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27649         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27650         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27651         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27652         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27653         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27655         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27657         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27659         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27660         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27661         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27662         * sysdeps/unix/alpha/sysdep.S: Likewise.
27663         * sysdeps/unix/alpha/sysdep.h: Likewise.
27664         * sysdeps/unix/make-syscalls.sh: Likewise.
27665         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27667         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27668         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27670         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27671         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27672         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27673         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27674         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27676         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27678         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27679         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27680         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27681         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27682         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27683         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27684         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27685         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27686         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27687         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27688         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27689         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27690         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27694         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27695         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27697         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27699         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27702         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27703         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27704         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27705         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27706         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27707         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27708         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27709         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27712         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27713         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27715         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27716         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27717         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27718         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27719         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27720         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27721         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27723         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27724         * sysdeps/x86_64/memcpy.S: Likewise.
27725         * sysdeps/x86_64/memmove.c: Likewise.
27726         * sysdeps/x86_64/memset.S: Likewise.
27727         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27728         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27729         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27730         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27731         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27732         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27734         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27736         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27737         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27738         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27739         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27740         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27741         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27742         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27743         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27744         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27745         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27746         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27747         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27748         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27751         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27752         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27753         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27754         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27755         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27756         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27757         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27758         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27759         * sysdeps/x86_64/strcmp.S: Likewise.
27761         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27763         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27764         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27765         * elf/rtld-Rules: Likewise.
27766         * elf/setup-vdso.h: Likewise.
27767         * include/assert.h: Likewise.
27768         * include/bits/stdlib-float.h: Likewise.
27769         * include/errno.h: Likewise.
27770         * include/sys/stat.h: Likewise.
27771         * include/unistd.h: Likewise.
27772         * sysdeps/aarch64/setjmp.S: Likewise.
27773         * sysdeps/alpha/setjmp.S: Likewise.
27774         * sysdeps/arm/__longjmp.S: Likewise.
27775         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27776         * sysdeps/arm/setjmp.S: Likewise.
27777         * sysdeps/arm/sysdep.h: Likewise.
27778         * sysdeps/generic/_itoa.h: Likewise.
27779         * sysdeps/generic/dl-sysdep.h: Likewise.
27780         * sysdeps/generic/ldsodefs.h: Likewise.
27781         * sysdeps/i386/dl-tls.h: Likewise.
27782         * sysdeps/i386/setjmp.S: Likewise.
27783         * sysdeps/m68k/setjmp.c: Likewise.
27784         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27785         * sysdeps/mach/hurd/opendir.c: Likewise.
27786         * sysdeps/posix/getcwd.c: Likewise.
27787         * sysdeps/posix/opendir.c: Likewise.
27788         * sysdeps/posix/profil.c: Likewise.
27789         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27790         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27791         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27792         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27793         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27794         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27795         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27796         * sysdeps/s390/dl-tls.h: Likewise.
27797         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27798         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27799         * sysdeps/sh/sh3/setjmp.S: Likewise.
27800         * sysdeps/sh/sh4/setjmp.S: Likewise.
27801         * sysdeps/unix/alpha/sysdep.h: Likewise.
27802         * sysdeps/unix/arm/sysdep.S: Likewise.
27803         * sysdeps/unix/i386/sysdep.S: Likewise.
27804         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27805         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27806         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27808         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27809         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27810         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27811         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27812         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27813         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27814         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27815         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27816         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27819         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27822         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27823         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27824         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27827         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27828         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27829         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27831         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27832         * sysdeps/x86_64/setjmp.S: Likewise.
27834         * include/math.h: Use IS_IN instead of IS_IN_libm.
27835         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27838         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27839         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27847         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27849         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27850         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27851         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27855         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27856         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27857         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27858         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27859         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27860         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27861         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27862         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27863         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27864         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27865         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27866         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27867         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27869         Likewise.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27871         Likewise.
27872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27873         Likewise.
27874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27875         Likewise.
27876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27877         Likewise.
27878         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27879         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27880         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27881         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27882         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27883         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27889         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27890         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27891         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27892         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27893         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27894         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27895         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27896         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27897         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27898         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27899         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27902         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27904         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27906         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27907         * nptl/pthreadP.h: Likewise.
27908         * nptl_db/structs.def: Likewise.
27909         * sysdeps/arm/sysdep.h: Likewise.
27910         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27911         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27912         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27913         * sysdeps/unix/alpha/sysdep.h: Likewise.
27914         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27916         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27917         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27918         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27919         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27920         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27921         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27922         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27923         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27924         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27925         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27926         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27927         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27930         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27932         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27933         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27935         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27936         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27937         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27938         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27939         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27941         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27942         * nptl/pthreadP.h: Likewise.
27943         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27944         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27945         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27946         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27947         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27948         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27949         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27950         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27951         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27952         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27953         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27954         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27956         Likewise.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27958         Likewise.
27959         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27960         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27961         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27964         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27965         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27966         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27968         * dlfcn/dladdr.c: Use IS_IN.
27969         * dlfcn/dladdr1.c: Likewise.
27970         * dlfcn/dlclose.c: Likewise.
27971         * dlfcn/dlerror.c: Likewise.
27972         * dlfcn/dlinfo.c: Likewise.
27973         * dlfcn/dlmopen.c: Likewise.
27974         * dlfcn/dlopen.c: Likewise.
27975         * dlfcn/dlsym.c: Likewise.
27976         * dlfcn/dlvsym.c: Likewise.
27978         * include/ifaddrs.h: Use IS_IN.
27979         * inet/check_pf.c: Likewise.
27980         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27981         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27983         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27984         IS_IN_ldconfig.
27985         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27986         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27988         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27989         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27990         IS_IN (libc).
27992         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27994         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27995         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27996         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27997         * include/libc-symbols.h (IS_IN_LIB): New macro.
27998         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27999         * include/netdb.h: Likewise.
28000         * include/stap-probe.h: Remove all uses of IN_LIB.
28002         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28003         instead of IN_MODULE.
28004         * include/libc-symbols.h (IN_MODULE): Define using
28005         MODULE_NAME.
28006         (PASTE_NAME, PASTE_NAME1): New macros.
28007         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28008         of IN_LIB.
28009         (STAP_PROBE_ASM): Likewise.
28011 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28013         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28014         __mach_init in dlopened libc.
28016 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28018         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28019         * sysdeps/arm/preconfigure: Regenerate.
28021 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28023         * nptl/pthread_create.c (__pthread_create_2_1): Set
28024         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28025         when copying values from IATTR into PD.
28027 2014-11-21  Will Newton  <will.newton@linaro.org>
28028             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28030         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28031         Refactor inline-asm.  Also add comment.
28033         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28034         ElfW macro instead of hardcoded Elf64 types.
28035         (la_aarch64_gnu_pltenter): Likewise.
28036         * sysdeps/aarch64/dl-machine.h
28037         (elf_machine_runtime_setup): Use ElfW(Addr).
28039         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28040         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28041         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28042         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28043         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28044         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28045         (R_AARCH64_TLS_DTPMOD): This.
28046         (R_AARCH64_TLS_DTPREL64): Rename to ...
28047         (R_AARCH64_TLS_DTPREL): This.
28048         (R_AARCH64_TLS_TPREL64): Rename to ...
28049         (R_AARCH64_TLS_TPREL): This.
28050         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28051         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28052         R_AARCH64_TLS_TPREL64.
28053         (elf_machine_rela): Likewise.
28055 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28057         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28058         by setting it to 0.  64b atomics are not supported currently.
28060 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28062         [BZ #16469]
28063         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28064         search domain names.
28066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28068         [BZ #16469]
28069         * NEWS: Update.
28070         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28071         trailing dot.
28072         * posix/tst-getaddrinfo5.c: New.
28073         * posix/Makefile (tests): Add it.
28075 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28077         [BZ #14498]
28078         * NEWS: Fixed.
28079         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28080         after parsing line but before break_if_match.
28081         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28082         if there is a protocol mismatch.
28084 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28086         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28087         because the potential race is on the user-supplied stream.
28089 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28091         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28092         string literal if not passed a buffer.
28093         * manual/job.texi (ctermid): Update reasoning, note deviation
28094         from posix, suggest mtasurace when not passed a buffer, for
28095         future non-preliminary safety notes.
28097 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28099         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28100         of not passing it a buffer.
28101         Reported by Peng Haitao.
28103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28105         * manual/Makefile ($(objpfx)stamp-summary): Require
28106         check-safety.sh to pass.
28107         * manual/check-safety.sh: Wish for verification that every
28108         @deftypefn and @deftypefun is followed by a @safety remark.
28110 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28112         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28114         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28115         PTHREAD_CANCEL_ASYNCHRONOUS.
28116         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28117         send SIGCANCEL.
28119         * nptl/default-sched.h: New file.
28120         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28121         * nptl/pthread_create.c: Include it.
28122         (__pthread_create_2_1): Use collect_default_sched instead of making
28123         Linux syscalls here directly.
28125 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28127         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28128         __pthread_once): Use C11 atomics.
28130 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28132         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28134 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28136         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28137         atomic_thread_fence_acquire, atomic_thread_fence_release,
28138         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28139         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28140         atomic_compare_exchange_weak_relaxed,
28141         atomic_compare_exchange_weak_acquire,
28142         atomic_compare_exchange_weak_release,
28143         atomic_exchange_acquire, atomic_exchange_release,
28144         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28145         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28146         atomic_fetch_and_acquire,
28147         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28149 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28151         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28152         USE_ATOMIC_COMPILER_BUILTINS): Define.
28153         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28155         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28157         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28159         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28161         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28163         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28165         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28167         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28169         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28171         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28173         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28175         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28177         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28179         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28181         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28183         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28185         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28187         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28188         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28189         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28191         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28194 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28196         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28197         the sched_priority value here.  It was already checked when the user
28198         called pthread_attr_setschedparam.
28200         * nptl/tst-bad-schedattr.c: New file.
28201         * nptl/Makefile (tests): Add it.
28203 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28204             Florian Weimer  <fweimer@redhat.com>
28205             Joseph Myers  <joseph@codesourcery.com>
28206             Adam Conrad  <adconrad@0c3.net>
28207             Andreas Schwab  <schwab@suse.de>
28208             Brooks  <bmoses@google.com>
28210         [BZ #17625]
28211         * wordexp-test.c (__dso_handle): Add prototype.
28212         (__register_atfork): Likewise.
28213         (__app_register_atfork): New function.
28214         (registered_forks): New global.
28215         (register_fork): New function.
28216         (test_case): Add 3 new tests for WRDE_CMDSUB.
28217         (main): Call __app_register_atfork.
28218         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28219         fork count is non-zero fail the test.
28220         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28221         is set.
28222         (parse_dollars): Remove check for WRDE_NOCMD.
28223         (parse_dquote): Likewise.
28225 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28227         * Makeconfig (built-modules): List non-library modules to be
28228         built.
28229         (module-cppflags): Include libc-modules.h for
28230         everything except shlib-versions.v.i.
28231         (CPPFLAGS): Use it.
28232         (before-compile): Add libc-modules.h.
28233         ($(common-objpfx)libc-modules.h,
28234         $(common-objpfx)libc-modules.stmp): New targets.
28235         (common-generated): Add libc-modules.h and libc-modules.stmp.
28236         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28237         * include/libc-symbols.h: Don't include libc-modules.h.
28238         * include/libc-modules.h: Remove file.
28239         * scripts/gen-libc-modules.awk: New script to generate
28240         libc-modules.h.
28241         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28242         Depend on libc-modules.stmp.
28244         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28246         * Makeconfig (in-module): Get value of libof set for the
28247         translation unit.
28248         (CPPFLAGS): Use $(in-module).
28249         * Makerules: Don't suffix routine names for nonlib.
28250         * include/libc-modules.h: New file.
28251         * include/libc-symbols.h: Include libc-modules.h
28252         (IS_IN): New macro to replace IS_IN_* macros.
28253         * elf/Makefile: Set libof-* for each routine.
28254         * elf/rtld-Rules: Likewise.
28255         * extra-modules.mk: Likewise.
28256         * iconv/Makefile: Likewise.
28257         * iconvdata/Makefile: Likewise.
28258         * locale/Makefile: Likewise.
28259         * malloc/Makefile: Likewise.
28260         * nss/Makefile: Likewise.
28261         * sysdeps/gnu/Makefile: Likewise.
28262         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28263         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28264         * sysdeps/s390/s390-64/Makefile: Likewise.
28265         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28266         CPPFLAGS for nscd instead of nonlib.
28268 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28270         * nptl/createthread.c: New file.
28272         * nptl/createthread.c: Moved ...
28273         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28275         * nptl/createthread.c: Add proper top-line comment.
28276         (do_clone): Folded into ...
28277         (create_thread): ... here.  Take new arguments STOPPED_START and
28278         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28279         increment __nptl_threads, do event-reporting logic, do
28280         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28281         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28282         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28283         just send SIGCANCEL.
28284         * nptl/pthread_create.c: Forward-declare create_thread before
28285         including createthread.c.
28286         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28287         declaration, and new macro START_THREAD_SELF to replace argument.
28288         Remove return statement.
28289         (report_thread_creation): New function.
28290         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28291         synchronization logic, and __nptl_nthreads increment here, around
28292         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28293         PD->parent_cancelhandling here, before create_thread.  When
28294         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28295         __deallocate_stack, and ENOMEM translation here.
28297 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28299         [BZ #17616]
28300         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28301         (mptwo): Rename to __mptwo.
28302         (__inv): Use __mptwo instead of mptwo.
28303         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28304         (mptwo): Rename to __mptwo.
28305         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28306         of mpone and __mptwo instead of mptwo.
28307         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28308         instead of mpone.
28309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28310         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28311         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28312         of mpone and __mptwo instead of mptwo.
28313         (__mpranred): Use __mpone instead of mpone.
28314         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28315         variable.
28316         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28317         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28318         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28319         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28320         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28321         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28322         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28323         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28324         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28325         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28326         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28327         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28328         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28329         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28330         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28331         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28332         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28333         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28334         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28336 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28338         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28339         replace BSD Handler xref with BSD Signal Handling.
28341 2014-11-17  Richard Henderson  <rth@redhat.com>
28343         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28344         (_FP_PACK_RAW_2): Remove.
28345         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28346         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28347         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28348         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28349         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28350         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28351         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28352         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28353         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28354         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28355         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28356         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28357         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28358         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28359         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28360         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28362 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28364         * signal/signal.h [__USE_MISC]
28365         (struct sigvec): Remove type.
28366         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28367         (sigvec): Remove declaration.
28368         * sysdeps/posix/sigvec.c: Moved ...
28369         * signal/sigvec.c: ... here, replacing old file.
28370         (struct sigvec): New type, copied from old signal.h definition.
28371         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28372         (__sigvec): Convert definition to prototype.
28373         (sigvec): Replace weak_alias with compat_symbol.
28374         * signal/Versions (libc: GLIBC_2.21): New version set.
28375         * include/signal.h: Remove __sigvec declaration.
28376         * sysdeps/unix/bsd/sigvec.c: Remove file.
28377         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28378         * manual/signal.texi (BSD Handler): Remove subsection.
28379         Move siginterrupt up to ...
28380         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28381         (Blocking in BSD): Fold subsection into its parent.
28382         * NEWS: Mention sigvec removal.
28384 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28386         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28387         (DLA_FMS): Make definition conditional only on [__FMA4__].
28388         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28389         definition.
28391         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28392         Make definition conditional only on [PROF].
28393         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28394         definition.
28395         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28396         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28398         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28399         !__GNUC__].
28400         * include/signal.h (__sigpause): Move declaration above call to
28401         libc_hidden_proto.
28402         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28403         variable.
28404         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28405         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28407 2014-11-14  David S. Miller  <davem@davemloft.net>
28409         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28410         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28412 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28414         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28415         * configure: Regenerated.
28416         * manual/install.texi (Tools for Compilation): Document a
28417         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28418         compiler verified to work.
28419         * INSTALL: Regenerated.
28421         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28422         redeclare with asm name.
28423         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28424         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28425         including <string.h>.
28426         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28428         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28429         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28430         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28431         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28432         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28434 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28436         * stdlib/strtol.c (__strtol): Use prototype definition.
28438         [BZ #17594]
28439         * stdlib/strtol.c (SYM__): New macro.
28440         (SYM__1): Likewise.
28441         (__strtol): Likewise.
28442         (strtol): Rename to __strtol and define as weak alias of
28443         __strtol.  Use libc_hidden_weak.
28445 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28447         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28448         Use numbered labels in inline assembly.
28450 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28452         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28453         Add setjmp LIBC_PROBE.
28454         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28455         Likewise.
28456         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28457         Add longjmp, longjmp_target LIBC_PROBE.
28458         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28459         Likewise.
28461 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28463         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28464         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28465         to get rid of unused variable warning.
28467 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28469         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28470         Check for unwind_backtrace ==  NULL only in SHARED case.
28471         (__backchain_backtrace): Compile only in SHARED case.
28472         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28473         Likewise.
28474         (__backchain_backtrace): Declare as static.
28476 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28478         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28479         (__libc_multiple_threads_ptr): Variable moved ...
28480         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28482 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28484         * conform/GlibcConform.pm: New file.
28485         * conform/conformtest.pl: Use GlibcConform module.
28486         * conform/linknamespace.pl: New file.
28487         * conform/list-header-symbols.pl: Likewise.
28488         * conform/Makefile (linknamespace-symlists-base): New variable.
28489         (linknamespace-symlists-tests): Likewise.
28490         (linknamespace-header-base): Likewise.
28491         (linknamespace-header-tests): Likewise.
28492         (tests-special): Add new tests.
28493         ($(linknamespace-symlists-tests)): New rule.
28494         (linknamespace-libs): New variable.
28495         ($(objpfx)symlist-stdlibs): New rule.
28496         ($(linknamespace-header-tests)): Likewise.
28497         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28498         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28499         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28500         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28501         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28502         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28503         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28504         (test-xfail-ISO/math.h/linknamespace): Likewise.
28505         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28506         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28507         (test-xfail-ISO/time.h/linknamespace): Likewise.
28508         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28509         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28510         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28511         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28512         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28513         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28514         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28515         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28516         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28517         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28518         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28519         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28520         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28521         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28522         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28523         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28524         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28525         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28526         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28527         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28528         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28529         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28530         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28531         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28532         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28533         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28534         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28535         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28536         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28537         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28538         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28539         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28540         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28541         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28542         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28543         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28544         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28545         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28546         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28547         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28548         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28549         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28550         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28551         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28552         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28553         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28554         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28555         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28556         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28557         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28558         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28559         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28560         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28561         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28562         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28563         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28564         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28565         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28566         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28567         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28568         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28569         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28570         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28571         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28572         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28573         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28574         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28575         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28576         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28577         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28578         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28579         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28580         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28581         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28582         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28583         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28584         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28585         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28586         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28587         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28588         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28589         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28590         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28591         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28592         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28593         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28594         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28595         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28596         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28597         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28598         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28599         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28600         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28601         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28602         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28603         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28604         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28605         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28606         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28607         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28608         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28609         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28610         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28611         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28612         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28613         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28614         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28615         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28616         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28617         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28618         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28619         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28620         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28621         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28622         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28623         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28624         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28625         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28626         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28627         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28628         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28629         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28630         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28631         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28632         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28633         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28634         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28635         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28636         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28637         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28638         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28639         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28640         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28641         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28642         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28643         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28644         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28645         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28646         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28647         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28648         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28649         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28650         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28651         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28652         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28653         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28654         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28655         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28656         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28657         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28659         [BZ #17589]
28660         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28661         of fgets_unlocked.
28663         [BZ #17585]
28664         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28665         (memmem): Rename to __memmem and define as weak alias of
28666         __memmem.  Use libc_hidden_weak.
28667         (__memmem): Use libc_hidden_def.
28668         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28669         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28670         memmem.
28672         [BZ #17582]
28673         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28674         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28675         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28676         and define as weak alias of __fgets_unlocked.  Use
28677         libc_hidden_weak.
28678         (__fgets_unlocked): Use libc_hidden_def.
28679         * include/stdio.h (__fgets_unlocked): Declare.  Use
28680         libc_hidden_proto.
28681         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28682         __fgets_unlocked instead of fgets_unlocked.
28683         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28684         (GET_NPROCS_CONF_PARSER): Likewise.
28685         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28686         (GET_NPROCS_CONF_PARSER): Likewise.
28688         [BZ #17574]
28689         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28690         weak alias of __wmemset.  Use libc_hidden_weak.
28691         (__wmemset): Use libc_hidden_def.
28692         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28693         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28694         of wmemset.
28696         [BZ #17573]
28697         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28698         with asm name __mempcpy.
28699         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28701         [BZ #17572]
28702         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28703         and define as weak alias of __rawmemchr.
28704         (__rawmemchr): Do not define as strong alias of rawmemchr.
28706         [BZ #17571]
28707         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28708         alias of __qsort_r.
28709         (qsort): Call __qsort_r instead of qsort_r.
28710         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28711         (__qsort_r): Declare.  Call libc_hidden_proto.
28712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28713         instead of qsort_r.
28714         * nscd/gai.c (__qsort_r): Define to qsort_r.
28715         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28716         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28717         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28719         [BZ #17570]
28720         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28721         define as weak alias of __malloc_info.
28723         [BZ #17584]
28724         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28725         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28726         (__rewinddir): Use libc_hidden_def.
28727         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28728         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28729         (__rewinddir): Use libc_hidden_def.
28730         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28731         weak alias of __rewinddir.  Don't use libc_hidden_def.
28732         (__rewinddir): Use libc_hidden_def.
28733         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28734         (__rewinddir): Use libc_hidden_proto.
28735         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28736         rewinddir.
28737         (__getcwd): Use __rewinddir instead of rewinddir.
28739         [BZ #17583]
28740         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28741         alias of __fileno.  Use libc_hidden_weak.
28742         (__fileno): Use libc_hidden_def.
28743         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28744         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28745         alias of __ftello.
28746         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28747         __ftello.
28748         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28749         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28750         libc_hidden_def.
28751         (fread_unlocked): Don't use libc_hidden_ver.
28752         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28753         and define as weak alias of __fread_unlocked.  Don't use
28754         libc_hidden_def.
28755         (__fread_unlocked): Use libc_hidden_def.
28756         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28757         (ftello): Don't use libc_hidden_proto.
28758         (__ftello): Declare.  Use libc_hidden_proto.
28759         (fread_unlocked): Don't use libc_hidden_proto.
28760         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28761         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28762         and __ftello instead of fileno, fread_unlocked and ftello.
28764 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28766         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28767         GOT12.
28768         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28769         Likewise.
28770         (_dl_start_user): Likewise.
28771         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28773 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28774             Siddhesh Poyarekar  <siddhesh@redhat.com>
28776         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28777         Move argv and envp down instead of moving argc up.
28778         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28780 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28782         [BZ #17506]
28783         * test-skeleton.c (main): Return successful if one of
28784         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28785         * string/tst-strcoll-overflow.c: Define expected status.
28787 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28789         [BZ #17475]
28790         * locale/iso-639.def: Define Bhili and Tulu language codes.
28792 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28794         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28796 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28798         [BZ #17555]
28799         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28801 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28803         * configure.ac: Updated check of minimal required version to
28804         2.22.
28805         * manual/install.texi (Tools for Compilation): Updated version
28806         number.
28807         * configure: Regenerated.
28808         * INSTALL: Likewise.
28810 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28812         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28813         __tls_get_addr.
28815 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28817         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28818         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28819         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28820         libc_hidden_weak.
28821         (waitpid): Define as alias of __waitpid.
28822         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28823         __waitpid.
28824         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28825         libc_hidden_weak.
28826         (waitpid): Define as alias of __waitpid.
28827         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28828         __libc_waitpid alias.
28829         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28830         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28831         Likewise.
28832         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28834         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28835         alias.
28836         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28837         __waitpid.
28838         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28839         libc_hidden_weak.
28840         (waitpid): Define as alias of __waitpid.
28842 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28844         * manual/llio.texi: Add comment that write safety has been
28845         fixed in Linux.
28847         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28848         (localplt-build-dso): Add elf/ld.so.
28849         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28850         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28851         and free for ld.so.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28853         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28855         Likewise.
28856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28857         Likewise.
28858         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28859         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28860         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28861         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28862         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28863         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28864         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28865         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28866         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28867         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28870 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28872         [BZ #14132]
28873         * include/libc-symbols.h (INTUSE): Remove macro.
28874         (INTDEF): Likewise.
28875         (INTVARDEF): Likewise.
28876         (_INTVARDEF): Likewise.
28877         (INTDEF2): Likewise.
28878         (INTVARDEF2): Likewise.
28879         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28880         rtld_hidden_def instead of INTVARDEF.
28881         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28882         (_dl_starting_up_internal): Remove declaration.
28883         (_dl_starting_up): Use rtld_hidden_proto.
28884         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28885         declaration.
28886         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28887         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28888         _dl_starting_up.
28889         * elf/dl-writev.h (_dl_writev): Likewise.
28890         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28891         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28892         _dl_starting_up_internal.
28894 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28896         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28897         test-skeleton.c.
28899 2014-11-05  Will Newton  <will.newton@linaro.org>
28901         * benchtests/Makefile: (bench-malloc): Add malloc thread
28902         scalability benchmark.
28903         * benchtests/bench-malloc-threads.c: New file.
28905 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28907         * sysdeps/aarch64/strchrnul.S: New file.
28909 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28911         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28912         definition.
28913         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28914         Likwise.
28915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28916         Likewise.
28917         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28918         Likewise.
28919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28920         Likewise.
28921         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28922         Likewise.
28924 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28926         * catgets/test-gencat.c: Use test-skeleton.c.
28927         * catgets/tst-catgets.c: Likewise.
28928         * csu/tst-empty.c: Likewise.
28929         * elf/tst-audit2.c: Likewise.
28930         * elf/tst-global1.c: Likewise.
28931         * elf/tst-pathopt.c: Likewise.
28932         * elf/tst-piemod1.c: Likewise.
28933         * elf/tst-tls10.c: Likewise.
28934         * elf/tst-tls11.c: Likewise.
28935         * elf/tst-tls12.c: Likewise.
28936         * gnulib/tst-gcc.c: Likewise.
28937         * iconvdata/tst-e2big.c: Likewise.
28938         * iconvdata/tst-loading.c: Likewise.
28939         * iconv/tst-iconv1.c: Likewise.
28940         * iconv/tst-iconv2.c: Likewise.
28941         * inet/test-inet6_opt.c: Likewise.
28942         * inet/tst-gethnm.c: Likewise.
28943         * inet/tst-network.c: Likewise.
28944         * inet/tst-ntoa.c: Likewise.
28945         * intl/tst-codeset.c: Likewise.
28946         * intl/tst-gettext2.c: Likewise.
28947         * intl/tst-gettext3.c: Likewise.
28948         * intl/tst-ngettext.c: Likewise.
28949         * intl/tst-translit.c: Likewise.
28950         * io/test-stat.c: Likewise.
28951         * libio/test-fmemopen.c: Likewise.
28952         * libio/tst-freopen.c: Likewise.
28953         * libio/tst-sscanf.c: Likewise.
28954         * libio/tst-ungetwc1.c: Likewise.
28955         * libio/tst-ungetwc2.c: Likewise.
28956         * libio/tst-widetext.c: Likewise.
28957         * localedata/tst-ctype.c: Likewise.
28958         * localedata/tst-digits.c: Likewise.
28959         * localedata/tst-leaks.c: Likewise.
28960         * localedata/tst-mbswcs1.c: Likewise.
28961         * localedata/tst-mbswcs2.c: Likewise.
28962         * localedata/tst-mbswcs3.c: Likewise.
28963         * localedata/tst-mbswcs4.c: Likewise.
28964         * localedata/tst-mbswcs5.c: Likewise.
28965         * localedata/tst-setlocale.c: Likewise.
28966         * localedata/tst-trans.c: Likewise.
28967         * localedata/tst-wctype.c: Likewise.
28968         * localedata/tst-xlocale1.c: Likewise.
28969         * login/tst-grantpt.c: Likewise.
28970         * malloc/tst-calloc.c: Likewise.
28971         * malloc/tst-malloc.c: Likewise.
28972         * malloc/tst-mallocstate.c: Likewise.
28973         * malloc/tst-mcheck.c: Likewise.
28974         * malloc/tst-mtrace.c: Likewise.
28975         * malloc/tst-obstack.c: Likewise.
28976         * math/atest-exp2.c: Likewise.
28977         * math/atest-exp.c: Likewise.
28978         * math/atest-sincos.c: Likewise.
28979         * math/test-matherr.c: Likewise.
28980         * math/test-misc.c: Likewise.
28981         * math/test-powl.c: Likewise.
28982         * math/tst-definitions.c: Likewise.
28983         * misc/tst-dirname.c: Likewise.
28984         * misc/tst-efgcvt.c: Likewise.
28985         * misc/tst-fdset.c: Likewise.
28986         * misc/tst-hsearch.c: Likewise.
28987         * misc/tst-mntent2.c: Likewise.
28988         * nptl/tst-sem7.c: Likewise.
28989         * nptl/tst-sem8.c: Likewise.
28990         * nptl/tst-sem9.c: Likewise.
28991         * nss/test-netdb.c: Likewise.
28992         * posix/tst-fnmatch.c: Likewise.
28993         * posix/tst-getlogin.c: Likewise.
28994         * posix/tst-gnuglob.c: Likewise.
28995         * posix/tst-mmap.c: Likewise.
28996         * pwd/tst-getpw.c: Likewise.
28997         * resolv/tst-inet_ntop.c: Likewise.
28998         * rt/tst-timer.c: Likewise.
28999         * stdio-common/test-fseek.c: Likewise.
29000         * stdio-common/test-popen.c: Likewise.
29001         * stdio-common/test-vfprintf.c: Likewise.
29002         * stdio-common/tst-cookie.c: Likewise.
29003         * stdio-common/tst-fileno.c: Likewise.
29004         * stdio-common/tst-gets.c: Likewise.
29005         * stdio-common/tst-obprintf.c: Likewise.
29006         * stdio-common/tst-perror.c: Likewise.
29007         * stdio-common/tst-sprintf2.c: Likewise.
29008         * stdio-common/tst-sprintf3.c: Likewise.
29009         * stdio-common/tst-sprintf.c: Likewise.
29010         * stdio-common/tst-swprintf.c: Likewise.
29011         * stdio-common/tst-tmpnam.c: Likewise.
29012         * stdio-common/tst-unbputc.c: Likewise.
29013         * stdio-common/tst-wc-printf.c: Likewise.
29014         * stdlib/tst-environ.c: Likewise.
29015         * stdlib/tst-fmtmsg.c: Likewise.
29016         * stdlib/tst-limits.c: Likewise.
29017         * stdlib/tst-rand48-2.c: Likewise.
29018         * stdlib/tst-rand48.c: Likewise.
29019         * stdlib/tst-random2.c: Likewise.
29020         * stdlib/tst-random.c: Likewise.
29021         * stdlib/tst-strtol.c: Likewise.
29022         * stdlib/tst-strtoll.c: Likewise.
29023         * stdlib/tst-tls-atexit.c: Likewise.
29024         * stdlib/tst-xpg-basename.c: Likewise.
29025         * string/test-ffs.c: Likewise.
29026         * string/tst-bswap.c: Likewise.
29027         * string/tst-inlcall.c: Likewise.
29028         * string/tst-strtok.c: Likewise.
29029         * string/tst-strxfrm.c: Likewise.
29030         * sysdeps/x86_64/tst-audit10.c: Likewise.
29031         * sysdeps/x86_64/tst-audit3.c: Likewise.
29032         * sysdeps/x86_64/tst-audit4.c: Likewise.
29033         * sysdeps/x86_64/tst-audit5.c: Likewise.
29034         * time/tst-ftime_l.c: Likewise.
29035         * time/tst-getdate.c: Likewise.
29036         * time/tst-mktime3.c: Likewise.
29037         * time/tst-mktime.c: Likewise.
29038         * time/tst-posixtz.c: Likewise.
29039         * time/tst-strptime2.c: Likewise.
29040         * time/tst-strptime3.c: Likewise.
29041         * wcsmbs/tst-btowc.c: Likewise.
29042         * wcsmbs/tst-mbrtowc.c: Likewise.
29043         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29044         * wcsmbs/tst-wchar-h.c: Likewise.
29045         * wcsmbs/tst-wcpncpy.c: Likewise.
29046         * wcsmbs/tst-wcrtomb.c: Likewise.
29047         * wcsmbs/tst-wcsnlen.c: Likewise.
29048         * wcsmbs/tst-wcstof.c: Likewise.
29050 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29052         [BZ #14132]
29053         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29054         INTDEF.
29055         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29056         declaration.
29057         (_dl_mcount): Use rtld_hidden_proto.
29058         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29059         _dl_mcount.
29060         * elf/rtld.c (_rtld_global_ro): Likewise.
29062         [BZ #14132]
29063         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29064         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29065         of _dl_init_internal.
29066         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29067         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29068         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29069         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29070         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29071         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29072         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29073         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29074         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29075         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29076         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29077         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29078         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29079         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29080         * sysdeps/tile/dl-start.S (_start): Likewise.
29081         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29082         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29084         [BZ #14132]
29085         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29086         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29087         (rtld_progname): Make macro definition unconditional.
29088         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29089         INTDEF.
29090         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29091         (dl_main): Likewise.
29092         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29093         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29094         instead of _dl_argv_internal.
29095         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29096         __GI__dl_argv instead of INTUSE(_dl_argv).
29097         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29098         __GI__dl_argv instead of _dl_argv_internal.
29100         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29101         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29102         macro.
29103         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29104         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29105         New macro.
29106         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29107         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29108         macro.
29109         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29110         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29112 2014-11-04  Andreas Schwab  <schwab@suse.de>
29114         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29116 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29118         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29119         mtvsrd instruction in binary form.
29121 2014-11-03  Andreas Schwab  <schwab@suse.de>
29123         [BZ #17522]
29124         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29125         for less than MB_LEN_MAX use a local buffer of that size.
29126         * libio/tst-fputws.c: New file.
29127         * libio/Makefile (tests): Add tst-fputws.
29129 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29131         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29132         the size of the fpu_fr.fpu_dregs[] array.
29134 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29136         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29137         (__nanosleep): Do not define as alias.
29138         (nanosleep): Define as alias of __nanosleep.
29139         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29140         __libc_nanosleep name.
29142 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29144         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29145         install.texi in comment.
29147 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29149         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29150         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29151         ... add here and use lwsync or sync ...
29152         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29153         ... and add here using lwsync.
29155 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29157         * elf/dl-machine-reject-phdr.h: New file.
29158         * elf/dl-load.c: #include that.
29159         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29160         if that returned true.
29162 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29164         [BZ #17496]
29165         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29166         gen-as-const-headers chunk.  Add a big scare comment after the last
29167         safe place to touch before-compile.
29169 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29171         * manual/install.texi (Tools for Compilation): Update autoconf
29172         version requirements.
29173         * INSTALL: Regenerated.
29175         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29176         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29177         (__libc_pselect): Likewise.
29179         [BZ #14138]
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29185 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29187         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29188         correct barrier instruction.
29189         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29190         Likewise.
29191         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29192         Likewise.
29194 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29196         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29197         after defining inlines.  Instead, just use parens to defeat macro
29198         expansion of __isctype in its declaration.
29200 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29202         * include/sys/uio.h (__libc_readv): Remove declaration.
29203         (__libc_writev): Likewise.
29204         * misc/readv.c (__libc_readv): Rename to __readv.
29205         (__readv): Do not define as alias.
29206         (readv): Define as alias of __readv.
29207         * misc/writev.c (__libc_writev): Rename to __writev.
29208         (__writev): Do not define as alias.
29209         (writev): Define as alias of __writev.
29210         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29211         (__readv): Do not define as alias.
29212         (readv): Define unconditionally as alias of __readv.
29213         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29214         (__writev): Do not define as alias.
29215         (writev): Define unconditionally as alias of __writev.
29216         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29217         name.
29218         (writev): Do not define __libc_writev name.
29220 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29222         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29223         (convert_charseq): New function, broken out of ...
29224         (use_from_charmap): ... here.  Call it.
29225         (use_to_charmap): Use convert_charseq and free instead of duplicating
29226         its code with a variable-length stack struct.
29228 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29230         * include/fcntl.h (__libc_creat): Remove declaration.
29231         * io/creat.c (__libc_creat): Rename to creat.
29232         (creat): Do not define as alias.
29233         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29234         of creat instead of __libc_creat.
29235         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29236         to creat.
29237         (creat): Do not define as alias.
29238         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29239         __libc_creat.
29240         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29241         __libc_creat name.
29242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29243         Likewise.
29245 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29247         * manual/llio.texi: Add comments discussing why write() may be
29248         considered MT-unsafe on Linux.
29250 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29252         * dl-load.c (local_strdup): Remove.
29253         (expand_dynamic_string_token): Use __strdup.
29254         (decompose_rpath): Likewise.
29255         (_dl_map_object): Likewise.
29257 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29259         [BZ #14132]
29260         * sysdeps/generic/unwind-dw2-fde.c
29261         (__register_frame_info_bases_internal): Do not declare.
29262         (__register_frame_info_table_bases_internal): Likewise.
29263         (__deregister_frame_info_bases_internal): Likewise.
29264         (__register_frame_info_bases): Declare and use hidden_proto before
29265         definition.  Use hidden_def instead of INTDEF.
29266         (__register_frame_info_table_bases): Likewise.
29267         (__deregister_frame_info_bases): Likewise.
29268         (__register_frame_info): Do not use INTUSE.
29269         (__register_frame): Likewise.
29270         (__register_frame_info_table): Likewise.
29271         (__register_frame_table): Likewise.
29272         (__deregister_frame_info): Likewise.
29273         (__deregister_frame): Likewise.
29275 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29278         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29279         not undefine.
29280         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29281         Likewise.
29282         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29283         Likewise.
29285 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29287         [BZ #14138]
29288         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29289         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29290         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29291         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29292         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29293         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29294         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29295         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29296         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29297         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29298         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29299         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29300         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29301         syscall.
29302         (setfsuid): Likewise.
29303         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29304         (setfsuid): Likewise.
29305         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29306         (setfsuid): Likewise.
29307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29308         Likewise.
29309         (setfsuid): Likewise.
29310         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29311         (setfsuid): Likewise.
29312         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29313         Likewise.
29314         (setfsuid): Likewise.
29316 2014-10-27  Andreas Schwab  <schwab@suse.de>
29318         [BZ #17501]
29319         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29320         check for Slow_SSE4_2 feature bit.
29321         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29322         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29323         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29324         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29326 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29328         * configure.ac: Validate compiler version with a empirical test of
29329         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29330         $CC -v output.
29331         * configure: Regenerated.
29333         * inet/htons.c (htons): Prototypify.
29334         * inet/htonl.c (htonl): Likewise.
29336 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29338         * string/strncat.c (strncat): Improve performance by using strlen.
29340 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29342         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29344 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29346         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29347         Call libc_fetestexcept_aarch64.
29349 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29351         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29352         Call libc_feholdexcept_aarch64.
29354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29356         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29357         Call get_rounding_mode.
29359 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29361         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29362         Simplify logic.
29364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29366         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29367         Simplify logic.
29369 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29371         [BZ #14138]
29372         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29373         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29374         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29375         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29376         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29377         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29378         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29379         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29380         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29381         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29382         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29383         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29384         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29385         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29386         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29387         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29388         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29389         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29390         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29391         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29392         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29393         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29394         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29395         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29396         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29397         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29398         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29399         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29400         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29401         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29402         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29403         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29404         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29405         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29406         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29407         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29408         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29409         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29410         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29411         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29412         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29413         syscall.
29414         (geteuid): Likewise.
29415         (getgid): Likewise.
29416         (getuid): Likewise.
29417         (getresgid): Likewise.
29418         (getresuid): Likewise.
29419         (getgroups): Likewise.
29420         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29421         (geteuid): Likewise.
29422         (getgid): Likewise.
29423         (getuid): Likewise.
29424         (getresgid): Likewise.
29425         (getresuid): Likewise.
29426         (getgroups): Likewise.
29427         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29428         (geteuid): Likewise.
29429         (getgid): Likewise.
29430         (getuid): Likewise.
29431         (getresgid): Likewise.
29432         (getresuid): Likewise.
29433         (getgroups): Likewise.
29434         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29435         Likewise.
29436         (geteuid): Likewise.
29437         (getgid): Likewise.
29438         (getuid): Likewise.
29439         (getresgid): Likewise.
29440         (getresuid): Likewise.
29441         (getgroups): Likewise.
29442         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29443         (geteuid): Likewise.
29444         (getgid): Likewise.
29445         (getuid): Likewise.
29446         (getresgid): Likewise.
29447         (getresuid): Likewise.
29448         (getgroups): Likewise.
29449         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29450         Likewise.
29451         (geteuid): Likewise.
29452         (getgid): Likewise.
29453         (getuid): Likewise.
29454         (getgroups): Likewise.
29456         [BZ #14138]
29457         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29458         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29459         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29460         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29461         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29462         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29463         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29464         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29465         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29466         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29467         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29468         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29470         __chown.
29471         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29472         (lchown): Likewise.
29473         (fchown): Likewise.
29474         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29475         Likewise.
29476         (lchown): Likewise.
29477         (fchown): Likewise.
29478         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29479         (lchown): Likewise.
29480         (fchown): Likewise.
29481         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29482         Likewise.
29483         (lchown): Likewise.
29484         (fchown): Likewise.
29486 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29488         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29489         Simplify logic.
29491 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29493         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29494         Cleanup logic.
29496 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29498         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29499         Remove unused include.
29501 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29503         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29504         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29505         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29506         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29508 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29509             Helge Deller <deller@gmx.de>
29511         [BZ #17508]
29512         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29513         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29514         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29516 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29518         [BZ #14132]
29519         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29520         Remove macro definition.
29521         (__ashrdi3_v_glibc20): Likewise.
29522         (__lshrdi3_v_glibc20): Likewise.
29523         (__cmpdi2_v_glibc20): Likewise.
29524         (__ucmpdi2_v_glibc20): Likewise.
29525         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29526         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29527         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29528         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29529         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29530         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29532 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29534         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29535         old GNU extension [0] syntax.
29536         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29537         alloca rather than an array member with variable length.
29538         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29539         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29540         (parse_opt): ... here.  Likewise use alloca there.
29541         Validate the -i argument before checking for rootness.
29542         (send_shutdown): New function, broken out of ...
29543         (parse_opt): ... here.
29545 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29547         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29548         macro to get at the _rt_local_ro field.
29549         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29550         ([PIC] case) or _dl_hwcap ([!PIC] case).
29551         * sysdeps/arm/setjmp.S: Likewise.
29553         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29554         * sysdeps/arm/configure.ac: New check to define it.
29555         * sysdeps/arm/configure: Regenerated.
29556         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29557         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29558         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29559         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29560         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29561         Use move/movt pair instead of a load.
29562         (LDST_GLOBAL): Macro removed.
29563         (LDR_GLOBAL): New macro replaces it.
29564         (LDR_HIDDEN): New macro.
29565         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29566         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29568         * setjmp/tst-setjmp-static.c: New file.
29569         * setjmp/Makefile (tests): Add it.
29570         (tests-static): New variable.
29572 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29574         [BZ #17485]
29575         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29577 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29579         [BZ #14132]
29580         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29582 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29584         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29586 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29588         * io/fts.c (dirent_not_directory): New function.
29589         (fts_build): Call it.
29591 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29593         * nptl/version.c (__nptl_main): Use normal __write rather than
29594         INTERNAL_SYSCALL.
29595         (banner): Update copyright years.
29597         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29598         gettimeofday.
29599         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29600         * nptl/pthread_cond_timedwait.c: Likewise.
29601         * nptl/pthread_mutex_timedlock.c: Likewise.
29602         * nptl/sem_timedwait.c: Likewise.
29604         * sysdeps/nptl/bits/libc-lock.h
29605         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29606         (__libc_lock_init_recursive): Return void, not 0.
29607         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29608         (__libc_rwlock_init): Likewise.
29609         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29611 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29613         [BZ #15215]
29614         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29615         (__pthread_once_slow): ... here.
29616         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29617         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29619 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29621         [BZ #15215]
29622         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29623         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29624         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29625         * nptl/pthread_once.c (__pthread_once): Likewise.
29626         Update comments.
29628 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29630         [BZ #14138]
29631         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29632         name.
29633         (writev): Use __libc_writev as strong name.
29634         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29635         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29637 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29639         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29641         * sysdeps/i386/nptl/tls.h
29642         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29643         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29644         New macros.
29645         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29646         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29647         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29648         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29649         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29650         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29652         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29653         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29654         on [__NR_futex].
29655         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29656         broken out of ...
29657         (__pthread_mutex_init): ... here.  Call it.
29658         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29659         Conditionalize PI cases on [__NR_futex].
29660         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29661         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29662         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29664         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29665         conditional on [SIGSETXID].
29666         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29667         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29668         is defined.  Likewise for SIGSETXID.
29669         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29670         Conditionalize definitions on [SIGSETXID].
29671         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29672         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29673         unblocking on [SIGCANCEL].
29675         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29676         [__NR_set_robust_list].
29678 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29680         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29681         (do_compare): Likewise.
29683 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29685         [BZ #15884]
29686         * string/strcoll_l.c: Don't include stdio.h.
29687         (coll_seq): Remove members idxarr and rulearr.
29688         (get_next_seq_cached): Remove function.
29689         (get_next_seq): Likewise.
29690         (get_next_seq_nocache): Rename to get_next_seq.
29691         (do_compare): Remove function.
29692         (do_compare_nocache): Rename to do_compare.
29693         (STRCOLL): Remove weight and rules cache.
29695 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29697         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29698         * sysdeps/arm/sfp-machine.h: ... to here.
29699         * sysdeps/arm/Implies: Remove arm/soft-fp.
29701 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29703         * conform/data/sys/utsname.h-data (*_t): Allow.
29704         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29705         [POSIX] (WEXITED): Do not expect constant.
29706         [POSIX] (WSTOPPED): Likewise.
29707         [POSIX] (WNOHANG): Likewise.
29708         [POSIX] (WNOWAIT): Likewise.
29709         [POSIX] (siginfo_t): Do not expect type or elements.
29710         [POSIX] (pid_t): Do not expect type.
29711         [POSIX] (signal.h): Do not allow header.
29712         [POSIX] (sys/resource.h): Likewise.
29713         [POSIX] (si_*): Do not allow pattern.
29714         [POSIX] (W*): Likewise.
29715         [POSIX] (P_*): Likewise.
29716         [POSIX] (BUS_*): Likewise.
29717         [POSIX] (CLD_*): Likewise.
29718         [POSIX] (FPE_*): Likewise.
29719         [POSIX] (ILL_*): Likewise.
29720         [POSIX] (POLL_*): Likewise.
29721         [POSIX] (SEGV_*): Likewise.
29722         [POSIX] (SI_*): Likewise.
29723         [POSIX] (TRAP_*): Likewise.
29724         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29725         variable.
29727 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29729         [BZ #12926]
29730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29731         infinite loop when __recvmsg returns 0.
29733 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29735         * CANCEL-FCT-WAIVE: Remove file.
29736         * CANCEL-FILE-WAIVE: Likewise.
29738         [BZ #14132]
29739         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29740         instead of INTVARDEF.
29741         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29742         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29743         rtld_hidden_data_def instead of INTVARDEF.
29744         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29745         * elf/dl-deps.c (expand_dst): Likewise.
29746         * elf/dl-load.c (_dl_dst_count): Likewise.
29747         (_dl_dst_substitute): Likewise.
29748         (decompose_rpath): Likewise.
29749         (_dl_init_paths): Likewise.
29750         (open_path): Likewise.
29751         (_dl_map_object): Likewise.
29752         * elf/rtld.c (dl_main): Likewise.
29753         (process_dl_audit): Likewise.
29754         (process_envvars): Likewise.
29755         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29756         Remove declaration.
29757         (__libc_enable_secure): Use rtld_hidden_proto.
29759 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29761         * elf/dl-load.c
29762         (add_path): New function broken out of _dl_rtld_di_serinfo.
29763         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29765 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29767         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29768         parentheses around macro arguments.
29769         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29772         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29773         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29780         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29781         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29782         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29784         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29785         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29796         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29797         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29798         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29800         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29801         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29802         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29803         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29804         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29805         Likewise.
29806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29807         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29808         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29809         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29811         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29812         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29813         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29814         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29815         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29816         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29817         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29818         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29819         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29820         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29821         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29822         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29824         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29825         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29826         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29827         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29828         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29829         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29830         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29831         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29832         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29833         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29834         (_FP_FRAC_SRS_1): Likewise.
29835         (_FP_FRAC_CLZ_1): Likewise.
29836         (_FP_MUL_MEAT_1_imm): Likewise.
29837         (_FP_MUL_MEAT_1_wide): Likewise.
29838         (_FP_MUL_MEAT_1_hard): Likewise.
29839         (_FP_SQRT_MEAT_1): Likewise.
29840         (_FP_FRAC_ASSEMBLE_1): Likewise.
29841         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29842         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29843         (__FP_CLZ_2): Likewise.
29844         (_FP_MUL_MEAT_2_wide): Likewise.
29845         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29846         (_FP_MUL_MEAT_2_gmp): Likewise.
29847         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29848         (_FP_SQRT_MEAT_2): Likewise.
29849         (_FP_FRAC_ASSEMBLE_2): Likewise.
29850         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29851         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29852         (_FP_FRAC_CLZ_4): Likewise.
29853         (_FP_MUL_MEAT_4_wide): Likewise.
29854         (_FP_MUL_MEAT_4_gmp): Likewise.
29855         (_FP_SQRT_MEAT_4): Likewise.
29856         (_FP_FRAC_ASSEMBLE_4): Likewise.
29857         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29858         * soft-fp/op-common.h (_FP_CMP): Likewise.
29859         (_FP_CMP_EQ): Likewise.
29860         (_FP_CMP_UNORD): Likewise.
29861         (_FP_TO_INT): Likewise.
29862         (_FP_FROM_INT): Likewise.
29863         [!__FP_CLZ] (__FP_CLZ): Likewise.
29864         (_FP_DIV_HELP_imm): Likewise.
29865         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29866         Likewise.
29867         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29868         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29869         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29870         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29871         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29876         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29877         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29878         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29879         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29880         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29881         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29882         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29883         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29884         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29885         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29886         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29887         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29888         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29894         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29895         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29896         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29897         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29898         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29899         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29900         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29901         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29902         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29903         (FP_UNPACK_RAW_SP): Likewise.
29904         (FP_PACK_RAW_S): Likewise.
29905         (FP_PACK_RAW_SP): Likewise.
29906         (FP_UNPACK_S): Likewise.
29907         (FP_UNPACK_SP): Likewise.
29908         (FP_UNPACK_SEMIRAW_S): Likewise.
29909         (FP_UNPACK_SEMIRAW_SP): Likewise.
29910         (FP_PACK_S): Likewise.
29911         (FP_PACK_SP): Likewise.
29912         (FP_PACK_SEMIRAW_S): Likewise.
29913         (FP_PACK_SEMIRAW_SP): Likewise.
29914         (_FP_SQRT_MEAT_S): Likewise.
29915         (FP_CMP_S): Likewise.
29916         (FP_CMP_EQ_S): Likewise.
29917         (FP_CMP_UNORD_S): Likewise.
29918         (FP_TO_INT_S): Likewise.
29919         (FP_FROM_INT_S): Likewise.
29921         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29923         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29924         (FP_EX_INVALID_IMZ): Likewise.
29925         (FP_EX_INVALID_IMZ_FMA): Likewise.
29926         (FP_EX_INVALID_ISI): Likewise.
29927         (FP_EX_INVALID_ZDZ): Likewise.
29928         (FP_EX_INVALID_IDI): Likewise.
29929         (FP_EX_INVALID_SQRT): Likewise.
29930         (FP_EX_INVALID_CVI): Likewise.
29931         (FP_EX_INVALID_VC): Likewise.
29932         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29933         "invalid" exceptions.
29934         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29935         (_FP_ADD_INTERNAL): Likewise.
29936         (_FP_MUL): Likewise.
29937         (_FP_FMA): Likewise.
29938         (_FP_DIV): Likewise.
29939         (_FP_CMP_CHECK_NAN): Likewise.
29940         (_FP_SQRT): Likewise.
29941         (_FP_TO_INT): Likewise.
29942         (FP_EXTEND): Likewise.
29944 2014-10-09  Allan McRae  <allan@archlinux.org>
29946         * po/fr.po: Update French translation from translation project.
29948 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29950         [BZ #14132]
29951         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29952         of INTDEF.
29953         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29954         (__cxa_atexit): Use libc_hidden_proto.
29955         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29957         [BZ #14132]
29958         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29959         declaration.
29960         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29961         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29962         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29963         [!_ISOMAC] (__iswctype_internal): Likewise.
29964         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29965         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29966         alias.
29967         (fcntl): Remove __fcntl_internal alias.
29968         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29969         __connect_internal alias.
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29971         Likewise.
29973         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29974         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29975         FP_DENORM_ZERO.
29976         (_FP_CHECK_FLUSH_ZERO): New macro.
29977         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29978         (_FP_CMP): Likewise.
29979         (_FP_CMP_EQ): Likewise.
29980         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29981         FP_DENORM_ZERO.
29982         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29983         (FP_TRUNC): Likewise.
29985         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29986         treated as invalid conversion, not as normal exponent.
29988         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29989         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29990         (_FP_CMP_EQ): Likewise.
29991         (_FP_CMP_UNORD): Likewise.
29992         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29993         (FP_CMP_EQ_D): Likewise.
29994         (FP_CMP_UNORD_D): Likewise.
29995         * soft-fp/extended.h (FP_CMP_E): Likewise.
29996         (FP_CMP_EQ_E): Likewise.
29997         (FP_CMP_UNORD_E): Likewise.
29998         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29999         (FP_CMP_EQ_Q): Likewise.
30000         (FP_CMP_UNORD_Q): Likewise.
30001         * soft-fp/single.h (FP_CMP_S): Likewise.
30002         (FP_CMP_EQ_S): Likewise.
30003         (FP_CMP_UNORD_S): Likewise.
30004         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30005         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30006         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30007         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30008         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30009         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30010         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30011         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30012         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30013         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30014         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30015         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30016         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30017         to FP_CMP_Q.
30018         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30019         FP_CMP_Q.
30020         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30021         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30022         FP_CMP_EQ_Q.
30023         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30024         FP_CMP_Q.
30025         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30026         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30027         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30028         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30029         FP_CMP_EQ_Q.
30030         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30031         FP_CMP_Q.
30032         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30033         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30034         FP_CMP_EQ_Q.
30035         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30036         FP_CMP_Q.
30037         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30038         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30039         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30040         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30041         FP_CMP_EQ_Q.
30043         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30044         a subnormal result, set the underflow exception if trapping on
30045         underflow is enabled.
30046         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30047         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30048         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30049         redefine to 0.
30050         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30051         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30052         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30053         * soft-fp/extendxftf2.c (__extendxftf2): Use
30054         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30056         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30057         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30058         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30059         FP_HANDLE_EXCEPTIONS.
30060         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30061         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30062         FP_HANDLE_EXCEPTIONS.
30063         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30064         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30065         FP_HANDLE_EXCEPTIONS.
30066         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30067         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30068         FP_HANDLE_EXCEPTIONS.
30070 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30072         [BZ #14132]
30073         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30074         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30075         use INTUSE.
30076         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30077         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30078         Remove alias.
30079         (__adjtimex): Define using libc_hidden_ver.
30080         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30081         Remove declaration.
30082         (ntp_gettime): Call __adjtimex directly.
30083         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30084         Remove declaration.
30085         (ntp_gettimex): Call __adjtimex directly.
30086         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30087         __adjtimex_internal alias.
30089 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30091         [BZ #17460]
30092         * nscd/nscd.c (more_help): Rewrite list of tables collection
30093         using xstrdup and asprintf.
30095         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30097 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30098             Roland McGrath  <roland@hack.frob.com>
30100         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30101         (do_lookup_unique): ... local function 'enter' here; update callers.
30103 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30105         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30106         compat_symbol calls on [SHARED].
30107         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30108         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30109         Remove.
30110         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30111         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30112         (oldsetrlimit): Remove.
30113         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30115         (lchown): New syscall entry.
30116         (oldsetrlimit): Remove.
30117         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30119         (oldsetrlimit): Remove.
30120         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30122         [BZ #14138]
30123         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30124         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30125         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30126         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30128         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30129         (fchown): Likewise.
30130         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30131         (fchown): Likewise.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30133         Likewise.
30135 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30138         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30139         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30140         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30141         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30142         Likewise.
30143         (__old_sem_post): Likewise.
30145 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30147         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30148         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30149         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30150         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30151         Use INLINE_VSYSCALL macro.
30152         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30153         __vdso_clock_gettime.
30154         * sysdeps/unix/sysv/linux/tile/init-first.c
30155         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30156         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30157         __vdso_clock_gettime.
30159         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30160         to set up frame more cleanly.
30162         * sysdeps/tile/memcmp.c: New file.
30164         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30166         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30167         * sysdeps/tile/tilegx/strcasestr.c: New file.
30168         * sysdeps/tile/tilegx/strnlen.c: New file.
30169         * sysdeps/tile/tilegx/strstr.c: New file.
30171         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30173 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30175         * nptl/tst-setuid3.c: Write errors to stdout.
30177 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30179         * elf/dl-deps.c
30180         (preload): New functions broken out of _dl_map_object_deps.
30181         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30183 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30185         [BZ #14138]
30186         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30187         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30189 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30191         * sysdeps/mips/strcmp.S: New.
30193 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30195         [BZ #14138]
30196         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30197         (linkat): Likewise.
30198         (mkdirat): Likewise.
30199         (readlinkat): Likewise.
30200         (renameat): Likewise.
30201         (symlinkat): Likewise.
30202         (unlinkat): Likewise.
30203         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30204         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30205         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30206         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30207         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30208         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30209         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30211 2014-09-30  Will Newton  <will.newton@linaro.org>
30213         * math/math.h: Define long double math functions if
30214         _LIBC_TEST is defined.
30215         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30217         * localedata/Makefile: Move assignment to tests-special
30218         into an ifdef testing run-built-tests.
30219         * timezone/Makefile: Likewise.
30221 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30223         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30224         with $(BASH) not $(SHELL).
30226 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30227             Matthew LeGendre  <legendre1@llnl.gov>
30229         [BZ #17411]
30230         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30231         l_reloc_result.
30233 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30235         * stdio-common/printf_fp.c
30236         (hack_digit): New function, broken out of ...
30237         (__printf_fp): ... local function here.  Update call sites.
30238         hack_digit now takes an additional parameter that is a pointer
30239         to a struct of the referenced locals.  Those locals moved inside
30240         the struct and references updated.
30242 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30244         * aclocal.m4: Require autoconf 2.69.
30245         * configure: Regenerated.
30246         * sysdeps/aarch64/configure: Likewise.
30247         * sysdeps/alpha/configure: Likewise.
30248         * sysdeps/arm/armv7/configure: Likewise.
30249         * sysdeps/arm/configure: Likewise.
30250         * sysdeps/ia64/configure: Likewise.
30251         * sysdeps/mach/configure: Likewise.
30252         * sysdeps/mips/configure: Likewise.
30253         * sysdeps/s390/configure: Likewise.
30254         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30257         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30258         file.
30259         * sysdeps/ia64/configure.ac: Likewise.
30261 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30264         specify symbol version for ld.so.  Do not include entry for
30265         libpthread.
30266         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30267         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30268         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30270         [BZ #14171]
30271         * Makeconfig [$(build-shared) = yes]
30272         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30273         makefiles.
30274         [$(build-shared) = yes && $(soversions.mk-done) = t]
30275         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30276         [$(build-shared) = yes && $(soversions.mk-done) = t]
30277         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30278         to Makerules.
30279         [$(build-shared) = yes && $(soversions.mk-done) = t]
30280         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30281         here.
30282         [$(build-shared) = yes && $(soversions.mk-done) = t]
30283         (common-generated): Don't append gnu/lib-names.h and
30284         gnu/lib-names.stmp here.
30285         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30286         (lib-names-h-abi): New variable.
30287         [$(build-shared) = yes && $(soversions.mk-done) = t]
30288         (lib-names-stmp-abi): Likewise.
30289         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30290         abi-variants] (before-compile): Append
30291         $(common-objpfx)$(lib-names-h-abi).
30292         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30293         abi-variants] (common-generated): Append gnu/lib-names.h.
30294         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30295         abi-variants] (install-others-nosubdir): Depend on
30296         $(inst_includedir)/$(lib-names-h-abi).
30297         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30298         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30299         [$(build-shared) = yes && $(soversions.mk-done) = t]
30300         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30301         [$(build-shared) = yes && $(soversions.mk-done) = t]
30302         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30303         [$(build-shared) = yes && $(soversions.mk-done) = t]
30304         (common-generated): Append $(lib-names-h-abi) and
30305         $(lib-names-stmp-abi).
30306         * scripts/lib-names.awk: Do not handle multi being set.
30307         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30308         Remove variable.
30309         (abi-lp64_be-ld-soname): Likewise.
30310         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30311         Likewise.
30312         (abi-hard-ld-soname): Likewise.
30313         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30314         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30315         Remove variable.
30316         (abi-o32_hard-ld-soname): Likewise.
30317         (abi-o32_soft_2008-ld-soname): Likewise.
30318         (abi-o32_hard_2008-ld-soname): Likewise.
30319         (abi-n32_soft-ld-soname): Likewise.
30320         (abi-n32_hard-ld-soname): Likewise.
30321         (abi-n32_soft_2008-ld-soname): Likewise.
30322         (abi-n32_hard_2008-ld-soname): Likewise.
30323         (abi-n64_soft-ld-soname): Likewise.
30324         (abi-n64_hard-ld-soname): Likewise.
30325         (abi-n64_soft_2008-ld-soname): Likewise.
30326         (abi-n64_hard_2008-ld-soname): Likewise.
30327         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30328         Likewise.
30329         (abi-64-v2-ld-soname): Likewise.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30331         ld.so entries.
30332         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30333         variable.
30334         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30335         entry.
30336         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30337         variable.
30338         (abi-64-ld-soname): Likewise.
30339         (abi-x32-ld-soname): Likewise.
30340         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30341         entry.
30342         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30344 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30346         [BZ #14138]
30347         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30348         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30349         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30350         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30351         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30352         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30353         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30354         syscall entry for GLIBC_2.2 symbol version.
30355         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30356         Likewise.
30357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30358         (setrlimit): Likewise.
30359         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30360         Likewise.
30362 2014-09-23  Will Newton  <will.newton@linaro.org>
30364         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30365         _LINUX_ARM_SYSDEP_H include guard too.
30366         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30367         define.
30369 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30371         * sysdeps/unix/sysv/linux/eventfd.c:
30372         Make first argument unsigned.
30373         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30374         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30376 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30378         [BZ #16852]
30379         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30380         * socket/sys/socket.h: Likewise.
30381         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30383 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30385         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30387 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30389         * time/tst-ftime.c: New test.
30390         * time/Makefile (tests): Add tst-ftime.
30392 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30394         * soft-fp/extended.h: Fix comment formatting.
30395         * soft-fp/op-1.h: Likewise.
30396         * soft-fp/op-2.h: Likewise.
30397         * soft-fp/op-4.h: Likewise.
30398         * soft-fp/op-8.h: Likewise.
30399         * soft-fp/op-common.h: Likewise.
30400         * soft-fp/soft-fp.h: Likewise.
30402         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30404 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30406         [BZ #6652]
30407         * Makeconfig (soversions-default-setname): Remove variable.
30408         ($(common-objpfx)soversions.i): Don't pass default_setname to
30409         soversions.awk.
30410         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30411         oldest_abi to abi-versions.awk.
30412         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30413         * config.make.in (oldest-abi): Remove variable.
30414         * configure.ac (--enable-oldest-abi): Remove configure option.
30415         * configure: Regenerated.
30416         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30417         text.
30418         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30419         * scripts/soversions.awk: Do not handle default_setname variable.
30420         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30421         variable.
30422         * sysdeps/mach/hurd/configure: Regenerated.
30423         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30424         variable.
30425         * sysdeps/unix/sysv/linux/configure: Regenerated.
30427 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30429         * elf/Makefile (CFLAGS-interp.c): Remove.
30430         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30431         path string.
30432         * elf/interp.c: Include generated runtime-linker.h
30434         * Makerules (lib%.so): Don't include $(+interp) in
30435         prerequisites.
30436         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30437         * dlfcn/eval.c: Remove file.
30439         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30440         macros.
30442         [BZ #17266]
30443         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30444         4.2 and newer.
30446         [BZ #17370]
30447         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30449 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30450             Jakub Jelinek  <jakub@redhat.com>
30452         [BZ #17266]
30453         * libio/stdio.h: Check definition of __fortify_function
30454         instead of __extern_always_inline to include bits/stdio2.h.
30455         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30456         check if __extern_always_inline is defined.
30457         [__USE_MISC || __USE_XOPEN]: Likewise.
30458         [__USE_ISOC99] Likewise.
30459         * misc/sys/cdefs.h (__fortify_function): Define only if
30460         __extern_always_inline is defined.
30461         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30462         __extern_always_inline and __extern_inline only for g++-4.3
30463         and newer or a compatible gcc.
30465 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30467         [BZ #17371]
30468         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30469         last change to handle zero prefix length.
30471 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30474         _SC_REGEX_VERSION.
30476         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30477         _POSIX_RAW_SOCKETS.
30479 2014-09-13  Allan McRae  <allan@archlinux.org>
30481         * po/ru.po: Update Russian translation from translation project.
30483 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30485         * locale/programs/locale.c (show_locale_vars): Inline local function
30486         into its sole call site.  Clean up some style nits.
30487         (print_item): New function, broken out of ...
30488         (show_info): ... local function here.  Clean up style nits.
30490         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30491         out of ...
30492         (set_class_defaults): ... local function set_default here.
30493         Define set_default as a macro locally to pass constant parameters.
30494         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30495         rather than a shared local.
30497         * stdlib/rpmatch.c (try): New function, broken out of ...
30498         (rpmatch): ... local function here.  Also, prototypify definition.
30500 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30502         * scripts/soversions.awk: Do not handle configuration names.
30503         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30504         vendor and os variables to soversions.awk.
30505         * configure.ac: Do not modify gnu-* host_os.
30506         * configure: Regenerated
30507         * shlib-versions: Remove first column with configuration names.
30508         * nptl/shlib-versions: Likewise.
30509         * nptl_db/shlib-versions: Likewise.
30510         * sysdeps/hppa/shlib-versions: Likewise.
30511         * sysdeps/m68k/shlib-versions: Likewise.
30512         * sysdeps/mach/hurd/shlib-versions: Likewise.
30513         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30514         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30515         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30516         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30517         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30518         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30519         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30520         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30522         Likewise.
30523         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30524         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30525         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30526         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30527         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30528         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30529         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30530         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30533         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30535         Regenerated.
30536         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30538         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30540         * shlib-versions: Remove OS-specific entries.  Moved to files in
30541         sysdeps.
30542         * sysdeps/mach/hurd/shlib-versions: New file.
30543         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30545         * nptl/shlib-versions: Remove architecture-specific entries.
30546         Moved to files in sysdeps.
30547         * shlib-versions: Likewise.
30548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30549         file.
30550         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30551         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30552         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30555         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30556         (UDP_NO_CHECK6_RX): Likewise.
30558 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30560         * sysdeps/posix/sysconf.c (__sysconf): Spell
30561         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30563 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30565         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30566         loading.
30567         * iconv/Versions (__gconv_transliterate): Export for use from
30568         gconv modules.
30569         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30570         (struct __gconv_trans_data, __gconv_trans_fct,
30571         __gconv_trans_context_fct, __gconv_trans_query_fct,
30572         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30573         definitions.
30574         (struct __gconv_step_data): Remove __trans member.
30575         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30576         longer hidden.  Remove unused trans_data argument.
30577         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30578         (__gconv_translit_find): Remove declaration.
30579         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30580         prototype.
30581         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30582         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30583         trans_data argument.  Add hidden definition.
30584         (__gconv_translit_find): Remove.
30585         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30586         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30587         * iconv/skeleton.c: Remove transliteration initialization.
30588         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30589         __gconv_step_data initialization.
30590         * libio/iofwide.c (__libio_translit_): Remove.
30591         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30592         * wcsmbs/btowc.c (__btowc): Likewise.
30593         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30594         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30595         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30596         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30597         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30598         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30599         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30600         * wcsmbs/wctob.c (wctob): Likewise.
30602 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30604         [BZ #16194]
30605         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30606         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30607         register usage.
30608         * sysdeps/x86/Makefile: Adjust.
30610 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30611             Roland McGrath  <roland@hack.frob.com>
30613         * locale/weight.h: Add include guard.
30614         (findidx): Make static rather than auto; take new parameters
30615         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30616         * locale/weightwc.h: Likewise.
30617         * posix/fnmatch_loop.c
30618         (FCT): Change type of EXTRA from int32_t to wint_t.
30619         Don't include either header inside the function.
30620         Call FINDIDX rather than findidx, and pass new arguments.
30621         #undef FINDIDX at the end of the file.
30622         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30623         FINDIDX before including fnmatch_loop.c for the non-wide version.
30624         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30625         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30626         for the wide version.
30627         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30628         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30629         Pass new arguments to findidx.
30630         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30631         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30632         Don't #include it inside the function.  Pass new arguments to findidx.
30633         * posix/regex_internal.h
30634         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30635         (re_string_elem_size_at): Don't #include it inside the function.
30636         Pass new arguments to findidx.
30637         * string/strcoll_l.c: #include WEIGHT_H at top level.
30638         (get_next_seq): Don't #include it inside the function.
30639         Pass new arguments to findidx.
30640         (get_next_seq_nocache): Likewise.
30641         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30642         (STRXFRM): Don't #include it inside the function.
30643         Pass new arguments to findidx.
30645 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30647         [BZ #17344]
30648         * malloc/malloc.c (unlink): Turn asserts into a call to
30649         malloc_printerr.
30651 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30653         [BZ #17370]
30654         * libio/wfileops (do_ftell_wide): Free OUT.
30656 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30658         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30660 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30662         [BZ #17363]
30663         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30664         group if the current group is empty.
30666 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30668         * benchtests/bench-memset.c (test_main): Add more test from size
30669         from 32 to 512 bytes.
30670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30671         Add POWER8 memset object.
30672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30673         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30674         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30675         implementation.
30676         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30677         Likewise.
30678         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30679         multiarch POWER8 memset optimization.
30680         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30681         POWER8 memset optimization.
30683         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30684         Remove bzero multiarch objects.
30685         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30686         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30687         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30688         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30689         Remove define.
30690         [__bzero]: Redefine to specific name.
30691         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30692         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30693         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30694         define.
30695         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30696         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30698 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30700         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30701         warnings into errors.
30703         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30704         __cxa_thread_atexit_impl prototype.
30706 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30708         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30709         Fix capitalization of error message.
30711 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30713         * sysdeps/mips/preconfigure: Modify ABI tests.
30715 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30717         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30719 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30720             Carlos O'Donell  <carlos@systemhalted.org>
30722         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30723         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30724         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30725         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30726         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30727         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30728         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30729         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30730         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30731         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30732         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30733         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30734         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30735         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30737         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30739         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30740         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30741         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30743         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30744         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30745         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30746         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30747         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30748         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30749         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30750         Deconditionalize the code that was previously under [RESET_PID].
30751         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30752         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30753         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30754         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30755         include sysdep.h.
30757 2014-09-08  Allan McRae  <allan@archlinux.org>
30759         * version.h (RELEASE): Set to "development".
30760         (VERSION): Set to "2.20.90"
30762 2014-09-07  Allan McRae  <allan@archlinux.org
30764         * version.h (RELEASE): Set to "stable".
30765         (VERSION): Set to "2.20"
30766         * include/features.h (__GLIBC_MINOR__): Set to 20.
30768         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30769         Liebler.
30771         * po/ko.po: Update Korean translation from translation project.
30773 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30775         [BZ #17354]
30776         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30777         macro for handling signed relocations.
30779 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30781         [BZ #17325]
30782         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30783         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30784         assert.
30785         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30786         * iconvdata/ibm935.c (BODY): Likewise.
30787         * iconvdata/ibm937.c (BODY): Likewise.
30788         * iconvdata/ibm939.c (BODY): Likewise.
30789         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30790         assert.
30791         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30792         script.
30793         * iconvdata/run-iconv-test.sh: New test loop for checking for
30794         decoder crashers.
30796 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30798         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30799         libm_hidden_ver.
30801 2014-09-01  Allan McRae  <allan@archlinux.org>
30803         * po/eo.po: Update Esperanto translation from translation project.
30805         * po/ca.po: Update Catalan translation from translation project.
30807 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30809         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30810         __proc_dostop call.
30812 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30814         [BZ #17319]
30815         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30816         to call set_thread_area instead of hand written asm.
30817         (__NR_set_thread_area): Removed define.
30818         (TLS_FLAG_WRITABLE): Likewise.
30819         (__ASSUME_SET_THREAD_AREA): Remove check.
30820         (TLS_EBX_ARG): Remove define.
30821         (TLS_LOAD_EBX): Likewise.
30823 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30825         Simplify atomicity of socket creation in bind.
30827         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30828         looking up the name after linking the file.
30830 2014-08-27  Allan McRae  <allan@archlinux.org>
30832         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30834 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30836         [BZ #17187]
30837         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30838         trans_compare, open_translit, __gconv_translit_find):
30839         Remove module loading code.
30841 2014-08-26  Allan McRae  <allan@archlinux.org>
30843         * po/vi.po: Update Vietnamese translation from translation project.
30845         * po/uk.po: Update Ukrainian translation from translation project.
30847         * po/fr.po: Update French translation from translation project.
30849         * po/ru.po: Update Russian translation from translation project.
30851         * po/pl.po: Update Polish translation from translation project.
30853         * po/cs.po: Update Czech translation from translation project.
30855         * po/de.po: Update German translation from translation project.
30857         * po/bg.po: Update Bulgarian translation from translation project.
30859         * po/sv.po: Update Sweedish translation from translation project.
30861         * po/nl.po: Update Dutch translation from translation project.
30863         * po/es.po: Update Spanish translation from translation project.
30865 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30867         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30869         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30870         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30871         (CPPFLAGS-iconvconfig): Likewise.
30872         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30874         * include/libc-symbols.h: Remove unnecessary check for
30875         NOT_IN_libc.
30876         * nptl/pthreadP.h: Likewise.
30877         * sysdeps/aarch64/setjmp.S: Likewise.
30878         * sysdeps/alpha/setjmp.S: Likewise.
30879         * sysdeps/arm/sysdep.h: Likewise.
30880         * sysdeps/i386/setjmp.S: Likewise.
30881         * sysdeps/m68k/setjmp.c: Likewise.
30882         * sysdeps/posix/getcwd.c: Likewise.
30883         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30884         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30885         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30886         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30887         * sysdeps/sh/sh3/setjmp.S: Likewise.
30888         * sysdeps/sh/sh4/setjmp.S: Likewise.
30889         * sysdeps/unix/alpha/sysdep.h: Likewise.
30890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30892         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30893         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30898         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30899         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30901         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30903         * sysdeps/x86_64/setjmp.S: Likewise.
30905 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30907         [BZ #17263]
30908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30909         <stdint.h>.
30910         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30911         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30913 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30915         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30917         [BZ #17262]
30918         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30919         and __x86_64__ when disabling x87 inline functions.
30921 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30923         [BZ #17259]
30924         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30925         asm statement with __cpuid_count.
30927 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30929         * configure.ac: Change __ehdr_start code to dereference the struct.
30930         Run readelf on the output to look for relocations.
30931         * configure: Regenerated.
30933 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30935         [BZ #17261]
30936         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30937         value to 0.
30938         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30940 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30942         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30944 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30946         [BZ #16892]
30947         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30948         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30950 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30952         * malloc/malloc.c: Fix typo in comment.
30954 2014-08-09  Allan McRae  <allan@archlinux.org>
30956         * Regenerate libc.po.
30958 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30960         * intl/tst-gettext2.sh: Check every lang file for creation.
30962 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30964         * sysdeps/aarch64/fpu/math_private.h
30965         (libc_feholdsetround_noex_aarch64_ctx): New function.
30967 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30969         * sysdeps/arm/armv6/strcpy.S (strcpy):
30970         Fix performance issue in misaligned cases.
30972 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30974         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30975         Move definition from termios.h.
30976         (struct termio): Likewise.
30977         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30978         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30979         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30980         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30981         Likewise.
30982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30983         Move definition to ioctl-types.h
30984         (struct termio): Likewise.
30985         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30986         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30987         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30988         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30989         Likewise.
30991 2014-08-05  Richard Henderson  <rth@redhat.com>
30993         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30994         exceptions.
30995         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30996         Add fraiseexcpt.
30997         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30998         Use __feraiseexcept.
30999         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31000         Protect libm symbols with IS_IN_libm.
31002         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31004 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31006         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31008 2014-08-04  Will Newton  <will.newton@linaro.org>
31010         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31011         file.
31013 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31015         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31016         variants for each function.
31018 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31020         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31021         appended ...
31022         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31023         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31024         appended ...
31025         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31026         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31027         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31028         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31029         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31030         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31031         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31032         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31033         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31034         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31035         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31036         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31037         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31038         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31039         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31040         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31041         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31042         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31043         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31044         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31045         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31046         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31047         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31048         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31049         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31050         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31051         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31052         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31053         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31054         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31055         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31056         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31057         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31058         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31059         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31060         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31061         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31062         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31063         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31064         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31065         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31066         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31067         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31068         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31069         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31071         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31073         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31075         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31076         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31077         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31078         Update #include.
31079         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31080         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31082 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31084         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31085         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31086         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31087         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31089         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31091 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31093         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31094         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31095         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31096         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31098 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31100         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31101         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31102         (__libc_vfork): Define function under this name.
31103         (__vfork): Define as an alias.
31104         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31105         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31107 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31109         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31110         that was previously under [RESET_PID].
31111         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31113 2014-08-04  Andreas Schwab  <schwab@suse.de>
31115         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31117 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31119         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31120         (main): Likewise.
31122 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31124         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31126 2014-08-01  Richard Henderon  <rth@redhat.com>
31128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31129         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31130         typo in exact zero test.
31131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31132         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31135 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31137         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31138         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31139         * sysdeps/arm/sysdep.h: ... here.
31140         [!__ASSEMBLER__]: Include <stdint.h>.
31142 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31144         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31145         (HAVE_WCTYPE_H): Likewise.
31146         (HAVE_ISWCTYPE): Likewise.
31147         (ENABLE_NLS): Likewise.
31148         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31149         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31151         * posix/regex_internal.c: Check if DEBUG is defined and is
31152         set.
31154         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31155         (HAVE_MBSRTOWCS): Likewise.
31156         * posix/fnmatch.c: Include string.h unconditionally.
31158 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31160         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31161         reversal.
31163 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31165         * sysdeps/generic/safe-fatal.h: New file.
31166         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31167         * nptl/forward.c: Include it.
31168         (__pthread_unwind): Use __safe_fatal as default action, rather
31169         than a bogus use of INTERNAL_SYSCALL that could never work.
31171         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31172         * configure.ac (libc_cv_builtin_trap): New test.
31173         * configure: Regenerated.
31174         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31175         (ABORT_INSTRUCTION): Define using __builtin_trap.
31177         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31178         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31179         * sysdeps/nptl/nptl-signals.h: New file.
31180         * nptl/pthreadP.h: Include <nptl-signals.h>.
31182 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31184         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31185         (ONE_DIRECTION): Define.
31186         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31187         (ONE_DIRECTION): Define.
31188         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31189         (ONE_DIRECTION): Define.
31191 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31193         * sysdeps/s390/Makefile: Delete file.
31194         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31195         * sysdeps/s390/__longjmp.c: Delete file.
31196         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31197         Remove fields __flags and __reserved.
31198         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31199         and add versioning.
31200         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31201         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31202         * sysdeps/s390/rtld-setjmp.S: Likewise.
31203         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31204         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31205         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31206         * sysdeps/s390/s390-32/setjmp.S: ... here.
31207         Add versioning.
31208         (__sigsetjmp): Remove setting __flags field.
31209         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31210         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31211         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31212         * sysdeps/s390/s390-64/setjmp.S: ... here.
31213         Add versioning.
31214         (__sigsetjmp): Remove setting __flags field.
31215         * sysdeps/s390/setjmp.S: Delete file.
31216         * sysdeps/s390/sigjmp.c: Likewise.
31217         * sysdeps/s390/v1-longjmp.c: Likewise.
31218         * sysdeps/s390/v1-setjmp.h: Likewise.
31219         * sysdeps/s390/v1-sigjmp.c: Likewise.
31220         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31221         Remove v1-longjmp_chk.
31222         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31223         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31224         Include debug/longjmp_chk.c and add versioning.
31225         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31226         Include nptl/pt-longjmp.c and add versioning.
31227         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31228         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31229         Include __longjmp.c.
31230         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31231         Move to ...
31232         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31233         (__getcontext): Remove setting __flags field.
31234         Add versioning.
31235         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31236         Don't restore upper high grps.
31237         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31238         Likewise.
31239         (__swapcontext): Remove setting uc_flags field.
31240         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31241         Delete file.
31242         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31243         Include __longjmp.c.
31244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31245         Move to ...
31246         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31247         (__getcontext): Remove setting __flags field.
31248         Add versioning.
31249         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31250         (__swapcontext): Remove setting uc_flags field.
31251         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31252         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31253         Remove fields uc_high_gprs and __reserved.
31254         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31255         New file with reverted content.
31256         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31257         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31258         Regenerated.
31259         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31260         Regenerated.
31262 2014-07-31  Andreas Schwab  <schwab@suse.de>
31264         * config.h.in (HAVE_IFUNC): Define to 0.
31265         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31266         definedness.
31268 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31271         memmove-avx-unaligned, memcpy-avx-unaligned and
31272         mempcpy-avx-unaligned.
31273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31274         Add tests for AVX memcpy functions.
31275         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31276         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31277         memcpy_chk.
31278         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31279         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31280         memmove_chk.
31281         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31282         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31283         mempcpy_chk.
31284         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31285         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31286         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31288 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31290         [BZ #17213]
31291         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31292         powerpc64le.
31294 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31296         [BZ #16839]
31297         * manual/llio.texi: Add section about open file description locks.
31298         * manual/examples/ofdlocks.c: Example of open file description
31299         lock usage.
31300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31301         F_OFD_SETLK, and F_OFD_SETLKW.
31303 2014-07-23  Allan McRae  <allan@archlinux.org>
31305         * po/es.po: Update Spanish translation from translation project.
31307 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31309         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31311 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31313         [BZ #17078]
31314         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31315         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31316         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31318 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31320         [BZ #17088]
31321         * math/fesetenv.c (__fesetenv)
31322         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31323         * math/feupdateenv.c (__feupdateenv)
31324         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31326         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31327         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31328         (__ASSUME_SOCKETCALL): Do not define.
31330         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31331         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31332         (__ASSUME_SOCKETCALL): Do not define.
31333         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31334         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31335         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31336         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31337         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31338         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31339         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31340         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31342         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31343         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31344         (__ASSUME_SOCKETCALL): Do not define.
31345         (__ASSUME_IPC64): Define unconditionally.
31346         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31347         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31348         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31349         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31350         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31351         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31352         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31353         Likewise.
31355         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31356         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31357         (__ASSUME_SOCKETCALL): Do not define.
31358         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31359         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31360         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31361         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31362         (__ASSUME_REQUEUE_PI): Define unconditionally.
31363         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31364         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31365         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31366         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31368         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31370         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31371         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31372         (__ASSUME_SOCKETCALL): Do not define.
31373         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31374         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31375         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31376         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31378         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31380         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31381         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31382         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31383         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31385         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31387         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31388         (__ASSUME_GETCPU_SYSCALL): Likewise.
31390         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31391         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31392         cases for individual architectures.
31393         * sysdeps/gnu/configure: Regenerated.
31394         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31395         LIBC_SLIBDIR_RTLDDIR.
31396         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31397         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31398         LIBC_SLIBDIR_RTLDDIR.
31399         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31401         LIBC_SLIBDIR_RTLDDIR.
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31403         Regenerated.
31404         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31405         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31406         file.
31407         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31408         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31409         file.
31410         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31411         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31412         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31413         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31415         * sysdeps/aarch64/shlib-versions: Move to ...
31416         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31417         * sysdeps/alpha/shlib-versions: Move to ...
31418         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31419         * sysdeps/arm/shlib-versions: Move to ...
31420         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31421         * sysdeps/hppa/shlib-versions: Move all contents except for
31422         libgcc_s entry to ...
31423         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31424         entry from ...
31425         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31426         * sysdeps/ia64/shlib-versions: Move to ...
31427         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31428         entry from ...
31429         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31430         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31431         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31432         * sysdeps/microblaze/shlib-versions: Move to ...
31433         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31434         * sysdeps/mips/shlib-versions: Move to ...
31435         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31436         entry from ...
31437         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31438         * sysdeps/tile/shlib-versions: Move to ...
31439         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31440         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31441         from ...
31442         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31443         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31444         entry from ...
31445         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31447 2014-07-17  Will Newton  <will.newton@linaro.org>
31449         * sysdeps/arm/bits/atomic.h
31450         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31451         (__arch_compare_and_exchange_bool_16_int): Likewise.
31452         (__arch_compare_and_exchange_bool_64_int): Likewise.
31454         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31455         into an #else block.
31457 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31459         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31460         just Linux configurations.  Test empirically that the compiler sets
31461         __ARM_EABI__, rather than using the tuple to decide.
31462         * sysdeps/arm/preconfigure: Regenerated.
31463         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31464         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31465         contents appended ...
31466         * sysdeps/arm/configure.ac: ... here.
31467         * sysdeps/arm/configure: Regenerated.
31469 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31471         * nptl/pthread_kill.c: New file.
31472         * nptl/pthread_sigmask.c: New file.
31473         * nptl/pthread_sigqueue.c: New file.
31475         * sysdeps/nptl/lowlevellock.h: New file.
31476         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31477         * sysdeps/nptl/lowlevellock-futex.h: New file.
31479         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31480         Remove dead declarations.
31482 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31484         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31485         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31486         config-cflags-avx2.
31487         * sysdeps/x86_64/configure.ac: Likewise.
31488         * sysdeps/i386/configure: Regenerated.
31489         * sysdeps/x86_64/configure: Likewise.
31490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31491         memset-avx2 only if config-cflags-avx2 is yes.
31492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31493         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31494         defined.
31495         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31496         only if HAVE_AVX2_SUPPORT is defined.
31497         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31499 2014-07-14  Alan Modra  <amodra@gmail.com>
31501         [BZ #17153]
31502         * elf/elf.h (DT_PPC64_NUM): Correct value.
31503         * NEWS: Add to fixed bug list.
31505 2014-07-13  Jim Meyering  <meyering@fb.com>
31507         [BZ 17150]
31508         regex: don't deref NULL upon heap allocation failure
31509         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31510         failure in one more place.
31511         To trigger the segfault, configure grep -with-included-regex,
31512         build it, and run these commands:
31513         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31515 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31517         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31519 2014-07-11  Richard Henderson  <rth@redhat.com>
31521         * sysdeps/aarch64/libm-test-ulps: Update.
31523 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31525         [BZ #17135]
31526         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31527         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31528         (__nptl_setxid): Initialize error member.  Call
31529         __nptl_setxid_error.
31530         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31531         * nptl/descr.h (struct xid_command): Add error member.
31532         * nptl/tst-setuid3.c: New file.
31533         * nptl/Makefile (tests): Add it.
31535 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31537         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31538         New define.
31539         (__lll_trylock): Use __lll_base_trylock.
31540         (__lll_cond_trylock): Likewise.
31542 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31544         * nptl/pthread_create.c (start_thread): Use atomic_or and
31545         lll_futex_wake directly rather than lll_robust_dead.
31546         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31547         (lll_robust_dead): Macro removed.
31548         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31549         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31550         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31551         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31552         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31553         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31554         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31555         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31556         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31558         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31559         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31560         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31562         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31564         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31565         Use atomic_compare_and_exchange_val_acq directly rather than
31566         lll_robust_trylock.
31567         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31568         (__lll_robust_trylock, lll_robust_trylock): Removed.
31569         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31570         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31571         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31573         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31574         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31575         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31576         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31577         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31578         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31579         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31580         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31581         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31584 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31586         * manual/locale.texi (Locale Names): New section documenting
31587         locale name syntax.  Adjust menu and node chaining accordingly.
31588         (Choosing Locale): Reference Locale Names, Locale Categories.
31589         Mention setting LC_ALL=C.  Reflect that name syntax is now
31590         documented.
31591         (Locale Categories): New section title.  Reference Locale Names.
31592         LC_ALL is an environment variable, but not a category.
31593         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31594         description, now in Locale Name.  Reference that section.  Locale
31595         name syntax is now documented.
31597 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31599         [BZ #17137]
31600         * locale/findlocale.c (name_present, valid_locale_name): New
31601         functions.
31602         (_nl_find_locale): Use the loc_name variable to store name
31603         candidates.  Call name_present and valid_locale_name to check and
31604         validate locale names.  Return an error if the locale is invalid.
31606 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31608         * locale/setlocale.c (setlocale): Use strdup for allocating
31609         composite name copy.
31611 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31613         Sync up with gnulib.
31614         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31615         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31616         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31617         and _GL_ARG_NONNULL.
31618         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31619         [!_LIBC]: Include code for Windows and Cygwin.
31620         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31621         Include prototype for int strerror_r.
31622         [!_LIBC] (is_open): New function.
31623         (flush_stdout): New function.
31624         (print_errno_message): Use it.
31625         (error): Likewise.
31626         (error_at_line): Likewise.
31627         (error_tail) Add function attribute macros.  Use
31628         __builtin_expect.
31630         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31632         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31634         * io/ftw.c: Include sys/param.h unconditionally.
31636         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31638         [BZ #17125]
31639         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31640         libc_freeres_ptr.
31641         (freecache): New function to free CACHE on exit.
31643         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31644         initialization.
31646 2014-07-09  David S. Miller  <davem@davemloft.net>
31648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31650         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31651         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31652         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31653         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31654         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31655         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31656         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31657         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31658         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31659         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31660         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31661         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31662         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31664 2014-07-09  Andreas Schwab  <schwab@suse.de>
31666         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31667         output.
31668         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31669         (do_test): Likewise.
31671         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31673 2014-07-09  Will Newton  <will.newton@linaro.org>
31675         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31676         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31677         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31678         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31679         * sysdeps/hppa/start.S (_start): Likewise.
31681 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31683         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31685         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31686         defined.
31688 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31690         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31691         after checking that it is non-NULL.
31693         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31695 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31697         * sysdeps/powerpc/memmove.c: Remove file.
31698         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31699         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31700         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31701         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31702         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31703         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31704         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31705         string memmove instead of removed powerpc one.
31707         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31708         [weak_alias]: Fix compiler warning due trailing data.
31709         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31710         [weak_alias]: Likewise.
31711         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31712         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31715         (__libc_ifunc_impl_list): Add memmove functions.
31717 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31719         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31720         Remove code.
31721         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31722         Likewise.
31723         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31724         Likewise.
31725         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31726         Likewise.
31727         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31728         Likewise.
31729         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31730         Likewise.
31731         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31732         Likewise.
31733         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31734         Likewise.
31735         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31736         Likewise.
31737         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31738         Likewise.
31739         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31740         Likewise.
31741         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31742         Likewise.
31743         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31744         Likewise.
31745         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31746         Likewise.
31747         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31748         Likewise.
31749         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31750         Likewise.
31751         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31752         Likewise.
31754 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31756         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31757         to avoid alignment traps in non-cacheable memory.
31758         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31761         multiarch objects.
31762         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31763         file: multiarch power7 memmove.
31764         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31765         multiarch default memmove.
31766         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31767         multiarch memove for powerpc32/power4.
31769         * string/bcopy.c: Use full path to include memmove.c.
31770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31771         multiarch objects.
31772         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31773         bcopy for powerpc64.
31774         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31775         bcopy for powerpc64.
31776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31777         and memmove implementations.
31778         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31779         optimized multiarch memmove for POWER7/powerpc64.
31780         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31781         default multiarch memmove for powerpc64.
31782         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31783         multiarch for powerpc64.
31784         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31785         for POWER7/powerpc64.
31786         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31787         memmove for POWER7/powerpc64.
31789         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31790         glibc default one.
31792         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31793         __ELF_NATIVE_CLASS equal to 64.
31795 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31797         * sysdeps/nptl/lowlevellock.h: File removed.
31799         * NEWS: NPTL is no longer an add-on!
31800         * nptl/internaltypes.h: Moved ...
31801         * sysdeps/nptl/internaltypes.h: ... here.
31802         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31803         * sysdeps/nptl/fork.c: Likewise.
31804         * sysdeps/nptl/gai_misc.h: Likewise.
31805         * sysdeps/nptl/librt-cancellation.c: Likewise.
31806         * sysdeps/nptl/jmp-unwind.c: Likewise.
31807         * sysdeps/nptl/setxid.h: Likewise.
31808         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31809         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31810         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31811         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31812         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31813         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31814         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31815         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31816         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31817         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31818         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31819         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31820         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31821         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31822         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31823         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31824         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31825         * nptl/Makeconfig: Moved ...
31826         * sysdeps/nptl/Makeconfig: ... here.
31827         * nptl/configure: File removed.
31828         * nptl/ANNOUNCE: File removed.
31829         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31830         * sysdeps/unix/sysv/linux/configure: Regenerated.
31832         * nptl/Makefile (routines): Add libc_pthread_init,
31833         libc_multiple_threads, register-atfork and unregister-atfork.
31834         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31835         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31836         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31837         pthread-pi-defines.sym, structsem.sym.
31838         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31839         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31840         [$(subdir) = nptl] (tests): Add tst-setgetname.
31841         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31842         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31843         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31844         [!LIBC_SIGACTION]: Remove aliases.
31845         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31846         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31847         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31848         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31849         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31850         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31851         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31853         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31854         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31855         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31856         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31857         __libc_allocate_rtsig_private.
31858         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31859         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31860         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31861         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31862         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31863         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31864         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31865         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31866         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31867         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31868         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31869         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31870         * nptl/internaltypes.h: ... here.
31871         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31872         * sysdeps/nptl/jmp-unwind.c: ... here.
31873         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31874         * nptl/libc-lowlevellock.c: ... here.
31875         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31876         * nptl/libc_multiple_threads.c: ... here.
31877         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31878         * nptl/libc_pthread_init.c: ... here.
31879         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31880         * nptl/lowlevelbarrier.sym: ... here.
31881         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31882         * nptl/lowlevelcond.sym: ... here.
31883         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31884         * nptl/lowlevellock.c: ... here.
31885         * nptl/lowlevellock.h: Moved ...
31886         * sysdeps/nptl/lowlevellock.h: ... here.
31887         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31888         * nptl/lowlevelrobustlock.c: ... here.
31889         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31890         * nptl/lowlevelrobustlock.sym: ... here.
31891         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31892         * nptl/lowlevelrwlock.sym: ... here.
31893         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31894         * nptl/pt-fork.c: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31896         * nptl/pthread-pi-defines.sym: ... here.
31897         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31898         * nptl/pthread_attr_getaffinity.c: ... here.
31899         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31900         * nptl/pthread_attr_setaffinity.c: ... here.
31901         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31902         * nptl/pthread_mutex_cond_lock.c: ... here.
31903         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31904         Update #include.
31905         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31906         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31907         * nptl/pthread_once.c: ... here, replacing old file.
31908         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31909         * nptl/pthread_yield.c: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31911         * nptl/register-atfork.c: ... here.
31912         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31913         * nptl/sem_post.c: ... here.
31914         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31915         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31916         * nptl/sem_timedwait.c: ... here.
31917         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31918         * nptl/sem_trywait.c: ... here.
31919         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31920         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31921         * nptl/sem_wait.c: ... here.
31922         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31923         * nptl/structsem.sym: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31925         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31926         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31927         * nptl/unregister-atfork.c: ... here.
31928         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31929         * nptl/unwindbuf.sym: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31931         * sysdeps/nptl/fork.c: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31933         * sysdeps/nptl/fork.h: ... here.
31934         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31935         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31936         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31938         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31939         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31940         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31942         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31943         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31944         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31945         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31946         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31947         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31948         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31949         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31950         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31951         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31952         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31953         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31954         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31955         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31956         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31957         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31958         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31959         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31960         * sysdeps/unix/sysv/linux/raise.c: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31962         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31964         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31965         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31966         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31967         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31968         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31969         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31970         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31971         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31972         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31973         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31974         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31975         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31977 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31979         * sysdeps/generic/memcopy.h: Add comment for
31980         MEMCPY_OK_FOR_FWD_MEMMOVE.
31982 2014-07-04  Will Newton  <will.newton@linaro.org>
31984         * string/memchr.c: Merge from gnulib.
31985         [_LIBC]: Remove conditionals.
31986         (__ptr_t): Remove define.
31987         (LONG_MAX_32_BITS): Likewise.
31988         (LONG_MAX): Likewise.
31989         (MEMCHR): Use ANSI prototype and optimize algorithm.
31991         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31993 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31995         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31996         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31998         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31999         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32000         in a bare environment with no <stdlib.h> installed.
32001         * sysdeps/nptl/configure: Regenerated.
32003         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32005         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32006         AC_EGREP_CPP for kernel header checks, so they only succeed if
32007         including <linux/version.h> actually works right.
32008         * sysdeps/unix/sysv/linux/configure: Regenerated.
32010         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32011         value so it's not diagnosed as unused.
32013         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32014         thing) with "ifeq ($(subdir),rt)".
32016 2014-07-03  Richard Henderson  <rth@redhat.com>
32018         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32019         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32020         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32022         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32023         (math_force_eval): New.
32025         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32026         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32028         * sysdeps/alpha/fpu/s_round.c: Remove file.
32029         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32031         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32032         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32033         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32034         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32035         (_dl_start, print_statistics): Likewise.
32036         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32037         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32039         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32040         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32041         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32042         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32043         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32044         (HP_SMALL_TIMING_AVAIL): Define.
32045         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32046         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32047         (HP_SMALL_TIMING_AVAIL): Define.
32048         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32049         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32051         * sysdeps/aarch64/hp-timing.h: New file.
32053         * sysdeps/generic/hp-timing.h: Remove dead comment.
32054         * sysdeps/generic/hp-timing-common.h: New file.
32055         * sysdeps/alpha/hp-timing.h: Include it.
32056         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32057         * sysdeps/i386/i686/hp-timing.h: Likewise.
32058         * sysdeps/ia64/hp-timing.h: Likewise.
32059         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32060         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32061         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32062         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32063         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32064         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32065         (hp_timing_t): New.
32067         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32068         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32069         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32070         * elf/rtld.c (_dl_start_final): Likewise.
32071         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32072         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32073         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32074         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32075         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32076         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32077         (HP_TIMING_DIFF_INIT): Remove.
32078         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32079         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32080         (HP_TIMING_DIFF_INIT): Remove.
32081         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32082         * sysdeps/i386/i686/hp-timing.c: Remove file.
32083         * sysdeps/x86_64/hp-timing.c: Remove file.
32084         * sysdeps/ia64/hp-timing.c: Remove file.
32085         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32086         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32087         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32088         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32090         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32091         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32092         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32093         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32094         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32095         (HP_TIMING_ACCUM): Remove.
32096         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32097         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32098         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32100         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32101         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32102         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32103         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32104         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32105         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32106         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32107         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32109         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32111 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32113         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32115 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32117         Sync up with gettext.
32118         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32119         [_MSC_VER]: Include malloc.h
32120         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32121         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32122         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32123         TEMP_FAILURE_RETRY.  Cast return of alloca.
32124         [!_LIBC] Call gl_rwlock_init.
32125         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32127 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32129         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32130         before checking its value.
32132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32136         * debug/memcpy_chk.c: Don't include pagecopy.h.
32137         * debug/mempcpy_chk.c: Likewise.
32138         * string/memcpy.c: Likewise.
32139         * string/memmove.c: Likewise.
32140         * sysdeps/powerpc/memmove.c: Likewise.
32141         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32142         definition of PAGE_COPY_FWD_MAYBE here...
32143         * sysdeps/generic/pagecopy.h: ... from here.
32144         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32146 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32147             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32149         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32151         optimizations.
32152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32153         (__libc_ifunc_impl_list): Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32155         multiarch strcat for PPC64.
32156         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32157         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32159 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32161         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32163 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32165         * intl/loadmsgcat.c: Remove declaration of
32166         get_sysdep_segment_value.
32167         (get_sysdep_segment_value): Use ISO C style.
32168         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32169         semicolon.  Fix typo and formatting in comment.
32170         (_nl_unload_domain): Use ISO C style.
32172         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32174 2014-07-02  Will Newton  <will.newton@linaro.org>
32176         * malloc/obstack.c: Merge from gnulib master.
32177         [HAVE_CONFIG_H]: Remove conditional code.
32178         [!_LIBC]: Include config.h.
32179         [!ELIDE_CODE]: Don't include inttypes.h, include
32180         stdint.h unconditionally.
32181         (print_and_abort): Mark as _Noreturn.
32182         (_obstack_allocated_p): Mark as __attribute_pure__.
32183         (obstack_free): Rename to __obstack_free.
32184         [!__attribute__]: Remove conditional code.
32185         * malloc/obstack.h: Merge from gnulib master.
32186         [__cplusplus]: Move conditional down.
32187         [!__attribute_pure__]: Define __attribute_pure__ here
32188         if it is not already defined.
32189         (_obstack_memory_used): Mark as __attribute_pure__.
32190         [!__obstack_free]: Define as obstack_free.
32191         [__GNUC__]: Remove check for ancient NeXT gcc.
32193 2014-07-02  Will Newton  <will.newton@linaro.org>
32194             Paul Eggert  <eggert@cs.ucla.edu>
32196         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32198 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32200         * resolv/gethnamaddr.c: Add comment warning that the file is
32201         not maintained.
32203 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32205         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32206         entries.
32208         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32209         entry for aio_cancel and aio_cancel64.
32210         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32211         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32212         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32213         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32214         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32215         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32216         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32217         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32218         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32219         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32220         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32221         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32222         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32224 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32226         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32227         * nptl/pthread_mutex_lock.c: Likewise.
32228         * nptl/pthread_mutex_timedlock.c: Likewise.
32229         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32231 2014-07-01  Richard henderson  <rth@redhat.com>
32233         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32234         (__isnan, __isnanl): Remove.
32235         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32237         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32239 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32243 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32245         * resolv/nss_dns/dns-host.c (getanswer_r)
32246         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32248 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32251         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32252         undefine.
32253         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32254         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32256 2014-07-01  Roland McGrath <roland@hack.frob.com>
32258         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32259         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32261         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32262         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32264         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32265         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32266         ... here.
32267         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32268         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32270         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32271         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32272         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32273         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32275         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32276         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32277         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32280         Moved ...
32281         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32282         ... here.
32283         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32284         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32285         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32286         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32287         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32288         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32289         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32290         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32291         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32294         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32296         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32297         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32300         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32301         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32302         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32303         ... here.
32304         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32307         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32308         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32309         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32310         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32311         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32313 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32315         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32316         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32317         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32318         Add sysdep.
32320 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32324 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32326         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32327         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32329         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32331         * sysdeps/arm/libm-test-ulps: Regenerated.
32333 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32334             Roland McGrath <roland@hack.frob.com>
32336         * test-skeleton.c (signal_handler): Kill the whole process group
32337         before killing the child individually.
32338         (main): Report any failure on `setpgid'.
32340 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32342         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32343         from _TLS_H to _ARM_NPTL_TLS_H.
32344         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32345         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32347 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32349         [BZ #16539]
32350         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32351         (__expm1l): Return argument unchanged when small but not
32352         subnormal.
32354         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32355         include macro name.
32356         (_FP_UNPACK_RAW_1_P): Likewise.
32357         (_FP_PACK_RAW_1): Likewise.
32358         (_FP_PACK_RAW_1_P): Likewise.
32359         (_FP_MUL_MEAT_1_wide): Likewise.
32360         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32361         (_FP_MUL_MEAT_1_hard): Likewise.
32362         (_FP_DIV_MEAT_1_imm): Likewise.
32363         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32364         (_FP_DIV_MEAT_1_udiv): Likewise.
32365         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32366         (_FP_UNPACK_RAW_2): Likewise.
32367         (_FP_UNPACK_RAW_2_P): Likewise.
32368         (_FP_PACK_RAW_2): Likewise.
32369         (_FP_PACK_RAW_2_P): Likewise.
32370         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32371         (_FP_MUL_MEAT_2_wide): Likewise.
32372         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32373         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32374         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32375         (_FP_MUL_MEAT_2_gmp): Likewise.
32376         (_FP_DIV_MEAT_2_udiv): Likewise.
32377         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32378         (_FP_FRAC_SRL_4): Likewise.
32379         (_FP_FRAC_SRST_4): Likewise.
32380         (_FP_FRAC_SRS_4): Likewise.
32381         (_FP_UNPACK_RAW_4): Likewise.
32382         (_FP_UNPACK_RAW_4_P): Likewise.
32383         (_FP_PACK_RAW_4): Likewise.
32384         (_FP_PACK_RAW_4_P): Likewise.
32385         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32386         (_FP_MUL_MEAT_4_wide): Likewise.
32387         (_FP_MUL_MEAT_4_gmp): Likewise.
32388         (umul_ppppmnnn): Likewise.
32389         (_FP_DIV_MEAT_4_udiv): Likewise.
32390         (__FP_FRAC_ADD_4): Likewise.
32391         (__FP_FRAC_SUB_3): Likewise.
32392         (__FP_FRAC_SUB_4): Likewise.
32393         (__FP_FRAC_DEC_3): Likewise.
32394         (__FP_FRAC_DEC_4): Likewise.
32395         (__FP_FRAC_ADDI_4): Likewise.
32396         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32397         (_FP_FRAC_SRL_8): Likewise.
32398         (_FP_FRAC_SRS_8): Likewise.
32400         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32401         include macro name.
32402         (FP_UNPACK_RAW_EP): Likewise.
32403         (FP_PACK_RAW_E): Likewise.
32404         (FP_PACK_RAW_EP): Likewise.
32405         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32406         (_FP_ISSIGNAN): Likewise.
32407         (_FP_ADD_INTERNAL): Likewise.
32408         (_FP_FMA): Likewise.
32409         (_FP_CMP): Likewise.
32410         (_FP_SQRT): Likewise.
32411         (_FP_TO_INT): Likewise.
32412         (_FP_FROM_INT): Likewise.
32413         (FP_EXTEND): Likewise.
32414         (_FP_DIV_MEAT_N_loop): Likewise.
32416 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32418         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32419         throughout.
32421 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32423         [BZ #17097]
32424         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32425         result with correct sign in case of exponents that produce
32426         overflow except for X very close to 1.
32428 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32430         mktime: merge #if/#ifdef usage from glibc
32431         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32432         as that works with both Glibc's and Gnulib's style.
32433         See thread starting at Siddhesh Poyarekar's bug report at:
32434         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32436 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32438         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32439         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32440         * sysdeps/tile/tilegx/memmove.c: Remove file.
32442 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32444         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32445         abi-name definition.
32446         * scripts/soversions.awk: Do not handle or generate ABI lines.
32447         * shlib-versions: Remove ABI entries.
32448         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32449         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32451 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32454         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32455         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32456         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32458         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32460         Moved ...
32461         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32462         ... here.
32463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32464         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32466         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32468         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32470         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32472         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32474         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32476         Moved ...
32477         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32479         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32483         Moved ...
32484         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32486         Moved ...
32487         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32491         Moved ...
32492         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32494         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32496         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32498         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32500         Moved ...
32501         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32503         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32505         Moved ...
32506         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32508         Moved ...
32509         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32511         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32513         Moved ...
32514         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32515         ... here.
32516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32517         Identical file removed.
32518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32519         Moved ...
32520         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32522         Identical file removed.
32523         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32524         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32529         Identical file removed.
32530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32531         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32533         Identical file removed.
32534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32535         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32537         Identical file removed.
32538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32539         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32541         Identical file removed.
32542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32543         Moved ...
32544         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32546         Identical file removed.
32547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32548         Moved ...
32549         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32551         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32553         Identical file removed.
32554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32555         Moved ...
32556         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32557         ... here.
32558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32559         Identical file removed.
32560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32561         Moved ...
32562         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32564         Identical file removed.
32565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32566         Moved ...
32567         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32569         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32571         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32573         Moved ...
32574         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32575         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32576         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32578         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32579         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32580         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32581         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32582         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32584 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32586         [BZ #17092]
32587         * nscd/nscd.c (monitor_child): Return exit status of child
32588         instead of return value from wait syscall.
32590 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32592         * configure.ac (libc_commonpagesize): Remove variable.
32593         (libc_relro_required): Likewise.
32594         (libc_cv_z_relro): Remove configure test.
32595         * configure: Regenerated.
32596         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32597         variable.
32598         (libc_relro_required): Likewise.
32599         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32600         (libc_relro_required): Likewise.
32601         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32602         (libc_relro_required): Likewise.
32603         * sysdeps/arm/preconfigure: Regenerated.
32604         * sysdeps/ia64/preconfigure: Remove file.
32605         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32606         variable.
32607         (libc_relro_required): Likewise.
32609         [BZ #16561]
32610         [BZ #16562]
32611         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32612         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32613         recompute overflowing results in original rounding mode.
32614         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32615         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32616         recompute overflowing results in original rounding mode.
32617         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32618         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32619         recompute overflowing results in original rounding mode.
32620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32621         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32622         recompute overflowing results in original rounding mode.
32623         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32624         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32625         recompute overflowing results in original rounding mode.
32626         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32627         (libc_feholdsetround_ctx): New macro.
32628         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32629         * sysdeps/i386/fpu/libm-test-ulps: Update.
32630         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32632 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32634         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32635         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32636         corresponding .cpsetup call.
32638 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32640         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32641         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32642         * sysdeps/arm/Makefile [$(subdir) = csu]
32643         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32644         (static-only-routines): Add aeabi_read_tp here.
32645         (shared-only-routines): Add libc-aeabi_read_tp here.
32646         (CFLAGS-libc-start.c): Add -fexceptions here.
32647         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32648         (sysdep_routines, static-only-routines, shared-only-routines):
32649         Don't add to these here.
32650         (CFLAGS-libc-start.c): Likewise.
32652         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32653         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32654         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32655         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32656         * sysdeps/arm/Makefile [$(subdir) = rt]
32657         (librt-sysdep_routines, librt-shared-only-routines):
32658         Append rt-aeabi_unwind_cpp_pr1 here.
32659         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32660         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32661         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32662         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32663         Append nptl-aeabi_unwind_cpp_pr1 here.
32664         (tests): Filter out tst-cleanupx4 here.
32665         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32666         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32667         Don't do those here.
32669 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32671         * scripts/list-sources.sh: Do not handle ports specially.
32673 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32675         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32676         * sysdeps/arm/feupdateenv.c: Likewise.
32678         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32680 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32682         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32683         trailing whitespace removed.
32684         * scripts/config.guess: Update to version 2014-03-23.
32685         * scripts/config.sub: Update to version 2014-05-01
32686         * scripts/install-sh: Update to version 2013-12-25.23.
32687         * scripts/move-if-change: Update from gnulib.
32689 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32691         * debug/memmove_chk.c: Remove pagecopy.h include.
32693 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32695         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32696         identical to gnulib mktime.
32698 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32700         * configure.ac: Do not test for machine being rs6000.  Do not test
32701         for powerpc*-*soft.
32702         * configure: Regenerated.
32704         [BZ #11505]
32705         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32706         test.
32707         * configure: Regenerated.
32708         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32709         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32710         Remove configure test.
32711         * sysdeps/arm/configure: Regenerated.
32712         * sysdeps/nptl/configure.ac: Do not check
32713         libc_cv_asm_cfi_directives.
32714         * sysdeps/nptl/configure: Regenerated.
32715         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32716         * sysdeps/x86_64/nptl/configure: Remove generated file.
32717         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32718         unconditional.
32719         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32721 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32723         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32724         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32725         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32726         it is defined.
32728         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32729         instead of whether it is defined.
32730         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32731         * sysdeps/hppa/dl-machine.h: Likewise.
32732         * sysdeps/ia64/dl-machine.h: Likewise.
32733         * sysdeps/m68k/dl-machine.h: Likewise.
32734         * sysdeps/microblaze/dl-machine.h: Likewise.
32735         * sysdeps/mips/dl-machine.: Likewise.
32736         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32737         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32738         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32739         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32740         * sysdeps/sh/dl-machine.h: Likewise.
32741         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32742         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32743         * sysdeps/tile/dl-machine.h: Likewise.
32744         * sysdeps/x86_64/dl-machine.h: Likewise.
32746         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32747         code.
32748         (verify_persistent_db): Likewise.
32750 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32753         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32755         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32757         Moved ...
32758         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32759         ... here.
32760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32763         Identical file removed.
32764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32769         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32771         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32773         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32775         Moved ...
32776         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32778         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32785         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32787         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32789         Identical file removed.
32790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32791         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32793         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32795         Moved ...
32796         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32797         ... here.
32798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32799         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32801         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32803         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32805         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32807         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32809         Moved ...
32810         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32812         Moved ...
32813         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32815         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32817         Moved ...
32818         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32822         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32823         folded into ...
32824         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32825         * sysdeps/unix/sysv/linux/s390/Versions
32826         (libpthread: GLIBC_2.19): New version set.
32827         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32828         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32829         (librt: GLIBC_2.3.3): New version set.
32830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32831         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32832         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32833         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32834         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32835         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32836         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32837         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32838         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32839         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32840         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32841         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32842         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32844         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32845         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32846         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32848         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32850         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32852         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32854         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32856         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32860         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32861         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32866         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32868         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32870         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32872         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32874         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32876         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32877         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32878         (__libc_vfork): Define the function under this name.
32879         [!NOT_IN_libc] (__vfork): Make this an alias.
32880         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32882         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32883         (__libc_vfork): Define the function under this name.
32884         [!NOT_IN_libc] (__vfork): Make this an alias.
32885         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32886         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32889         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32890         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32892         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32893         code that was previously under [RESET_PID].
32894         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32895         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32898         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32899         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32900         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32901         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32903         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32904         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32905         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32906         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32909         Moved ...
32910         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32911         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32912         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32913         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32914         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32915         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32916         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32917         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32918         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32919         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32920         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32921         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32922         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32923         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32924         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32925         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32926         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32927         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32928         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32929         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32930         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32932         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32933         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32934         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32935         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32936         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32937         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32938         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32940 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32942         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32943         that was previously under [RESET_PID].
32944         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32946 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32948         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32949         not undefine and redefine.
32950         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32951         [O_CLOEXEC]: Make code unconditional.
32952         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32953         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32954         <kernel-features.h>.
32955         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32956         conditional variable definition.
32957         (shm_open) [O_CLOEXEC]: Make code unconditional.
32958         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32959         code.
32961         * configure.ac (USE_REGPARMS): Don't define here.
32962         * configure: Regenerated.
32963         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32964         * sysdeps/i386/configure: Regenerated.
32966         * nptl/createthread.c: Don't include kernel-features.h.
32967         * nptl/pthread_cancel.c: Likewise.
32968         * nptl/pthread_condattr_setclock.c: Likewise.
32969         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32970         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32971         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32972         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32973         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32974         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32975         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32978         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32979         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32980         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32981         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32982         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32983         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32984         * nscd/gai.c: Likewise.
32985         * nss/nss_db/db-open.c: Likewise.
32986         * sysdeps/generic/ldsodefs.h: Likewise.
32987         * sysdeps/sh/nptl/tls.h: Likewise.
32988         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32989         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32990         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32991         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32992         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32993         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32994         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32995         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32997         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32998         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32999         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33000         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33001         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33002         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33003         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33004         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33005         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33006         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33007         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33009         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33010         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33011         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33016         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33017         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33018         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33019         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33020         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33021         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33022         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33023         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33024         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33025         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33026         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33027         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33028         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33029         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33030         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33031         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33032         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33033         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33034         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33035         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33036         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33037         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33038         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33039         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33040         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33041         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33042         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33043         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33044         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33045         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33068         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33069         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33070         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33071         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33072         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33073         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33074         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33075         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33076         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33077         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33078         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33079         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33080         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33081         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33082         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33083         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33084         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33085         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33086         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33087         * sysdeps/unix/sysv/linux/system.c: Likewise.
33088         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33089         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33090         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33091         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33092         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33093         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33094         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33096         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33097         * configure: Regenerated.
33098         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33100         * configure.ac (base_machine): Do not set specially for particular
33101         machines here.
33102         * configure: Regenerated.
33103         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33104         settings from configure.ac.
33105         * sysdeps/i386/preconfigure: New file.
33106         * sysdeps/s390/preconfigure: Likewise.
33107         * sysdeps/sh/preconfigure: Likewise.
33108         * sysdeps/sparc/preconfigure: Likewise.
33110 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33112         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33113         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33114         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33115         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33116         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33117         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33118         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33119         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33120         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33121         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33122         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33123         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33124         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33125         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33126         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33127         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33129         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33130         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33132         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33133         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33134         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33135         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33136         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33137         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33138         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33139         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33140         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33141         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33142         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33143         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33144         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33145         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33146         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33147         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33148         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33149         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33150         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33151         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33153         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33154         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33155         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33157         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33159         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33162         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33163         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33164         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33165         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33167         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33169         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33172         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33174         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33178         ... here.
33179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33180         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33182         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33187         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33189         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33193         Moved ...
33194         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33196         Moved ...
33197         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33199         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33201         Moved ...
33202         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33204         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33206         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33208         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33210         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33212         Moved ...
33213         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33214         ... here.
33215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33218         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33220         Moved ...
33221         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33227         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33229         Moved ...
33230         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33232         Moved ...
33233         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33235         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33240         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33242         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33244 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33246         * timezone/checktab.awk: Update from tzcode 2014e.
33247         * timezone/private.h: Likewise.
33248         * timezone/tzfile.h: Likewise.
33249         * timezone/zdump.c: Likewise.
33250         * timezone/zic.c: Likewise.
33252         * sysdeps/unix/sysv/linux/kernel-features.h
33253         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33254         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33255         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33256         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33257         Remove conditional code.
33259 2014-06-25  Will Newton  <will.newton@linaro.org>
33261         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33262         (_dl_arm_cap_flags): Add HWCAP2 values.
33263         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33264         (_DL_HWCAP_COUNT): Increase to 37.
33265         (_DL_HWCAP_LAST): New define.
33266         (_DL_HWCAP2_LAST): New define.
33267         (_dl_procinfo): Add support for printing
33268         AT_HWCAP2 entries.
33269         (_dl_string_hwcap): Use _dl_hwcap_string.
33271 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33275 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33277         * README: Do not mention ports directory.
33279         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33280         Remove macro.
33281         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33282         <kernel-features.h>.
33283         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33284         conditional variable definition.
33285         (__futimes): Update comment.
33286         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33287         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33289         [BZ #16560]
33290         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33291         arguments close to 0.
33292         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33293         Likewise.
33294         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33295         Likewise.
33296         * math/auto-libm-test-in: Add more tests of exp10.
33297         * math/auto-libm-test-out: Regenerated.
33298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33300         * sysdeps/unix/sysv/linux/kernel-features.h
33301         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33302         * sysdeps/unix/sysv/linux/readv.c: Do not include
33303         <kernel-features.h>.
33304         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33305         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33306         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33307         unconditional.
33308         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33309         conditional code.
33310         * sysdeps/unix/sysv/linux/writev.c: Do not include
33311         <kernel-features.h>.
33312         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33313         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33314         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33315         unconditional.
33316         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33317         conditional code.
33319 2014-06-25  Will Newton  <will.newton@linaro.org>
33321         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33322         comment changes throughout the file.  Remove checks
33323         for HAVE_*_H definitions that are not required.
33324         (__gen_tempname): Call abort if an unknown kind value is
33325         passed.
33327 2014-06-25  Andreas Schwab  <schwab@suse.de>
33329         [BZ #17086]
33330         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33331         scalbln, scalblnf, scalblnl in libc.
33333 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33335         [BZ #17086]
33336         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33337         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33338         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33340 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33342         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33343         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33344         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33345         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33346         Update #include.
33347         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33348         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33349         Update #include.
33350         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33351         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33352         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33353         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33354         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33355         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33356         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33357         * sysdeps/x86/bits/semaphore.h: ... here.
33358         * sysdeps/x86/nptl/elide.h: Moved ...
33359         * sysdeps/x86/elide.h: ... here.
33360         * sysdeps/x86_64/nptl/Implies: File removed.
33361         * sysdeps/i386/nptl/Implies: File removed.
33363 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33365         [BZ #16539]
33366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33367         return the argument for normal arguments with exponent below -64.
33368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33369         Likewise.
33370         * math/auto-libm-test-in: Add another test of expm1.
33371         * math/auto-libm-test-out: Regenerated.
33373         [BZ #16287]
33374         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33375         calling __erfcl for arguments at least 16.
33376         * math/auto-libm-test-in: Add more tests of erf.
33377         * math/auto-libm-test-out: Regenerated.
33379         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33380         individual architectures.
33381         * sysdeps/unix/sysv/linux/configure: Regenerated.
33382         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33383         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33384         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33385         (ldd_rewrite_script): Define variable.
33386         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33388         file.
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33390         generated file.
33391         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33392         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33393         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33394         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33395         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33396         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33397         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33398         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33400 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33402         [BZ #17084]
33403         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33404         Rename member __data.d to __data.__elision_data.
33406 2014-06-24  Wilco  <wdijkstr@arm.com>
33408         * NEWS: Add 16918 to fixed bug list.
33410 2014-06-24  Wilco  <wdijkstr@arm.com>
33412         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33414 2014-06-24  Wilco  <wdijkstr@arm.com>
33416         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33417         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33418         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33419         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33420         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33421         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33422         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33423         Use _FPU_MASK_RM.
33425 2014-06-24  Wilco  <wdijkstr@arm.com>
33427         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33429 2014-06-24  Wilco  <wdijkstr@arm.com>
33431         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33432         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33433         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33434         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33436 2014-06-24  Wilco  <wdijkstr@arm.com>
33438         [BZ #16918]
33439         * sysdeps/arm/feupdateenv.c (feupdateenv):
33440         Rewrite to reduce FPSCR accesses and fix return value.
33442 2014-06-24  Wilco  <wdijkstr@arm.com>
33444         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33445         Optimize to avoid unnecessary FPSCR writes.
33446         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33447         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33448         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33449         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33451 2014-06-24  Wilco  <wdijkstr@arm.com>
33453         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33454         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33455         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33456         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33457         Call libc_fetestexcept_vfp.
33458         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33459         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33460         __SOFTFP__ ifdef so that they can be built for softfp.
33462 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33464         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33465         argument type signed char.
33467         * Makerules (check-abi): Dump diff of symlist if the test
33468         fails.
33470 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33472         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33473         using abort.
33475         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33476         Remove unused variable ST.
33478 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33480         [BZ #16354]
33481         [BZ #17061]
33482         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33483         small arguments before calling __expm1.
33484         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33485         small arguments before calling __expm1f.
33486         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33487         small arguments before calling __expm1l.
33488         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33489         Likewise.
33490         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33491         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33492         spurious underflow for some cosh tests.
33493         * math/auto-libm-test-out: Regenerated.
33494         * sysdeps/i386/fpu/libm-test-ulps: Update.
33496         [BZ #17050]
33497         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33498         (__ieee754_y1): Set errno if return value overflows.
33499         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33500         (__ieee754_y1f): Set errno if return value overflows.
33501         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33502         (__ieee754_y1l): Set errno if return value overflows.
33503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33504         (__ieee754_y1l): Set errno if return value overflows.
33505         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33506         * math/auto-libm-test-out: Regenerated.
33508         * math/gen-auto-libm-tests.c: Document use of
33509         ignore-zero-inf-sign.
33510         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33511         (input_flags): Add ignore-zero-inf-sign.
33512         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33513         * math/gen-libm-test.pl (generate_testfile): Handle
33514         ignore-zero-inf-sign.
33515         * math/auto-libm-test-in: Mark some cpow tests with
33516         ignore-zero-inf-sign and some with xfail-rounding.
33517         * math/auto-libm-test-out: Regenerated.
33518         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33519         * sysdeps/i386/fpu/libm-test-ulps: Update.
33520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33522         [BZ #16315]
33523         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33524         overflowing or underflowing operations take place with sign of
33525         result.
33526         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33527         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33528         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33529         (__ieee754_pow): Recompute overflowing and underflowing results in
33530         original rounding mode.
33531         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33532         (__powl_helper): Allow negative argument X and scale negated value
33533         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33534         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33535         overflowing or underflowing operations take place with sign of
33536         result.
33537         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33538         Include <math.h>.
33539         * math/auto-libm-test-in: Add more tests of pow.
33540         * math/auto-libm-test-out: Regenerated.
33541         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33542         (pow_tonearest_test_data): Remove.
33543         (pow_test_tonearest): Likewise.
33544         (pow_towardzero_test_data): Likewise.
33545         (pow_test_towardzero): Likewise.
33546         (pow_downward_test_data): Likewise.
33547         (pow_test_downward): Likewise.
33548         (pow_upward_test_data): Likewise.
33549         (pow_test_upward): Likewise.
33550         (main): Don't call removed functions.
33551         * sysdeps/i386/fpu/libm-test-ulps: Update.
33552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33554 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33557         Moved ...
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33560         Moved ...
33561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33563         Moved ...
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33566         Moved ...
33567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33569         File removed.
33570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33571         File removed.
33572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33573         File removed.
33574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33575         File removed.
33576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33577         File removed.
33578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33579         File removed.
33580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33581         File removed.
33582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33583         File removed.
33584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33585         File removed.
33586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33587         File removed.
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33589         File removed.
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33591         File removed.
33592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33593         Moved ...
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33596         Moved ...
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33598         ... here.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33603         Moved ...
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33606         Moved ...
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33609         Moved ...
33610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33612         Moved ...
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33615         Moved ...
33616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33618         Moved ...
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33622         ... here.
33623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33627         Moved ...
33628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33629         ... here.
33630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33631         Moved ...
33632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33633         ... here.
33634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33637         ... here.
33638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33639         Moved ...
33640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33642         Moved ...
33643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33649         ... here.
33650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33651         Moved ...
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33653         ... here.
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33655         Moved ...
33656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33658         Moved ...
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33661         Moved ...
33662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33664         Moved ...
33665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33667         Moved ...
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33669         ... here.
33670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33671         Moved ...
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33674         Moved ...
33675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33677         Moved ...
33678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33680         Moved ...
33681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33685         Moved ...
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33688         Moved ...
33689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33691         Moved ...
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33693         ... here.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33695         Moved ...
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33697         ... here.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33699         Moved ...
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33701         ... here.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33703         Moved ...
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33706         Moved ...
33707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33709         Moved ...
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33712         Moved ...
33713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33714         ... here.
33715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33716         Moved ...
33717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33718         ... here.
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33720         Moved ...
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33722         ... here.
33723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33730 2014-06-23  Will Newton  <will.newton@linaro.org>
33731             Wilco  <wdijkstr@arm.com>
33733         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33734         implementation.  Include get-rounding-mode.h.
33735         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33736         [!libc_feholdsetround_noex_ctx]: Define
33737         libc_feholdsetround_noex_ctx.
33738         [!libc_feholdsetround_noexf_ctx]: Define
33739         libc_feholdsetround_noexf_ctx.
33740         [!libc_feholdsetround_noexl_ctx]: Define
33741         libc_feholdsetround_noexl_ctx.
33742         (libc_feholdsetround_ctx): New function.
33743         (libc_feresetround_ctx): New function.
33744         (libc_feholdsetround_noex_ctx): New function.
33745         (libc_feresetround_noex_ctx): New function.
33747 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33749         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33750         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33751         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33752         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33753         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33754         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33756         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33757         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33758         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33759         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33760         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33761         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33762         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33763         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33764         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33765         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33767         Moved ...
33768         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33769         ... here.
33770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33771         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33773         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33775         Moved ...
33776         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33778         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33780         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33782         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33784         Moved ...
33785         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33787         Moved ...
33788         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33792         Moved ...
33793         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33795         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33796         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33797         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33798         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33799         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33801         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33803         Moved ...
33804         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33805         ... here.
33806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33807         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33809         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33811         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33813         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33815         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33817         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33819         Moved ...
33820         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33822         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33824         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33826         Moved ...
33827         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33829         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33830         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33831         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33833         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33834         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33835         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33836         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33838         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33839         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33840         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33841         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33842         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33844         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33845         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33846         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33848         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33849         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33850         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33852         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33853         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33854         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33856         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33857         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33858         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33859         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33860         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33862 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33865         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33866         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33867         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33868         (IPV6_PMTUDISC_INTERFACE): Likewise.
33869         (IPV6_PMTUDISC_OMIT): Likewise.
33871 2014-06-23  Andreas Schwab  <schwab@suse.de>
33873         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33874         Remove unused errout label.
33876 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33878         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33879         macro: hardware supports Vector Crypto instructions.
33881 2014-06-23  Will Newton  <will.newton@linaro.org>
33883         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33884         rather than __builtin_expect.
33886         * elf/dl-lookup.c (undefined_msg): Remove variable.
33887         (_dl_lookup_symbol_x): Replace undefined_msg with string
33888         literal.
33890         * elf/dl-lookup.c (do_lookup_unique): New function.
33891         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33892         to a separate function.
33894 2014-06-23  Andreas Schwab  <schwab@suse.de>
33896         [BZ #17079]
33897         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33898         before reading the next line.
33900 2014-06-23  Will Newton  <will.newton@linaro.org>
33902         * test-skeleton.c (signal_handler): Use printf and %m
33903         rather than perror.  Use printf rather than fprintf to
33904         stderr.  Use puts rather than fputs to stderr.
33905         (main): Likewise.
33907 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33909         * nscd/nscd.c (thread_info_t): Remove typedef.
33910         (thread_info): Remove variable.
33912 2014-06-21  Allan McRae  <allan@archlinux.org>
33914         * NEWS: Mention CVE-2014-4043.
33916 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33918         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33919         * nptl/smp.h: ... here.
33921         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33923         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33924         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33925         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33926         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33928         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33929         * nptl/stack-aliasing.h: New file.
33930         * sysdeps/i386/i686/stack-aliasing.h: New file.
33931         * sysdeps/i386/i686/nptl/Makefile: File removed.
33932         * sysdeps/x86_64/stack-aliasing.h: New file.
33933         * sysdeps/x86_64/nptl/Makefile
33934         (CFLAGS-pthread_create.c): Variable removed.
33936         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33937         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33938         old file.
33939         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33940         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33941         old file.
33943 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33945         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33946         (__ASSUME_SIGFRAME_V2): Remove macro.
33947         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33948         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33949         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33950         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33951         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33952         Declare as function.  Remove conditional macro definitions.
33953         (__default_rt_sa_restorer): Likewise.
33954         (__default_sa_restorer_v1): Remove declaration.
33955         (__default_sa_restorer_v2): Likewise.
33956         (__default_rt_sa_restorer_v1): Likewise.
33957         (__default_rt_sa_restorer_v2): Likewise.
33958         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33959         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33960         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33962 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33964         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33965         (libpthread-routines): Add sysdep.
33966         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33967         * sysdeps/unix/sysv/linux/sparc/Versions
33968         (libpthread: GLIBC_2.3.3): New version set.
33969         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33970         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33971         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33972         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33973         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33974         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33975         Moved ...
33976         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33977         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33978         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33979         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33980         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33981         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33982         * sysdeps/sparc/nptl/sem_init.c: ... here.
33983         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33984         * sysdeps/sparc/nptl/sem_post.c: ... here.
33985         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33986         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33987         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33988         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33989         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33990         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33991         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33992         (libpthread-routines): Add cpu_relax.
33993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33994         File removed.
33995         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33996         (librt: GLIBC_2.3.3): New version set.
33997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33998         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33999         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34000         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34003         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34005         Moved ...
34006         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34008         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34010         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34012         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34014         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34016         Moved ...
34017         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34018         Update #include.
34019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34020         Moved ...
34021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34022         Update #include.
34023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34024         Moved ...
34025         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34026         Update #include.
34027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34028         Moved ...
34029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34030         Update #include.
34031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34032         Moved ...
34033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34034         Update #include.
34035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34036         Moved ...
34037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34038         Update #include.
34039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34040         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34046         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34048         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34050         Moved ...
34051         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34053         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34057 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34059         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34060         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34061         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34062         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34063         * nscd/nscd.c: Likewise.
34064         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34065         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34066         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34067         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34069         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34070         <kernel-features.h>.
34071         (init_mq_netlink): Remove conditional have_sock_cloexec
34072         definitions.  Remove code conditional on have_sock_cloexec < 0.
34073         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34074         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34075         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34076         <kernel-features.h>.
34077         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34078         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34080 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34083         Add tests for memset_chk and memset.
34085         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34086         with AVX2_Usable.
34088 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34090         [BZ #16046]
34091         * elf/tst-dl-iter-static.c: New file.
34092         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34094         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34095         error.
34097 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34099         * sysdeps/unix/sysv/linux/kernel-features.h
34100         (__ASSUME_F_GETOWN_EX): Remove macro.
34101         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34102         <kernel-features.h>.
34103         (miss_F_GETOWN_EX): Remove variable or macro.
34104         (do_fcntl): Do not check miss_F_GETOWN_EX.
34105         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34108         Remove macro.
34109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34110         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34111         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34113         * sysdeps/unix/sysv/linux/kernel-features.h
34114         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34115         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34116         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34117         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34119 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34121         [BZ #17075]
34122         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34123         Fix calculation of the symbol's value.
34124         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34125         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34126         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34127         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34128         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34129         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34130         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34131         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34132         (modules-names): Add `tst-armtlsdescmod',
34133         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34134         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34135         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34136         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34137         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34138         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34139         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34140         ($(objpfx)tst-armtlsdescloc): New dependency.
34141         ($(objpfx)tst-armtlsdescextnow): Likewise.
34142         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34143         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34144         TLS scheme support.
34145         * sysdeps/arm/configure: Regenerate.
34147 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34149         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34150         (__atfct_seterrno_2): Likewise.
34151         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34152         <kernel-features.h>.
34153         (__ASSUME_ATFCTS): Do not undefine and redefine.
34154         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34155         (__have_atfcts): Remove conditional definition.
34156         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34157         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34158         unreachable if [__ASSUME_ATFCTS].
34159         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34160         not undefine and redefine.
34161         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34162         <kernel-features.h>.
34163         (faccessat) [__NR_faccessat]: Make code unconditional.
34164         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34165         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34166         <kernel-features.h>.
34167         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34168         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34169         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34170         <kernel-features.h>.
34171         (fchownat) [__NR_fchownat]: Make code unconditional.
34172         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34173         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34174         <kernel-features.h>.
34175         (futimesat) [__NR_futimesat]: Make code unconditional.
34176         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34177         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34178         <kernel-features.h>.
34179         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34180         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34181         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34182         <kernel-features.h>.
34183         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34184         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34185         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34186         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34187         <kernel-features.h>.
34188         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34189         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34190         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34191         <kernel-features.h>.
34192         (linkat) [__NR_linkat]: Make code unconditional.
34193         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34194         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34195         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34196         <kernel-features.h>.
34197         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34198         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34199         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34200         <kernel-features.h>.
34201         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34202         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34203         * sysdeps/unix/sysv/linux/openat.c: Do not include
34204         <kernel-features.h>.
34205         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34206         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34207         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34208         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34209         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34210         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34211         <kernel-features.h>.
34212         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34213         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34214         result of INLINE_SYSCALL directly, not via int variable.
34215         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34216         <kernel-features.h>.
34217         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34218         (renameat) [__NR_renameat]: Make code unconditional.
34219         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34220         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34221         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34222         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34223         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34224         (__ASSUME_ATFCTS): Do not undefine and redefine.
34225         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34226         <kernel-features.h>.
34227         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34228         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34229         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34230         <kernel-features.h>.
34231         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34232         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34233         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34234         (__ASSUME_ATFCTS): Do not undefine and redefine.
34235         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34236         <kernel-features.h>.
34237         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34238         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34239         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34240         <kernel-features.h>.
34241         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34242         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34244 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34246         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34248 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34250         [BZ #17069]
34251         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34252         constructed tree before returning error.
34253         * posix/bug-regexp36.c: Expand test case.
34255 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34257         [BZ #6803]
34258         * math/libm-test.inc (scalbln_test_date):
34259         Add errno expectations.
34260         * math/w_scalblnf.c: New File.
34261         Add wrapper which checks for setting errno to ERANGE.
34262         Add weak_alias for corresponding scalbln function.
34263         * math/w_scalbln.c: Likewise.
34264         * math/w_scalblnl.c: Likewise.
34265         * math/Makefile (libm-calls): Add w_scalbln.
34266         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34267         Remove weak_alias for corresponding scalbln function.
34268         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34270         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34272         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34273         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34274         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34275         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34276         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34277         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34278         Remove long_double_symbol for scalblnl function in libm, libc.
34279         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34280         Add wrapper which checks for setting errno to ERANGE.
34281         Add long_double_symbol for scalblnl function in libm, libc.
34282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34283         Remove long_double_symbol for scalblnl in libm.
34284         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34285         Add wrapper which checks for setting errno to ERANGE.
34286         Add long_double_symbol for scalblnl function in libm.
34287         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34288         Do not use wrapper because of own implementation.
34290 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34292         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34293         3 bytes for __pad1 for x32.
34294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34296 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34297             H.J. Lu  <hongjiu.lu@intel.com>
34299         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34300         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34301         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34303         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34305 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34307         [BZ #17069]
34308         * posix/regcomp.c (parse_expression): Deallocate partially
34309         constructed tree before returning error.
34310         * posix/Makefile.c (tests): Add bug-regex36.
34311         (generated): Add bug-regex36.mtrace.
34312         (tests-special): Add $(objpfx)bug-regex36-mem.out
34313         (bug-regex36-ENV): New variable.
34314         ($(objpfx)bug-regex36-mem.out): New rule.
34315         * posix/bug-regex36.c: New file.
34317 2014-06-19  Will Newton  <will.newton@linaro.org>
34319         * malloc/malloc.c (systrim): If extra is zero then return
34320         early.
34322 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34324         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34326 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34328         * sysdeps/aarch64/strchr.S: New file.
34330 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34332         [BZ #17022]
34333         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34334         from arguments -2 or below.
34335         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34336         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34338 2014-06-18  Andreas Schwab  <schwab@suse.de>
34340         [BZ #17062]
34341         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34342         of a bracket expr not to run off the end of the string.
34343         * posix/Makefile (tests): Add tst-fnmatch3.
34344         * posix/tst-fnmatch3.c: New file.
34346 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34348         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34349         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34350         [$(cross-compiling) = no]: Likewise.
34351         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34352         [$(cross-compiling) = no]: Likewise.
34354 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34356         [BZ #17031]
34357         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34358         double, adjusted for any remainder from the high double.
34359         * math/libm-test.inc (nearbyint): Add tests.
34360         (rint): Likewise.
34362 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34364         * nptl/sysdeps/powerpc/Makefile: Moved ...
34365         * sysdeps/powerpc/nptl/Makefile: ... here.
34366         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34367         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34368         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34369         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34370         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34371         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34372         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34373         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34374         * nptl/sysdeps/powerpc/tls.h: Moved ...
34375         * sysdeps/powerpc/nptl/tls.h: ... here.
34377 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34379         [BZ #16681]
34380         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34381         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34382         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34383         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34384         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34385         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34386         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34387         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34388         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34390 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34392         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34394 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34396         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34397         defined operator.
34399         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34400         $TIMEOUTFACTOR.
34402 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34404         [BZ #17058]
34405         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34406         non-executed part of the test.
34408 2014-06-16  Andreas Schwab  <schwab@suse.de>
34410         * string/bits/string2.h (strdup, strndup): Update feature guard.
34412 2014-06-14  David S. Miller  <davem@davemloft.net>
34414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34416 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34418         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34419         that was previously under [RESET_PID].
34420         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34422         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34423         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34424         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34425         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34426         (__libc_vfork): New strong alias.
34427         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34429 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34431         * sysdeps/generic/elide.h: New file.
34433 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34435         * Makefile (installed-headers): Adjust path of pthread.h header.
34437 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34439         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34440         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34441         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34442         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34444         * nptl/sysdeps/s390/Makefile: Moved ...
34445         * sysdeps/s390/nptl/Makefile: ... here.
34446         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34447         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34448         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34449         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34450         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34451         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34452         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34453         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34454         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34455         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34456         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34457         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34458         * nptl/sysdeps/s390/tls.h: Moved ...
34459         * sysdeps/s390/nptl/tls.h: ... here.
34461         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34462         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34464 2014-06-13  David S. Miller  <davem@davemloft.net>
34466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34469         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34473         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34474         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34475         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34476         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34477         Remove RESET_PID cpp guards.
34478         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34479         Remove RESET_PID cpp guards.
34480         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34482 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34484         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34485         __sp to uintptr_t.
34487 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34489         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34490         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34491         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34492         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34494         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34496         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34497         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34499         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34500         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34501         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34502         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34504         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34505         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34506         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34507         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34510         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34511         (pthread_rwlock_rdlock): Add elision.
34512         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34513         (pthread_rwlock_wrlock): Add elision.
34514         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34515         (pthread_rwlock_trywrlock): Add elision.
34516         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34517         (pthread_rwlock_tryrdlock): Add elision.
34518         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34519         (pthread_rwlock_tryrdlock): Add elision unlock.
34520         * nptl/sysdeps/pthread/pthread.h:
34521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34522         (PTHREAD_RWLOCK_INITIALIZER,
34523         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34524         Handle new elision field.
34525         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34526         * sysdeps/arm/nptl/bits/pthreadtypes.h
34527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34528         * sysdeps/sh/nptl/bits/pthreadtypes.h
34529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34530         * sysdeps/tile/nptl/bits/pthreadtypes.h
34531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34532         * sysdeps/a/nptl/bits/pthreadtypes.h
34533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34534         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34538         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34540         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34542         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34544         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34546         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34548         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34550         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34551         (elision_init): Set try_xbegin to zero when no RTM.
34552         * sysdeps/x86/nptl/bits/pthreadtypes.h
34553         (pthread_rwlock_t): Change __pad1 to __rwelision.
34554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34556 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34558         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34559         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34560         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34561         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34563 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34565         [BZ #16996]
34566         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34567         that the cached result has been set before returning it.
34569 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34571         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34572         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34573         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34574         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34576         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34578         * nptl/sysdeps/sparc/Makefile: Moved ...
34579         * sysdeps/sparc/nptl/Makefile: ... here.
34580         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34581         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34582         * nptl/sysdeps/sparc/tls.h: Moved ...
34583         * sysdeps/sparc/nptl/tls.h: ... here.
34584         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34585         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34586         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34587         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34588         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34589         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34590         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34591         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34592         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34593         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34594         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34595         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34596         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34597         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34598         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34599         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34600         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34602         Update #include.
34603         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34605         Update #include.
34606         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34607         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34608         Update #include.
34609         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34611         Update #include.
34613         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34615         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34616         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34618         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34619         (struct list_links): Type removed.
34620         (struct thread_node, struct timer_node): Replace struct list_links
34621         with struct list_head.
34622         (list_unlink_ip): Likewise.
34623         * sysdeps/pthread/timer_routines.c
34624         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34625         (list_append, list_insbefore): Likewise.
34626         (list_init): Function removed.
34627         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34628         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34629         * sysdeps/pthread/Makefile: ... here, new file.
34631         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34632         * sysdeps/nptl/Implies: ... here.
34633         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34634         * nptl/sysdeps/pthread/list.h: Moved ...
34635         * include/list.h: ... here.
34636         * nptl/sysdeps/pthread/createthread.c: Moved ...
34637         * nptl/createthread.c: ... here.
34638         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34639         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34640         * nptl/pt-longjmp.c: ... here.
34641         * nptl/sysdeps/pthread/Makefile: Moved ...
34642         * sysdeps/nptl/Makefile: ... here.
34643         * nptl/sysdeps/pthread/Subdirs: Moved ...
34644         * sysdeps/nptl/Subdirs: ... here.
34645         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34646         * sysdeps/nptl/aio_misc.h: ... here.
34647         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34648         * sysdeps/nptl/bits/libc-lock.h: ... here.
34649         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34650         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34651         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34652         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34653         * nptl/sysdeps/pthread/configure: Moved ...
34654         * sysdeps/nptl/configure: ... here.
34655         * nptl/sysdeps/pthread/configure.ac: Moved ...
34656         * sysdeps/nptl/configure.ac: ... here.
34657         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34658         * sysdeps/nptl/gai_misc.h: ... here.
34659         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34660         * sysdeps/nptl/librt-cancellation.c: ... here.
34661         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34662         * sysdeps/nptl/malloc-machine.h: ... here.
34663         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34664         * sysdeps/nptl/pthread-functions.h: ... here.
34665         * nptl/sysdeps/pthread/pthread.h: Moved ...
34666         * sysdeps/nptl/pthread.h: ... here.
34667         * nptl/sysdeps/pthread/setxid.h: Moved ...
34668         * sysdeps/nptl/setxid.h: ... here.
34669         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34670         * sysdeps/nptl/sigfillset.c: ... here.
34671         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34672         * sysdeps/nptl/tcb-offsets.h: ... here.
34673         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34674         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34675         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34676         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34677         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34678         * sysdeps/pthread/allocalim.h: ... here.
34679         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34680         * sysdeps/pthread/bits/sigthread.h: ... here.
34681         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34682         * sysdeps/pthread/flockfile.c: ... here.
34683         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34684         * sysdeps/pthread/ftrylockfile.c: ... here.
34685         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34686         * sysdeps/pthread/funlockfile.c: ... here.
34687         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34688         * sysdeps/pthread/posix-timer.h: ... here.
34689         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34690         * sysdeps/pthread/timer_create.c: ... here.
34691         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34692         * sysdeps/pthread/timer_delete.c: ... here.
34693         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34694         * sysdeps/pthread/timer_getoverr.c: ... here.
34695         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34696         * sysdeps/pthread/timer_gettime.c: ... here.
34697         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34698         * sysdeps/pthread/timer_routines.c: ... here.
34699         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34700         * sysdeps/pthread/timer_settime.c: ... here.
34701         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34702         * sysdeps/pthread/tst-timer.c: ... here.
34703         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34704         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34706         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34707         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34709         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34710         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34711         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34712         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34713         Update #include target.
34714         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34715         * sysdeps/i386/i686/nptl/Makefile: ... here.
34716         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34717         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34718         Update #include target.
34719         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34720         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34721         * nptl/sysdeps/i386/Makefile: Moved ...
34722         * sysdeps/i386/nptl/Makefile: ... here.
34723         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34724         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34725         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34726         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34727         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34728         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34729         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34730         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34731         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34732         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34733         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34734         * nptl/sysdeps/i386/tls.h: Moved ...
34735         * sysdeps/i386/nptl/tls.h: ... here.
34737         * sysdeps/sh/Makefile [$(subdir) = csu]
34738         (gen-as-const-headers): Add tcb-offsets.sym.
34739         * nptl/sysdeps/sh/Makefile: File removed.
34740         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34741         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34742         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34743         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34744         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34745         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34746         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34747         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34748         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34749         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34750         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34751         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34752         * nptl/sysdeps/sh/tls.h: Moved ...
34753         * sysdeps/sh/nptl/tls.h: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34755         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34756         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34757         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34758         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34759         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34760         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34761         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34763         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34764         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34765         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34766         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34767         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34769         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34771         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34773         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34775         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34777         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34779         Moved ...
34780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34782         Moved ...
34783         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34784         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34785         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34788         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34789         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34790         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34791         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34792         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34793         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34794         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34795         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34796         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34797         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34798         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34799         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34800         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34801         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34803 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34805         * posix/spawn_faction_addopen.c: Include string.h.
34807 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34809         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34810         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34811         * nptl/sysdeps/x86_64/Makefile: Moved ...
34812         * sysdeps/x86_64/nptl/Makefile: ... here.
34813         * nptl/sysdeps/x86_64/configure: Moved ...
34814         * sysdeps/x86_64/nptl/configure: ... here.
34815         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34816         * sysdeps/x86_64/nptl/configure.ac: ... here.
34817         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34818         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34819         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34820         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34821         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34822         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34823         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34824         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34825         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34826         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34827         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34828         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34829         * nptl/sysdeps/x86_64/tls.h: Moved ...
34830         * sysdeps/x86_64/nptl/tls.h: ... here.
34831         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34832         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34833         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34834         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34836         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34838 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34842 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34844         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34845         type.
34846         [POSIX] (off_t): Likewise.
34847         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34848         [POSIX] (S_ISBLK): Require macro.
34849         [POSIX] (S_ISCHR): Likewise.
34850         [POSIX] (S_ISDIR): Likewise.
34851         [POSIX] (S_ISFIFO): Likewise.
34852         [POSIX] (S_ISREG): Likewise.
34853         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34854         optional-macro.
34855         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34856         type.
34857         [POSIX] (time_t): Likewise.
34858         [POSIX] (timer_t): Likewise.
34860 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34862         [BZ #17048]
34863         * posix/spawn_int.h (struct __spawn_action): Make the path string
34864         non-const to support deallocation.
34865         * posix/spawn_faction_addopen.c
34866         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34867         * posix/spawn_faction_destroy.c
34868         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34869         path in all spawn_do_open actions.
34870         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34871         posix_spawn_file_actions_addopen.
34873 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34875         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34876         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34877         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34878         conditional code always true.
34879         (__libc_vfork): New alias.
34881 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34883         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34884         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34886         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34888         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34889         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34891         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34892         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34894         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34895         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34897 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34899         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34900         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34901         multiarch strcmp for PPC64.
34902         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34903         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34905         multiarch optimizations.
34906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34907         (__libc_ifunc_impl_list): Likewise.
34909 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34911         * benchtests/scripts/validate_benchout.py: New script.
34912         * benchtests/Makefile (bench-func): Call it.
34913         * benchtests/scripts/benchout.schema.json: New file.
34915 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34917         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34918         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34919         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34920         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34921         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34922         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34923         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34924         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34925         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34926         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34927         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34928         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34929         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34930         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34931         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34932         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34934         Moved ...
34935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34936         ... here.
34937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34938         Moved ...
34939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34941         Moved ...
34942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34943         ... here.
34944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34945         Moved ...
34946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34947         ... here.
34948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34949         Moved ...
34950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34952         Moved ...
34953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34954         ... here.
34955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34956         Moved ...
34957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34958         ... here.
34959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34960         Moved ...
34961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34963         Moved ...
34964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34965         ... here.
34966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34967         Moved ...
34968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34969         ... here.
34970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34971         Moved ...
34972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34973         ... here.
34974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34975         Moved ...
34976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34978         Moved ...
34979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34980         ... here.
34981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34982         Moved ...
34983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34984         ... here.
34985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34986         Moved ...
34987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34988         ... here.
34989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34990         Moved ...
34991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34993         Moved ...
34994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34995         ... here.
34996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34997         Moved ...
34998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34999         ... here.
35000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35001         Moved ...
35002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35004         Moved ...
35005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35006         ... here.
35007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35008         Moved ...
35009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35011         Moved ...
35012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35014         Moved ...
35015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35016         ... here.
35017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35018         Moved ...
35019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35020         ... here.
35021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35022         Moved ...
35023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35024         ... here.
35025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35026         Moved ...
35027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35029         Moved ...
35030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35031         ... here.
35032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35033         Moved ...
35034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35035         ... here.
35036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35037         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35038         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35039         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35041         Moved ...
35042         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35043         ... here.
35044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35045         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35047         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35049         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35051         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35053         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35055         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35057         Moved ...
35058         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35060         Moved ...
35061         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35063         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35065         Moved ...
35066         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35068         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35069         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35070         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35071         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35072         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35074 2014-06-10  Wilco  <wdijkstr@arm.com>
35076         * math/test-fenv-return.c: New file.
35077         * math/Makefile: Add new test test-fenv-return.
35079 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35081         [BZ #17042]
35082         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35083         when x - 1 is zero.
35084         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35085         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35086         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35087         0.0L for an argument of 1.0L.
35088         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35089         Likewise.
35090         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35091         value when x - 1 is zero.
35092         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35093         * sysdeps/i386/fpu/libm-test-ulps: Update.
35094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35096 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35098         [BZ #15119]
35099         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35101 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35103         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35104         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35106 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35108         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35109         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35111         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35112         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35114         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35115         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35117         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35118         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35120         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35121         if not already defined.
35122         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35123         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35124         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35125         (TLS_INIT_TP): Use it.
35126         (TLS_DEFINE_INIT_TP): New macro.
35127         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35129 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35131         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35132         constant.
35133         [POSIX] (IXANY): Likewise.
35134         [POSIX] (OLCUC): Likewise.
35135         [POSIX || POSIX2008] (CBAUD): Do not allow.
35136         [POSIX || POSIX2008] (DEFECHO): Likewise.
35137         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35138         [POSIX || POSIX2008] (ECHOKE): Likewise.
35139         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35140         [POSIX || POSIX2008] (EXTA): Likewise.
35141         [POSIX || POSIX2008] (EXTB): Likewise.
35142         [POSIX || POSIX2008] (FLUSHO): Likewise.
35143         [POSIX || POSIX2008] (LOBLK): Likewise.
35144         [POSIX || POSIX2008] (PENDIN): Likewise.
35145         [POSIX || POSIX2008] (SWTCH): Likewise.
35146         [POSIX || POSIX2008] (VDISCARD): Likewise.
35147         [POSIX || POSIX2008] (VDSUSP): Likewise.
35148         [POSIX || POSIX2008] (VLNEXT): Likewise.
35149         [POSIX || POSIX2008] (VREPRINT): Likewise.
35150         [POSIX || POSIX2008] (VSTATUS): Likewise.
35151         [POSIX || POSIX2008] (VWERASE): Likewise.
35152         (B*): Change to B[0123456789]*.
35153         * conform/data/time.h-data [POSIX || UNIX98]
35154         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35155         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35156         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35157         [POSIX] (tm_*): Do not allow.
35159 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35161         * Makefile (install): Don't set LANGUAGE.
35162         * Makefile.in (install): Likewise.
35163         * assert/Makefile (test-assert-ENV): Remove variable.
35164         (test-assert-perr-ENV): Likewise.
35165         * elf/Makefile (neededtest4-ENV): Likewise.
35166         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35167         [$(cross-compiling) = no]: Don't set LANGUAGE.
35168         * io/ftwtest-sh (LANG): Remove variable.
35169         * libio/Makefile (tst-widetext-ENV): Likewise.
35170         * manual/install.texi (Running make install): Don't refer to
35171         environment settings for make install.
35172         * INSTALL: Regenerated.
35173         * nptl/tst-tls6.sh: Don't set LANG.
35174         * posix/globtest.sh (LANG): Remove variable.
35175         * string/Makefile (tester-ENV): Likewise.
35176         (inl-tester-ENV): Likewise.
35177         (noinl-tester-ENV): Likewise.
35178         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35179         [$(cross-compiling) = no]: Don't set LANGUAGE.
35180         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35181         without explicit environment settings.
35183 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35185         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35186         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35187         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35188         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35190 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35192         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35193         other files in the crypt directory.
35194         * crypt/crypt.c: Remove duplicate includes.
35195         * crypt/crypt-entry.c: Likewise.
35196         * crypt/crypt_util.c: Likewise.
35198 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35200         * Makeconfig (run-program-env): New variable.
35201         (run-program-prefix-before-env): Likewise.
35202         (run-program-prefix-after-env): Likewise.
35203         (run-program-prefix): Define in terms of new variables.
35204         (built-program-cmd-before-env): New variable.
35205         (built-program-cmd-after-env): Likewise.
35206         (built-program-cmd): Define in terms of new variables.
35207         (test-program-prefix-before-env): New variable.
35208         (test-program-prefix-after-env): Likewise.
35209         (test-program-prefix): Define in terms of new variables.
35210         (test-program-cmd-before-env): New variable.
35211         (test-program-cmd-after-env): Likewise.
35212         (test-program-cmd): Define in terms of new variables.
35213         * Rules (make-test-out): Use $(run-program-env).
35214         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35215         (help): Do not mention environment variables.  Mention
35216         --timeoutfactor option.
35217         (timeoutfactor): New variable.
35218         (blacklist_exports): Remove function.
35219         (exports): Remove variable.
35220         (command): Do not include ${exports}.
35221         * manual/install.texi (Configuring and compiling): Do not mention
35222         test wrappers preserving environment variables.  Mention that last
35223         assignment to a variable must take precedence.
35224         * INSTALL: Regenerated.
35225         * benchtests/Makefile (run-bench): Use $(run-program-env).
35226         * catgets/Makefile ($(objpfx)test1.cat): Use
35227         $(built-program-cmd-before-env), $(run-program-env) and
35228         $(built-program-cmd-after-env).
35229         ($(objpfx)test2.cat): Do not specify environment variables
35230         explicitly.
35231         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35232         $(run-program-env) and $(built-program-cmd-after-env).
35233         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35234         $(run-program-env) and $(test-program-cmd-after-env).
35235         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35236         explicitly.
35237         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35238         run_program_env and test_program_cmd_after_env arguments.
35239         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35240         * elf/tst-pathopt.sh: Use run_program_env argument.
35241         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35242         $(test-wrapper-env) and $(run-program-env).
35243         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35244         run_program_env arguments.
35245         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35246         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35247         $(test-program-prefix-before-env), $(run-program-env) and
35248         $(test-program-prefix-after-env).
35249         ($(objpfx)tst-gettext2.out): Likewise.
35250         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35251         run_program_env and test_program_prefix_after_env arguments.
35252         * intl/tst-gettext2.sh: Likewise.
35253         * intl/tst-gettext4.sh: Do not set environment variables
35254         explicitly.
35255         * intl/tst-gettext6.sh: Likewise.
35256         * intl/tst-translit.sh: Likewise.
35257         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35258         $(test-program-prefix-before-env), $(run-program-env) and
35259         $(test-program-prefix-after-env).
35260         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35261         run_program_env and test_program_prefix_after_env arguments.
35262         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35263         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35264         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35265         explicitly with each use of ${test_wrapper_env}.
35266         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35267         $(test-program-prefix-before-env), $(run-program-env) and
35268         $(test-program-prefix-after-env).
35269         * posix/tst-getconf.sh: Do not set environment variables
35270         explicitly.
35271         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35272         run_program_env and test_program_prefix_after_env arguments.
35273         * stdio-common/tst-printf.sh: Do not set environment variables
35274         explicitly.
35275         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35276         $(test-program-prefix-before-env), $(run-program-env) and
35277         $(test-program-prefix-after-env).
35278         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35279         run_program_env and test_program_prefix_after_env arguments.
35280         Split $test calls into $test_pre and $test.
35281         * timezone/Makefile (build-testdata): Use
35282         $(built-program-cmd-before-env), $(run-program-env) and
35283         $(built-program-cmd-after-env).
35285 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35287         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35288         strlen for non SHARED builds.
35290 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35292         * nptl/allocatestack.c (check_list): Inlined function...
35293         (__reclaim_stacks): ... here.
35295 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35297         [BZ #15698]
35298         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35299         memory overrun.
35301 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35303         * Rules (make-test-out): Include
35304         LOCPATH=$(common-objpfx)localedata in default environment.
35305         * debug/Makefile (tst-chk1-ENV): Remove variable.
35306         (tst-chk2-ENV): Likewise.
35307         (tst-chk3-ENV): Likewise.
35308         (tst-chk4-ENV): Likewise.
35309         (tst-chk5-ENV): Likewise.
35310         (tst-chk6-ENV): Likewise.
35311         (tst-lfschk1-ENV): Likewise.
35312         (tst-lfschk2-ENV): Likewise.
35313         (tst-lfschk3-ENV): Likewise.
35314         (tst-lfschk4-ENV): Likewise.
35315         (tst-lfschk5-ENV): Likewise.
35316         (tst-lfschk6-ENV): Likewise.
35317         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35318         (tst-iconv7-ENV): Likewise.
35319         * intl/Makefile (LOCPATH-ENV): Likewise.
35320         (tst-codeset-ENV): Likewise.
35321         (tst-gettext3-ENV): Likewise.
35322         (tst-gettext5-ENV): Likewise.
35323         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35324         (tst-fopenloc-ENV): Likewise.
35325         (tst-fgetws-ENV): Remove variable.
35326         (tst-ungetwc1-ENV): Likewise.
35327         (tst-ungetwc2-ENV): Likewise.
35328         (bug-ungetwc2-ENV): Likewise.
35329         (tst-swscanf-ENV): Likewise.
35330         (bug-ftell-ENV): Likewise.
35331         (tst-fgetwc-ENV): Likewise.
35332         (tst-fseek-ENV): Likewise.
35333         (tst-ftell-partial-wide-ENV): Likewise.
35334         (tst-ftell-active-handler-ENV): Likewise.
35335         (tst-ftell-append-ENV): Likewise.
35336         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35337         (tst-regexloc-ENV): Likewise.
35338         (bug-regex1-ENV): Likewise.
35339         (tst-regex-ENV): Likewise.
35340         (tst-regex2-ENV): Likewise.
35341         (bug-regex5-ENV): Likewise.
35342         (bug-regex6-ENV): Likewise.
35343         (bug-regex17-ENV): Likewise.
35344         (bug-regex18-ENV): Likewise.
35345         (bug-regex19-ENV): Likewise.
35346         (bug-regex20-ENV): Likewise.
35347         (bug-regex22-ENV): Likewise.
35348         (bug-regex23-ENV): Likewise.
35349         (bug-regex25-ENV): Likewise.
35350         (bug-regex26-ENV): Likewise.
35351         (bug-regex30-ENV): Likewise.
35352         (bug-regex32-ENV): Likewise.
35353         (bug-regex33-ENV): Likewise.
35354         (bug-regex34-ENV): Likewise.
35355         (bug-regex35-ENV): Likewise.
35356         (tst-rxspencer-ENV): Likewise.
35357         (tst-rxspencer-no-utf8-ENV): Likewise.
35358         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35359         (tst-sscanf-ENV): Likewise.
35360         (tst-swprintf-ENV): Likewise.
35361         (tst-swscanf-ENV): Likewise.
35362         (test-vfprintf-ENV): Likewise.
35363         (scanf13-ENV): Likewise.
35364         (bug14-ENV): Likewise.
35365         (tst-grouping-ENV): Likewise.
35366         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35367         (tst-strtod3-ENV): Likewise.
35368         (tst-strtod4-ENV): Likewise.
35369         (tst-strtod5-ENV): Likewise.
35370         (testmb2-ENV): Likewise./
35371         * string/Makefile (tst-strxfrm-ENV): Likewise.
35372         (tst-strxfrm2-ENV): Likewise.
35373         (bug-strcoll1-ENV): Likewise.
35374         (test-strcasecmp-ENV): Likewise.
35375         (test-strncasecmp-ENV): Likewise.
35376         * time/Makefile (tst-strptime-ENV): Likewise.
35377         (tst-ftime_l-ENV): Likewise.
35378         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35379         (tst-mbrtowc-ENV): Likewise.
35380         (tst-wcrtomb-ENV): Likewise.
35381         (tst-mbrtowc2-ENV): Likewise.
35382         (tst-c16c32-1-ENV): Likewise.
35383         (tst-mbsnrtowcs-ENV): Likewise.
35385 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35387         * manual/resource.texi (How to get information about the memory
35388         subsystem?): Fix typo.
35389         Reported by Peon de la Parra Ivan <peon@keba.com>
35391 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35393         [BZ #16882]
35394         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35395         (pthread_spin_lock): Branch out of spin loop to proper location.
35396         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35397         (pthread_spin_lock): Likewise.
35399         * nptl/tst-spin4.c: New test.
35400         * nptl/Makefile (tests): Add tst-spin4.
35402 2014-06-03  Andreas Schwab  <schwab@suse.de>
35404         [BZ #15946]
35405         * resolv/res_send.c (send_dg): Reload file descriptor after
35406         calling reopen.
35408 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35410         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35412 2014-06-03  Richard Henderson  <rth@redhat.com>
35414         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35415         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35416         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35417         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35418         in the SAVE_PID block.
35419         (__libc_vfork): New alias.
35420         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35422         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35423         child in registers, not on the stack.  Remove RESET_PID conditionals.
35424         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35426 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35428         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35430 2014-06-03  Wilco  <wdijkstr@arm.com>
35432         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35433         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35434         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35435         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35436         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35437         Likewise.
35439 2014-06-03  Wilco  <wdijkstr@arm.com>
35441         * sysdeps/aarch64/fpu/math_private.h
35442         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35443         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35444         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35445         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35446         Fix declarations.
35448 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35450         * crypt/crypt-private.h: Include ufc-crypt.h.
35451         (__b64_from_24bit): Declare extern.
35452         * crypt/crypt_util.c(__b64_from_24bit): New function.
35453         (b64t): New static const variable.
35454         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35455         (b64t): Remove variable.
35456         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35457         * crypt/sha256-crypt.c: Include crypt-private.h.
35458         (b64t): Remove variable.
35459         (__sha256_crypt_r): Remove b64_from_24bit and replace
35460         with __b64_from_24bit.
35461         * crypt/sha512-crypt.c: Likewise.
35463 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35465         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35466         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35467         Label the code __libc_vfork rather than __vfork.
35468         [!NOT_IN_libc] (vfork): Define as weak alias.
35469         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35470         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35471         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35473 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35475         * malloc/malloc.c (malloc_info): Fix format specifier for
35476         n_mmaps.
35478 2014-06-02  Wilco  <wdijkstr@arm.com>
35480         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35481         FPCR write.
35483 2014-06-02  Wilco  <wdijkstr@arm.com>
35485         [BZ #17009]
35486         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35487         Rewrite to reduce FPCR/FPSR accesses.
35489 2014-06-01  David S. Miller  <davem@davemloft.net>
35491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35493 2014-05-31  David S. Miller  <davem@davemloft.net>
35495         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35496         to occur in round to nearest mode when |x| >= 2.0
35498 2014-05-30  Richard Henderson  <rth@twiddle.net>
35500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35501         (PSEUDO_RET_NOERRNO): Remove.
35502         (ret): Don't redefine.
35503         (ret_NOERRNO): Define in terms of ret.
35504         (ret_ERRVAL): Likewise.
35506         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35507         use of PSEUDO_RET; perform the error check directly.
35509 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35511         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35512         with __int128_t.
35514 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35516         * malloc/malloc (malloc_info): Fix formatting.
35518 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35519             Roland McGrath  <roland@hack.frob.com>
35521         * malloc/malloc (malloc_info): Also print mmapped statistics.
35523 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35525         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35526         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35528 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35530         * malloc/malloc.c (malloc_info): Inline mi_arena.
35532 2014-05-29  Richard Henderson  <rth@twiddle.net>
35534         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35535         Remove comma before expanding ASM_ARGS_##nr.
35536         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35537         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35538         of ASM_ARGS_##nr.
35539         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35540         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35541         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35542         (ASM_ARGS_1): Add leading comma.
35544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35545         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35546         to __errno_location.
35547         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35548         Remove the expected plt for __errno_location.
35550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35551         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35552         call to __read_tp.
35554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35555         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35556         it and break it down.
35557         (DOCARGS_0, DOCARGS_1): Do nothing.
35558         (DOCARGS_2): Update to store into the new stack frame.
35559         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35560         (UNDOCARGS_1): Update to restore from the new stack frame.
35561         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35562         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35564         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35565         (SINGLE_THREAD_P): New parameter for result regno.
35566         (PSEUDO): Update to match; use cbz instead of beq.
35568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35569         Use ENTRY to define the _nocancel entry point.  Share the syscall
35570         and syscall error check paths with the cancel path.
35571         (PSEUDO_END): New.
35573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35574         whitespace; tabs before and after asm mnemonics.
35576 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35578         [BZ #15132]
35579         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35580         Call fstat64 or stat64 internally, depending on arguments passed.
35581         Replace stat buffer argument with file descriptor argument.
35582         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35583         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35584         Pass fd to __internal_statvfs instead of calling fstat64.
35585         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35586         Pass fd to __internal_statvfs64 instead of calling fstat64.
35587         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35588         Pass -1 to __internal_statvfs instead of calling stat64.
35589         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35590         Pass -1 to __internal_statvfs64 instead of calling stat64.
35592 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35594         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35595         that was previously under [RESET_PID].
35596         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35598         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35599         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35601 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35603         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35605         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35606         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35608 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35610         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35612 2014-05-27  Andreas Schwab  <schwab@suse.de>
35614         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35615         TLS_INIT_TP macro.
35616         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35617         * elf/rtld.c (init_tls, dl_main): Likewise.
35618         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35619         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35620         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35621         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35622         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35623         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35624         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35625         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35626         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35627         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35628         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35629         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35630         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35631         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35632         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35633         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35634         * sysdeps/generic/tls.h: Update description.
35636 2014-05-27  Will Newton  <will.newton@linaro.org>
35638         [BZ #16990]
35639         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35640         and restore r2 rather than just restoring.
35642 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35644         [BZ #16724]
35645         * libio/tst-ftell-append.c: New test case.
35646         * libio/Makefile (tests): Add test case.
35647         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35648         append mode.
35649         * libio/wfileops.c (do_ftell_wide): Likewise.
35651 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35655         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35656         ...
35657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35659         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35660         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35662         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35664         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35666         Moved ...
35667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35669         Moved ...
35670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35672         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35674         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35676         ...
35677         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35679         Moved ...
35680         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35681         here.
35682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35683         ...
35684         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35685         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35686         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35690         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35691         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35694         merge into ...
35695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35697         ...
35698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35700         ...
35701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35703         Moved ...
35704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35705         here.
35706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35707         Moved ...
35708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35710         Moved ...
35711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35714         conditional [RESET_PID].
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35717         removed.
35718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35719         removed.
35721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35722         <tcb-offsets.h>.
35723         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35724         (__libc_vfork): New strong alias.
35725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35726         removed.
35727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35728         Removed.
35730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35731         <tcb-offsets.h>.
35732         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35733         (__libc_vfork): New strong alias.
35734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35735         removed.
35736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35737         removed.
35739 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35741         * malloc/malloc.c (mi_arena): New function.
35742         (malloc_info): Remove nested function mi_arena. Call non-nosted
35743         function mi_arena.
35745 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35747         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35748         by insrwi.
35749         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35750         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35751         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35752         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35753         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35754         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35755         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35757 2014-05-26  Andreas Schwab  <schwab@suse.de>
35759         [BZ #16984]
35760         * locale/programs/repertoire.c (repertoire_read): Add slash
35761         between I18NPATH element and file name.
35762         * locale/programs/locfile.c (locfile_read): Likewise.
35764 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35766         * nptl/pthread_mutexattr_settype.c
35767         (__pthread_mutexattr_settype):
35768         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35770 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35772         * nptl/tst-mutex5 (do_test):
35773         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35775 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35777         * benchtests/README: Document 'init' directive.
35778         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35779         BENCH_INIT.
35780         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35781         (parse_file): Recognize 'init' directive.
35783 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35785         [BZ #16796]
35786         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35787         alignment of struct pthread.
35789 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35791         [BZ #16878]
35792         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35793         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35794         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35795         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35797 2014-05-25  Richard Henderson  <rth@twiddle.net>
35799         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35800         (SINGLE_THREAD_P_PIC): Remove.
35801         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35802         (SINGLE_THREAD_P_PIC): Remove.
35804         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35805         branch to syscall error ...
35806         (PSEUDO): ... here.
35807         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35808         from __local_syscall_error to .Lsyscall_error.
35809         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35810         (SYSCALL_ERROR): Update label name.
35812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35813         Do not use DOARGS/UNDOARGS.
35814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35815         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35816         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35817         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35818         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35820         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35821         block comment.
35823         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35824         define if !NOT_IN_libc.
35825         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35826         define with non-default symbol versions.
35828 2014-05-23  Richard Henderson  <rth@twiddle.net>
35830         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35831         (vfork, __vfork): Define via compat_symbol.
35833         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35834         [!HAVE_IFUNC] (vfork_compat): Remove.
35835         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35837 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35839         [BZ #16978]
35840         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35841         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35842         variable.
35844 2014-05-23  Richard Henderson  <rth@twiddle.net>
35846         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35847         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35848         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35849         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35851         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35852         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35853         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35854         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35855         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35856         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35857         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35858         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35859         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35860         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35861         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35862         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35863         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35864         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35865         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35866         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35867         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35868         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35869         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35870         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35871         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35872         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35873         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35874         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35875         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35876         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35877         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35878         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35879         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35880         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35881         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35882         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35883         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35884         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35885         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35886         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35887         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35888         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35889         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35890         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35891         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35892         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35893         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35894         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35895         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35896         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35897         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35898         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35899         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35900         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35902         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35904         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35906         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35908         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35909         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35910         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35911         before exiting on error.
35912         (__libc_vfork): New strong alias.
35913         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35914         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35916         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35917         that was previously under [RESET_PID].
35918         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35920         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35922 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35924         [BZ #16977]
35925         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35926         value when x - 1 is zero.
35927         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35928         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35929         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35930         0.0L for an argument of 1.0L.
35931         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35932         Likewise.
35933         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35934         value when x - 1 is zero.
35935         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35936         * sysdeps/i386/fpu/libm-test-ulps: Update.
35937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35939 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35941         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35942         alphasort and versionsort.
35944 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35946         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35947         macro.
35948         [copysignf]: Likewise.
35950 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35952         * crypt/md5-crypt.c: Fix formatting.
35954 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35956         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35957         (b64_from_24bit): New function.
35959 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35961         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35962         libc_hidden_builtin_def to ifunc.
35963         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35964         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35966 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35968         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35969         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35971 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35973         * nscd/Depend (linuxthreads): Remove.
35974         (nptl): Add.
35975         * resolv/Depend (linuxthreads): Remove.
35976         * rt/Depend (linuxthreads): Remove.
35978         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35979         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35980         $(common-objpfx)elf/.
35981         (link-libc-before-gnulib): Likewise.
35982         (elfobjdir): Remove variable.
35983         * Makefile (install): Use $(elf-objpfx) instead of
35984         $(common-objpfx)elf/.
35985         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35986         $(elfobjdir)/.
35987         (link-libc-deps): Likewise.
35988         ($(common-objpfx)libc.so): Likewise.
35989         ($(common-objpfx)linkobj/libc.so): Likewise.
35990         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35991         instead of $(common-objpfx)elf/.
35992         (symbolic-link-list): Likewise.
35993         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35994         [$(cross-compiling) = no]: Likewise.
35995         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35996         $(elfobjdir)/.
35997         (static-gnulib-arch): Likewise.
35998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35999         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36000         $(common-objpfx)elf/.
36002 2014-05-21  Richard Henderson  <rth@redhat.com>
36004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36005         (SINGLE_THREAD_P): Use the correct width load.  Fold
36006         into the ldr offset.
36008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36009         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36011 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36013         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36014         (libgcc_s_resume): Use __attribute_used__.
36015         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36016         Likewise.
36018 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36020         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36021         optimization when used with float constants.
36023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36025 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36027         [BZ #16915]
36028         * locale/nl_langinfo_l.c: Make direct reference to every
36029         _nl_current_CATEGORY symbol.
36030         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36031         (tests-static): Add tst-langinfo-static.
36032         (tests-special): Add tst-langinfo-static.out.
36033         ($(objpfx)tst-langinfo.out): Redirect output.
36034         ($(objpfx)tst-langinfo-static.out): New.
36035         * localedata/tst-langinfo.sh: Send output to stdout.
36036         * localedata/tst-langinfo-static.c: New file.
36038         [BZ #16965]
36039         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36040         when the shift amount is modulo the limb size.
36042 2014-05-20  Richard Henderson  <rth@redhat.com>
36044         [BZ #16967]
36045         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36046         Change type of sa_flags from unsigned int to int.
36048         [BZ #16966]
36049         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36051         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36053 2014-05-20  Will Newton  <will.newton@linaro.org>
36055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36056         Test the return value of the system call in the nocancel case.
36058 2014-05-20  Will Newton  <will.newton@linaro.org>
36059             Yvan Roux  <yvan.roux@linaro.org>
36061         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36062         #include of asm/ptrace.h.
36063         (PTRACE_GET_THREAD_AREA): Remove #undef.
36064         (PTRACE_GETHBPREGS): Likewise.
36065         (PTRACE_SETHBPREGS): Likewise.
36066         (struct user_regs_struct): New structure.
36067         (struct user_fpsimd_struct): New structure.
36068         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36069         #include of asm/ptrace.h and second #include of sys/user.h.
36070         (PTRACE_GET_THREAD_AREA): Remove #undef.
36071         (PTRACE_GETHBPREGS): Likewise.
36072         (PTRACE_SETHBPREGS): Likewise.
36073         (ELF_NGREG): Use new struct user_regs_struct.
36074         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36076 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36078         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36081 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36083         [BZ #16958]
36084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36085         membar to avoid block loads/stores to overlap previous stores.
36087 2014-05-17  Richard Henderson  <rth@redhat.com>
36089         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36090         Create the __##syscall_name##_nocancel entry point.
36091         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36092         Remove; let the sysdep-cancel.h code create it.
36094 2014-05-17  David S. Miller  <davem@davemloft.net>
36096         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36097         Protect with __USE_GNU.
36098         (TIOCSET_TEMPT): Likewise.
36099         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36100         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36101         these are already provided in bits/ioctl-types.h
36103 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36105         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36106         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36108         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36109         Use wait4 regardless of [__NR_waitpid].
36111 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36113         PR libgcc/60166
36114         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36115         (_FP_NANSIGN_Q): Set the quiet bit.
36117 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36119         * benchtests/Makefile
36120         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36121         not $(common-objpfx)math/libm.so.
36122         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36123         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36124         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36125         $(common-objpfx)dlfcn/libdl.so.
36126         ($(objpfx)tst-audit8): Depend on $(libm), not
36127         $(common-objpfx)math/libm.so.
36128         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36129         not $(common-objpfx)dlfcn/libdl.so.
36130         * math/Makefile
36131         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36132         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36133         [$(build-shared) = yes].
36134         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36135         $(common-objpfx)nptl/libpthread.so.
36136         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36137         $(common-objpfx)math/libm.so$(libm.so-version) or
36138         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36139         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36140         $(common-objpfx)dlfcn/libdl.so.
36141         * setjmp/Makefile (link-libm): Remove variable.
36142         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36143         * stdio-common/Makefile (link-libm): Remove variable.
36144         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36145         * stdlib/Makefile (link-libm): Remove variable.
36146         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36147         ($(objpfx)tst-strtod-round): Likewise.
36148         ($(objpfx)tst-tininess): Likewise.
36149         ($(objpfx)tst-strtod-underflow): Likewise.
36150         ($(objpfx)tst-strtod6): Likewise.
36151         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36152         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36153         $(common-objpfx)dlfcn/libdl.so.
36155 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36157         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36158         BSD terminal modes definitions.
36160 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36162         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36163         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36165         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36166         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36167         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36168         Don't do #include_next.
36169         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36170         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36171         Don't do #include_next.
36172         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36173         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36174         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36175         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36177 2014-05-16  Allan McRae  <allan@archlinux.org>
36179         * po/sv.po: Update Swedish translation from translation project.
36181         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36182         in sed expression.
36184 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36186         [BZ #16917]
36187         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36188         errno if the TIOCGPTN ioctl fails with an error different than
36189         EINVAL.
36190         * login/tst-ptsname.c: New file.
36191         * login/Makefile (tests): Add tst-ptsname.
36193         [BZ #16943]
36194         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36195         and prlimit64.
36197 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36199         [BZ #16849]
36200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36201         herrno to return EAI_AGAIN.
36203 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36205         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36206         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36207         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36208         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36209         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36210         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36211         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36212         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36213         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36214         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36215         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36216         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36217         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36218         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36219         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36220         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36221         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36222         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36223         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36224         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36225         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36226         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36227         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36228         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36229         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36230         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36231         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36232         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36233         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36234         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36236         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36238         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36240         Moved ...
36241         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36243         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36245         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36247         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36249         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36251         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36253         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36255         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36257         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36259         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36261         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36263         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36265         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36267         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36269         Moved ...
36270         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36272         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36276         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36278         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36282         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36284         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36286         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36288         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36290         Moved ...
36291         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36293         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36295         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36296         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36297         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36298         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36299         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36300         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36301         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36302         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36303         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36304         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36305         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36306         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36307         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36308         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36309         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36310         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36311         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36312         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36313         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36314         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36315         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36316         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36317         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36318         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36319         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36320         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36321         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36322         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36324         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36327         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36328         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36330         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36331         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36332         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36333         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36334         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36335         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36336         Moved ...
36337         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36339         Moved ...
36340         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36341         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36342         Moved ...
36343         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36344         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36345         Moved ...
36346         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36348         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36350         Moved ...
36351         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36352         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36353         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36356         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36357         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36359         Moved ...
36360         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36362         Moved ...
36363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36364         ... here.
36365         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36366         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36367         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36368         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36369         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36370         Moved ...
36371         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36372         ... here.
36373         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36374         Moved ...
36375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36376         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36377         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36378         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36379         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36380         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36381         Moved ...
36382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36384         Moved ...
36385         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36387         Moved ...
36388         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36389         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36390         Moved ...
36391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36392         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36393         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36395         Moved ...
36396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36397         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36398         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36401         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36402         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36404         Moved ...
36405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36407         Moved ...
36408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36409         ... here.
36410         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36411         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36412         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36413         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36414         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36415         Moved ...
36416         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36417         ... here.
36418         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36419         Moved ...
36420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36421         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36422         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36423         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36424         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36425         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36426         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36427         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36428         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36429         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36430         Moved ...
36431         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36433         Moved ...
36434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36435         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36436         Moved ...
36437         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36439         Moved ...
36440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36441         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36442         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36443         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36444         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36446         Moved ...
36447         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36448         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36449         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36452         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36453         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36457         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36458         Moved ...
36459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36460         ... here.
36461         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36462         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36463         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36464         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36466         Moved ...
36467         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36468         ... here.
36469         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36470         Moved ...
36471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36472         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36473         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36474         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36475         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36476         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36477         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36479         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36481         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36483         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36484         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36486         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36487         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36489         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36490         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36491         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36492         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36493         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36494         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36495         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36496         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36497         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36498         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36499         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36500         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36501         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36502         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36503         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36505         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36507         Moved ...
36508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36512         Moved ...
36513         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36517         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36521         Moved ...
36522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36524         Moved ...
36525         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36526         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36527         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36528         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36531         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36532         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36533         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36534         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36535         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36536         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36537         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36538         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36539         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36540         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36541         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36543         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36544         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36545         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36546         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36547         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36549         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36550         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36551         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36552         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36553         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36554         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36555         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36556         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36557         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36558         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36563         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36564         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36565         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36566         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36567         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36568         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36569         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36570         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36571         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36572         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36573         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36574         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36575         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36576         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36578         Update #include.
36579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36580         Likewise.
36581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36582         Likewise.
36583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36584         Likewise.
36585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36586         Likewise.
36587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36588         Likewise.
36589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36590         Likewise.
36591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36592         Likewise.
36593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36594         Likewise.
36595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36596         Likewise.
36597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36599         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36603         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36605         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36609         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36610         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36613         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36614         that was previously under [RESET_PID].
36615         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36616         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36617         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36619         * sysdeps/i386/nptl/Implies: New file.
36620         * sysdeps/x86_64/nptl/Implies: New file.
36621         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36622         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36623         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36624         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36626         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36627         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36628         (__libc_vfork): New strong alias.
36629         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36630         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36632         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36633         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36634         (__libc_vfork): New strong alias.
36635         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36636         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36638         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36639         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36640         (__libc_vfork): New strong alias.
36641         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36642         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36643         * nptl/pt-vfork.c: New file.
36644         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36645         (libpthread: GLIBC_2.20): New version set (empty).
36647 2014-05-14  Will Newton  <will.newton@linaro.org>
36649         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36650         rather than #if.
36652 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36654         [BZ #16564]
36655         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36656         arguments with exponent 65 or above.
36657         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36658         arguments 0x1p113L or above.
36659         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36660         to arguments 0x1p107L or above.
36661         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36662         positive arguments with exponent 65 or above.
36663         * math/auto-libm-test-in: Add more tests of log1p.
36664         * math/auto-libm-test-out: Regenerated.
36666         [BZ #16928]
36667         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36668         non-finite arguments is +0.
36669         * math/s_cacosf.c (__cacosf): Likewise.
36670         * math/s_cacosl.c (__cacosl): Likewise.
36671         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36672         * sysdeps/i386/fpu/libm-test-ulps: Update.
36673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36675         [BZ #16927]
36676         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36677         value.
36678         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36679         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36680         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36681         for explicit high bit of mantissa when testing for argument equal
36682         to 1.
36683         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36684         * sysdeps/i386/fpu/libm-test-ulps: Update.
36685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36687         [BZ #16516]
36688         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36689         (__erf): Scale by 16 instead of 8 in potentially underflowing
36690         case.  Ensure exception if result actually underflows.
36691         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36692         (__erff): Scale by 16 instead of 8 in potentially underflowing
36693         case.  Ensure exception if result actually underflows.
36694         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36695         (efx8): Remove variable.
36696         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36697         case.  Ensure exception if result actually underflows.
36698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36699         (efx8): Remove variable.
36700         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36701         case.  Ensure exception if result actually underflows.
36702         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36703         (efx8): Remove variable.
36704         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36705         case.  Ensure exception if result actually underflows.
36706         * math/auto-libm-test-in: Add more tests of erf.
36707         * math/auto-libm-test-out: Regenerated.
36709 2014-05-14  Andreas Schwab  <schwab@suse.de>
36711         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36712         Remove code conditionalized on USE___THREAD.
36714         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36715         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36716         not definedness.
36718 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36721         Define unconditionally.
36722         (__ASSUME_O_CLOEXEC): Likewise.
36723         (__ASSUME_SOCK_CLOEXEC): Likewise.
36724         (__ASSUME_IN_NONBLOCK): Likewise.
36725         (__ASSUME_PIPE2): Likewise.
36726         (__ASSUME_EVENTFD2): Likewise.
36727         (__ASSUME_SIGNALFD4): Likewise.
36728         (__ASSUME_DUP3): Likewise.
36729         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36730         (__ASSUME_DUP3): Do not define.
36731         (__ASSUME_EVENTFD2): Likewise.
36732         (__ASSUME_IN_NONBLOCK): Likewise.
36733         (__ASSUME_O_CLOEXEC): Likewise.
36734         (__ASSUME_PIPE2): Likewise.
36735         (__ASSUME_SIGNALFD4): Likewise.
36736         (__ASSUME_SOCK_CLOEXEC): Likewise.
36737         (__ASSUME_UTIMES): Undefine.
36738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36739         (__ASSUME_UTIMES): Do not define.
36740         (__ASSUME_O_CLOEXEC): Likewise.
36741         (__ASSUME_SOCK_CLOEXEC): Likewise.
36742         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36743         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36744         0x020621].
36745         (__ASSUME_PIPE2): Likewise.
36746         (__ASSUME_EVENTFD2): Likewise.
36747         (__ASSUME_SIGNALFD4): Likewise.
36748         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36749         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36750         Do not define.
36751         (__ASSUME_EVENTFD2): Likewise.
36752         (__ASSUME_SIGNALFD4): Likewise.
36753         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36754         (__ASSUME_32BITUIDS): Likewise.
36755         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36756         (__ASSUME_IPC64): Likewise.
36757         (__ASSUME_ST_INO_64_BIT): Likewise.
36758         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36759         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36760         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36761         (__ASSUME_UTIMES): Do not define.
36762         (__ASSUME_PSELECT): Likewise.
36763         (__ASSUME_PPOLL): Likewise.
36764         (__ASSUME_O_CLOEXEC): Likewise.
36765         (__ASSUME_SOCK_CLOEXEC): Likewise.
36766         (__ASSUME_IN_NONBLOCK): Likewise.
36767         (__ASSUME_PIPE2): Likewise.
36768         (__ASSUME_EVENTFD2): Likewise.
36769         (__ASSUME_SIGNALFD4): Likewise.
36770         (__ASSUME_DUP3): Likewise.
36771         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36772         (__ASSUME_UTIMES): Likewise.
36773         (__ASSUME_O_CLOEXEC): Likewise.
36774         (__ASSUME_SOCK_CLOEXEC): Likewise.
36775         (__ASSUME_IN_NONBLOCK): Likewise.
36776         (__ASSUME_PIPE2): Likewise.
36777         (__ASSUME_EVENTFD2): Likewise.
36778         (__ASSUME_SIGNALFD4): Likewise.
36779         (__ASSUME_DUP3): Likewise.
36780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36781         (__ASSUME_UTIMES): Likewise.
36782         (__ASSUME_O_CLOEXEC): Likewise.
36783         (__ASSUME_SOCK_CLOEXEC): Likewise.
36784         (__ASSUME_IN_NONBLOCK): Likewise.
36785         (__ASSUME_PIPE2): Likewise.
36786         (__ASSUME_EVENTFD2): Likewise.
36787         (__ASSUME_SIGNALFD4): Likewise.
36788         (__ASSUME_DUP3): Likewise.
36789         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36790         Likewise.
36791         (__ASSUME_UTIMES): Likewise.
36792         (__ASSUME_EVENTFD2): Likewise.
36793         (__ASSUME_SIGNALFD4): Likewise.
36794         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36795         (__ASSUME_O_CLOEXEC): Likewise.
36796         (__ASSUME_SOCK_CLOEXEC): Likewise.
36797         (__ASSUME_IN_NONBLOCK): Likewise.
36798         (__ASSUME_PIPE2): Likewise.
36799         (__ASSUME_EVENTFD2): Likewise.
36800         (__ASSUME_SIGNALFD4): Likewise.
36801         (__ASSUME_DUP3): Likewise.
36802         (__ASSUME_UTIMES): Undefine.
36804         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36805         feclearexcept.  Remove symbol versioning code.
36806         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36807         symbol versioning code.
36808         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36809         symbol versioning code.
36810         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36811         feupdateenv.  Remove symbol versioning code.
36812         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36813         fegetexceptflag.  Remove symbol versioning code.
36814         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36815         fesetexceptflag.  Remove symbol versioning code.
36816         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36817         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36818         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36819         (__posix_fadvise64_l32): Remove prototype.
36820         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36821         code.
36823 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36825         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36826         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36827         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36828         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36830 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36832         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36833         current working directory
36835 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36837         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36838         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36839         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36840         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36841         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36842         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36843         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36844         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36845         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36846         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36847         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36848         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36849         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36850         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36851         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36852         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36853         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36854         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36855         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36856         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36857         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36858         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36859         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36860         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36861         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36862         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36863         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36864         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36865         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36866         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36867         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36868         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36869         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36870         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36871         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36872         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36873         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36874         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36875         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36876         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36877         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36878         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36880         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36881         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36883         * sysdeps/unix/sysv/linux/arm/Makefile
36884         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36885         Add rt-aeabi_unwind_cpp_pr1.
36886         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36887         Add nptl-aeabi_unwind_cpp_pr1.
36888         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36889         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36890         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36891         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36892         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36893         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36895         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36896         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36897         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36898         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36900         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36901         Deconditionalize the code that was previously under [RESET_PID].
36902         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36904         * sysdeps/generic/exit-thread.h: New file.
36905         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36906         * include/unistd.h (__exit_thread): Remove declaration.
36907         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36908         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36909         * csu/libc-start.c: Include <exit-thread.h>.
36910         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36911         * nptl/pthread_create.c: Include <exit-thread.h>.
36912         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36913         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36914         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36915         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36916         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36917         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36918         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36919         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36920         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36921         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36922         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36923         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36924         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36925         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36926         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36927         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36928         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36930 2014-05-13  Andreas Schwab  <schwab@suse.de>
36932         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36934 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36936         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36937         (__ASSUME_UTIMES): Do not condition on kernel version.
36938         (__ASSUME_PSELECT): Define unconditionally.
36939         (__ASSUME_PPOLL): Likewise.
36940         (__ASSUME_ATFCTS): Likewise.
36941         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36942         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36943         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36944         (__ASSUME_UTIMENSAT): Define unconditionally.
36945         (__ASSUME_PRIVATE_FUTEX): Likewise.
36946         (__ASSUME_FALLOCATE): Likewise.
36947         (__ASSUME_O_CLOEXEC): Likewise.
36948         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36949         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36950         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36951         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36952         (__ASSUME_IN_NONBLOCK): Likewise.
36953         (__ASSUME_PIPE2): Likewise.
36954         (__ASSUME_EVENTFD2): Likewise.
36955         (__ASSUME_SIGNALFD4): Likewise.
36956         (__ASSUME_DUP3): Likewise.
36957         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36958         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36959         (__ASSUME_AT_RANDOM): Likewise.
36960         (__ASSUME_PREADV): Likewise.
36961         (__ASSUME_PWRITEV): Likewise.
36962         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36963         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36964         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36965         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36966         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36967         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36968         (__ASSUME_O_CLOEXEC): Define unconditionally.
36969         (__ASSUME_PSELECT): Do not undefine conditionally.
36970         (__ASSUME_PPOLL): Likewise.
36971         (__ASSUME_ATFCTS): Likewise.
36972         (__ASSUME_SET_ROBUST_LIST): Likewise.
36973         (__ASSUME_UTIMENSAT): Likewise.
36974         (__ASSUME_FDATASYNC): Define unconditionally.
36975         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36976         (__ASSUME_SIGFRAME_V2): Likewise.
36977         )__ASSUME_EVENTFD2): Likewise.
36978         (__ASSUME_SIGNALFD4): Likewise.
36979         (__ASSUME_PSELECT): Do not undefine conditionally.
36980         (__ASSUME_PPOLL): Likewise.
36981         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36982         (__ASSUME_PSELECT): Define unconditionally.
36983         (__ASSUME_PPOLL): Likewise.
36984         (__ASSUME_O_CLOEXEC): Likewise.
36985         (__ASSUME_SOCK_CLOEXEC): Likewise.
36986         (__ASSUME_IN_NONBLOCK): Likewise.
36987         (__ASSUME_PIPE2): Likewise.
36988         (__ASSUME_EVENTFD2): Likewise.
36989         (__ASSUME_SIGNALFD4): Likewise.
36990         (__ASSUME_DUP3): Likewise.
36991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36992         (__ASSUME_O_CLOEXEC): Likewise.
36993         (__ASSUME_SOCK_CLOEXEC): Likewise.
36994         (__ASSUME_IN_NONBLOCK): Likewise.
36995         (__ASSUME_PIPE2): Likewise.
36996         (__ASSUME_EVENTFD2): Likewise.
36997         (__ASSUME_SIGNALFD4): Likewise.
36998         (__ASSUME_DUP3): Likewise.
36999         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37000         (__ASSUME_EVENTFD2): Likewise.
37001         (__ASSUME_SIGNALFD4): Likewise.
37002         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37004 2014-05-12  Andreas Schwab  <schwab@suse.de>
37006         [BZ #16932]
37007         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37008         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37009         than maximum RPC packet size.
37010         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37011         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37012         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37013         (_nss_nis_getservbyport_r): Likewise.
37015 2014-05-12  Will Newton  <will.newton@linaro.org>
37017         * malloc/Makefile (tests): Add tst-mallopt.
37018         * malloc/tst-mallopt.c: New file.
37020 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37022         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37023         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37025 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37027         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37028         (tst-tlsmod6.so): Likewise.
37030 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37032         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37034 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37036         [BZ #16064]
37037         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37038         and <dl-procinfo.h>.
37039         (__fegetenv): Save SSE state in envp->__eip if supported.
37040         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37041         envp->__eip if supported.
37042         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37043         and <dl-procinfo.h>.
37044         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37045         __data_offset and __data_selector in environment to 0.  Set SSE
37046         state if supported.
37047         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37048         test-fenv-sse.
37049         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37050         -mfpmath=sse.
37051         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37053 2014-05-09  Will Newton  <will.newton@linaro.org>
37055         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37056         and libc_relro_required for ARM.
37057         * sysdeps/arm/preconfigure: Regenerate.
37059 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37060             Stefan Liebler  <stli@linux.vnet.ibm.com>
37062         * config.make.in (enable-lock-elision): New Makefile variable.
37063         * configure.ac: Likewise.
37064         * configure: Regenerate.
37065         * sysdeps/s390/configure.ac:
37066         Add check for gcc transactions support.
37067         * sysdeps/s390/configure: Regenerate.
37068         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37069         Build elision files if enabled.
37070         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37071         Add lock elision support for s390.
37072         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37073         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37074         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37075         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37076         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37077         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37078         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37079         Likewise.
37080         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37081         Likewise.
37082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37083         Likewise.
37084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37085         Likewise.
37086         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37087         (__lll_timedlock_elision, __lll_lock_elision)
37088         (__lll_unlock_elision, __lll_trylock_elision)
37089         (lll_timedlock_elision, lll_lock_elision)
37090         (lll_unlock_elision, lll_trylock_elision): Add.
37091         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37092         (pthread_mutex_t): Add lock elision support for s390.
37094 2014-05-14  Wilco  <wdijkstr@arm.com>
37096         * sysdeps/arm/fclrexcpt.c: Cleanup.
37097         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37098         * sysdeps/arm/feenablxcpt.c: Cleanup.
37099         * sysdeps/arm/fegetenv.c: Cleanup.
37100         * sysdeps/arm/fegetexcept.c: Cleanup.
37101         * sysdeps/arm/fegetround.c: Cleanup.
37102         * sysdeps/arm/feholdexcpt.c: Cleanup.
37103         * sysdeps/arm/fesetenv.c: Cleanup.
37104         * sysdeps/arm/fesetround.c: Cleanup.
37105         * sysdeps/arm/feupdateenv.c: Cleanup.
37106         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37107         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37108         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37109         * sysdeps/arm/ftestexcept.c: Cleanup.
37110         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37111         * sysdeps/arm/setfpucw.c: Cleanup.
37113 2014-05-09  Will Newton  <will.newton@linaro.org>
37115         * sysdeps/arm/armv7/strcmp.S: New file.
37116         * NEWS: Mention addition of ARMv7 optimized strcmp.
37118 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37120         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37121         look for %.ac rather than %.in.
37123         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37124         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37125         * sysdeps/mach/hurd/configure: Regenerated.
37126         * sysdeps/unix/sysv/linux/configure: Regenerated.
37128         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37130 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37132         [BZ# 16922]
37133         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37134         (LONG_SUB): Ditto.
37135         (PTR_SUB): Ditto.
37137 2014-05-07  Andreas Schwab  <schwab@suse.de>
37139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37140         when skipping over non-matching result from nscd.
37142 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37144         [BZ #16876]
37145         * nptl/sockperf.c (client): Check socket return value.
37147         [BZ #16877]
37148         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37149         nscd security class.
37151 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37153         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37154         * sysdeps/arm/unwind.h: ... here.
37156 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37158         [BZ# 16916]
37159         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37160         Define.
37162 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37164         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37165         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37166         multiarch strncpy for PPC64.
37167         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37168         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37170         multiarch optimizations.
37171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37172         (__libc_ifunc_impl_list): Likewise.
37173         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37174         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37175         multiarch stpncpy for PPC64.
37176         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37177         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37179 2014-05-06  Andreas Schwab  <schwab@suse.de>
37181         [BZ #16912]
37182         * gmon/mcount.c (_MCOUNT_DECL): Use
37183         atomic_compare_and_exchange_bool_acq instead of
37184         catomic_compare_and_exchange_bool_acq.
37186 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37188         * elf/Makefile (others, install-bin): Remove pldd.
37189         (pldd-modules): Variable removed.
37190         ($(objpfx)pldd): Target removed.
37191         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37192         (others, install-bin): Append pldd here.
37193         ($(objpfx)pldd): New target.
37195         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37196         to 0, so the first #if test emitted later doesn't see it undefined.
37197         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37198         * sysdeps/gnu/errlist.c: Regenerated.
37200 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37202         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37203         [libc_hidden_builtin_def]: Define to empty value.
37204         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37205         [libc_hidden_builtin_def]: Likewise.
37206         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37207         [libc_hidden_builtin_def]: Likewise.
37208         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37209         [libc_hidden_builtin_def]: Likewise.
37210         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37211         __redirect_memcpy and define ifunc as default hidden symbol.
37212         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37213         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37215 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37217         * locale/iso-4217.def: Reintroduce XDR currency.
37219 2014-05-04  Allan McRae  <allan@archlinux.org>
37221         * po/eo.po: Update Esperanto translation from translation project.
37223 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37225         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37226         and FEATURE_INDEX_MAX to 1.
37227         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37229 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37231         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37232         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37233         * iconvdata/big5.c (ONE_DIRECTION): Define.
37234         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37235         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37236         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37237         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37238         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37239         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37240         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37241         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37242         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37243         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37244         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37245         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37246         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37247         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37248         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37249         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37250         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37251         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37252         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37253         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37254         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37255         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37256         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37257         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37258         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37259         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37260         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37261         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37262         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37263         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37264         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37265         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37266         * iconvdata/johab.c (ONE_DIRECTION): Define.
37267         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37268         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37269         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37270         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37271         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37272         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37273         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37274         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37275         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37276         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37278 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37280         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37281         (_IO_JUMPS_OFFSET): Define to 0.
37283         * nptl/sysdeps/pthread/bits/libc-lock.h
37284         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37285         (__libc_lock_define_initialized_recursive): Always define using
37286         initializer.  Modern compilers treat uninitialized (implicit zero) and
37287         explicit zero initializers the same (i.e. put the datum in bss).
37289 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37291         * nscd/nscd-client.h: Include <string.h>.
37293 2014-05-01  David S. Miller  <davem@davemloft.net>
37295         [BZ #16885]
37296         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37297         multiple zero bytes exist at the end of a string.
37298         Reported by Aurelien Jarno <aurelien@aurel32.net>
37300         * string/test-strcmp.c (check): Add explicit test for situations where
37301         there are multiple zero bytes after the first.
37303 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37305         [BZ #16890]
37306         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37307         when compiling wprintf.
37308         * stdio-common/tstdiomisc.c (t3): New function.
37309         (main): Call it.
37311 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37313         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37314         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37315         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37316         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37318 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37320         * stdlib/longlong.h: Updated from GCC.
37322 2014-05-01  Will Newton  <will.newton@linaro.org>
37323             Bernard Ogden  <bernie.ogden@linaro.org>
37325         * NEWS: Update fixed bug list.
37327         [BZ #15119]
37328         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37330 2014-04-30  David S. Miller  <davem@davemloft.net>
37332         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37333         (libc_feholdexcept_setround_sparc_ctx): New function.
37334         (libc_fesetenv_sparc_ctx): Likewise.
37335         (libc_feupdateenv_sparc_ctx): Likewise.
37336         (libc_feholdsetround_sparc_ctx): Likewise.
37337         (libc_feholdexcept_setround_ctx): Define.
37338         (libc_feholdexcept_setroundf_ctx): Likewise.
37339         (libc_feholdexcept_setroundl_ctx): Likewise.
37340         (libc_fesetenv_ctx): Likewise.
37341         (libc_fesetenvf_ctx): Likewise.
37342         (libc_fesetenvl_ctx): Likewise.
37343         (libc_feupdateenv_ctx): Likewise.
37344         (libc_feupdateenvf_ctx): Likewise.
37345         (libc_feupdateenvl_ctx): Likewise.
37346         (libc_feresetround_ctx): Likewise.
37347         (libc_feresetroundf_ctx): Likewise.
37348         (libc_feresetroundl_ctx): Likewise.
37349         (libc_feholdsetround_ctx): Likewise.
37350         (libc_feholdsetroundf_ctx): Likewise.
37351         (libc_feholdsetroundl_ctx): Likewise.
37353         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37354         with __USE_GNU instead of XOPEN cpp guards.
37356         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37357         0.
37359         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37360         with XOPEN cpp guards.
37362 2014-04-30  Julian Brown  <julian@codesourcery.com>
37364         [BZ #16888]
37365         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37366         handling.
37368 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37370         [BZ #9894]
37371         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37372         Change to 2.6.32.
37373         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37374         * sysdeps/unix/sysv/linux/configure: Regenerated.
37375         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37376         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37377         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37378         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37379         * README: Update reference to required Linux kernel version.
37380         * manual/install.texi (Linux): Update reference to required Linux
37381         kernel headers version.
37382         * INSTALL: Regenerated.
37384         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37385         header inclusion.
37386         [POSIX] (limits.h): Likewise.
37387         [POSIX] (math.h): Likewise.
37388         [POSIX] (sys/wait.h): Likewise.
37389         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37390         function.
37391         [POSIX] (stddef.h): Do not allow header inclusion.
37393 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37395         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37397 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37399         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37400         Return immediately after lll_futex_wake.
37402 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37404         [BZ #16791]
37405         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37406         structure.
37407         (datahead_init_pos): Call datahead_init_common early.
37408         (datahead_init_neg): Likewise.
37410         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37411         datahead_init_neg): New functions.
37412         * nscd/aicache.c (addhstaiX): Use them.
37413         * nscd/grpcache.c (cache_addgr): Likewise.
37414         * nscd/hstcache.c (cache_addhst): Likewise.
37415         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37416         * nscd/netgroupcache.c (do_notfound): Likewise.
37417         (addgetnetgrentX): Likewise.
37418         (addinnetgrX): Likewise.
37419         * nscd/pwdcache.c (cache_addpw): Likewise.
37420         * nscd/servicescache.c (cache_addserv): Likewise.
37422 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37423             Atsushi Onoe  <atsushi@onoe.org>
37425         [BZ #14308]
37426         [BZ #12994]
37427         [BZ #13651]
37428         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37429         one response is valid.
37430         * resolv/res_send.c (send_dg): Check for validity of other
37431         response if the current response is a referral.
37433 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37435         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37437 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37439         [BZ #16823]
37440         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37441         Always divide by positive zero when computing -Inf result.
37442         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37443         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37445 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37447         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37448         FPSCR if value do not change.
37449         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37450         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37451         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37452         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37453         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37454         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37455         function.
37457 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37459         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37460         * sysdeps/unix/sysv/linux/hppa: Move directory from
37461         ports/systeps/unix/sysv/linux/hppa.
37462         * README: Update listing for hppa-*-linux-gnu.
37464 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37466         [BZ #16754]
37467         * manual/stdio.texi (Hook functions): Fix types of stream hook
37468         functions.
37469         [BZ #16854]
37470         * socket/sys/socket.h: Fix typo in comment.
37472 2014-04-28  Wilco  <wdijkstr@arm.com>
37474         * sysdeps/arm/fenv_private.h: New file.
37475         * sysdeps/arm/math_private.h: New file.
37476         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37478 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37480         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37481         with __int128_t.
37482         (La_x86_64_retval): Likewise.
37484 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37486         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37487         fpsr if value didn't change.
37488         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37489         to fpcr if value didn't change.
37490         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37491         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37492         fpsr or fpcr if value didn't change.
37493         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37494         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37495         fpcr if value didn't change.
37496         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37497         to fpsr if value didn't change.
37499 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37501         * nptl/tst-sem3.c: Use test-skeleton.c
37502         (main): Rename to do_test.  Use return instead of
37503         exit.
37504         * nptl/tst-sem4.c: Use test-skeleton.c
37505         (main): Rename to do_test.
37507 2014-04-22  David S. Miller  <davem@davemloft.net>
37509         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37510         (struct sigaction): New struct member __glibc_reserved0, change
37511         type of sa_flags to int.
37513 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37515         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37516         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37518 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37520         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37521         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37523 2014-04-22  Will Newton  <will.newton@linaro.org>
37524             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37526         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37527         (__longjmp): Add longjmp and longjmp_target SystemTap
37528         probes.
37529         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37530         (__sigsetjmp): Add setjmp SystemTap probe.
37532 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37534         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37535         match manual order.
37537 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37539         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37541         * sysdeps/powerpc/fpu/fenv_private.h
37542         (libc_feholdexcept_setroundl_ctx): Define to
37543         libc_feholdexcept_setround_ppc_ctx.
37544         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37545         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37546         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37547         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37549 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37551         * sysdeps/aarch64/math-tests.h: New file.
37553 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37555         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37556         New.
37557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37558         Check and set bit_AVX2_Usable.
37559         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37560         macro.
37561         (bit_AVX2): Likewise.
37562         (index_AVX2_Usable): Likewise.
37563         (CPUID_AVX2): Likewise.
37564         (HAS_AVX2): Likewise.
37566 2014-04-17  Will Newton  <will.newton@linaro.org>
37568         * manual/setjmp.texi (System V contexts): Add note that
37569         calling setcontext on a context created by a call to a
37570         signal handler is undefined.  Update text to note that
37571         setcontext from a signal handler is possible but not
37572         recommended.
37574         [BZ #16629]
37575         * stdlib/tst-setcontext.c: Include signal.h.
37576         (main): Check that the signal stack before and
37577         after swapcontext is the same.
37579         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37580         Re-implement to restore registers in user code and avoid
37581         rt_sigreturn system call.
37583 2014-04-17  Wilco  <wdijkstr@arm.com>
37585         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37586         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37587         * math/test-fenv.c: Skip exception trap tests on targets which only
37588         support non-stop mode.
37590 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37591             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37593         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37594         (libc_feholdsetround_aarch64_ctx)
37595         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37596         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37597         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37598         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37599         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37600         (libc_feresetround_noexl_ctx): Define.
37602 2014-04-16  Richard Henderson  <rth@redhat.com>
37604         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37606         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37607         unwind tables.
37609         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37610         const from the non-libc, non-ldso copy.
37612         * sysdeps/alpha/libm-test-ulps: Regenerate.
37614 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37615             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37617         * sysdeps/aarch64/fpu/math_private.h: New file.
37619 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37621         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37623 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37625         [BZ #16275]
37626         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37627         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37629         Intel MPX bound registers before _dl_profile_fixup.
37630         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37631         registers after _dl_profile_fixup.  Save and restore bound
37632         registers bnd0/bnd1 when calling _dl_call_pltexit.
37633         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37634         (LR_BND_OFFSET): Likewise.
37635         (LRV_BND0_OFFSET): Likewise.
37636         (LRV_BND1_OFFSET): Likewise.
37638 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37640         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37641         to...
37642         * sysdeps/mach/hurd/i386/tls.h: ... here.
37643         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37644         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37645         fields.
37647 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37649         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37651 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37653         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37655 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37657         [BZ #14770]
37658         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37659         * sysdeps/s390/configure: Regenerate.
37661         [BZ #16824]
37662         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37663         Set round-to-nearest internally to reduce error accumulation.
37665 2014-04-16  Alan Modra  <amodra@gmail.com>
37667         [BZ #16740]
37668         [BZ #16619]
37669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37670         * math/libm-test.inc (frexp_test_data): Add tests.
37671         * NEWS: Update fixed bug list.
37673 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37675         * benchtests/Makefile: Depend on libraries in build directory.
37676         (bench-math): Separate out math tests.
37677         (bench-pthread): Separate out pthread tests.
37678         (bench): Include math and pthread tests.
37680 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37682         [BZ #16831]
37683         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37684         _dl_debug_initialize.
37686         * configure.ac: Remove SELinux header check.
37687         * configure: Regenerate.
37688         * nscd/selinux.c (perms): Array of const char* to permission names.
37689         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37690         default policy. Call string_to_security_class and string_to_av_perm to
37691         translate strings. Enforce default policy and call avs_has_perm with
37692         results of translated strings.
37694 2014-04-13  David S. Miller  <davem@davemloft.net>
37696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37698 2014-04-12  Allan McRae  <allan@archlinux.org>
37700         [BZ #16838]
37701         * manual/string.texi (Collation Functions): Fix qsort argument
37702         order in example.
37703         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37705 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37707         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37708         Make the test a no-op if there are no exceptions defined.
37710 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37712         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37713         enable-hardcoded-path-in-tests
37715 2014-04-11  Will Newton  <will.newton@linaro.org>
37717         * benchtests/Makefile (extra-objs): Add json-lib.o.
37718         (bench-func): Tidy up JSON output.
37719         * benchtests/bench-skeleton.c: Include json-lib.h.
37720         (main): Use JSON library functions to do output of
37721         benchmark results.
37722         * benchtests/bench-timing-type.c (main): Output the
37723         timing type simply, leaving formatting to the user.
37724         * benchtests/json-lib.c: New file.
37725         * benchtests/json-lib.h: Likewise.
37727 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37729         [BZ #15215]
37730         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37731         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37732         memory barriers.  Add comments.
37733         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37734         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37735         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37736         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37737         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37738         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37740 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37742         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37743         * sysdeps/s390/s390-64/configure.ac: ... this ...
37744         * sysdeps/s390/configure.ac: ... to here.
37745         * sysdeps/s390/s390-32/configure: Delete file.
37746         * sysdeps/s390/s390-64/configure: Delete file.
37747         * sysdeps/s390/configure: Regenerate.
37749 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37751         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37753 2014-04-11  Will Newton  <will.newton@linaro.org>
37755         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37756         to zero if it is not defined elsewhere.  (mtrim): Test
37757         the value of MALLOC_DEBUG with #if rather than #ifdef.
37759 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37761         * benchtests/pthread_once-inputs: New file.
37762         * benchtests/pthread_once-source.c: New file.
37763         * benchtests/README: Update documentation.
37765 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37766             H.J. Lu  <hongjiu.lu@intel.com>
37768         [BZ #16275]
37769         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37770         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37771         * sysdeps/x86_64/configure: Regenerated.
37772         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37773         macro.
37774         (REGISTER_SAVE_RAX): Likewise.
37775         (REGISTER_SAVE_RCX): Likewise.
37776         (REGISTER_SAVE_RDX): Likewise.
37777         (REGISTER_SAVE_RSI): Likewise.
37778         (REGISTER_SAVE_RDI): Likewise.
37779         (REGISTER_SAVE_R8): Likewise.
37780         (REGISTER_SAVE_R9): Likewise.
37781         (REGISTER_SAVE_BND0): Likewise.
37782         (REGISTER_SAVE_BND1): Likewise.
37783         (REGISTER_SAVE_BND2): Likewise.
37784         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37785         bound registers when calling _dl_fixup.
37787 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37789         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37790         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37791         of its definition.
37792         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37793         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37794         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37795         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37796         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37797         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37798         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37800 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37802         [BZ #15514]
37803         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37804         pathconf(_PC_NAME_MAX).
37806 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37808         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37809         Remove macro usage.
37810         (__PTHREAD_SPINS): Move definition to ...
37811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37812         (__PTHREAD_SPINS): ... here.
37813         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37814         (__PTHREAD_SPIN): Likewise.
37815         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37816         (__PTHREAD_SPIN): Likewise.
37817         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37818         (__PTHREAD_SPIN): Likewise.
37819         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37820         (__PTHREAD_SPIN): Likewise.
37821         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37822         (__PTHREAD_SPIN): Likewise.
37823         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37824         (__PTHREAD_SPIN): Likewise.
37825         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37826         (__PTHREAD_SPIN): Likewise.
37827         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37828         (__PTHREAD_SPIN): Likewise.
37829         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37830         (__PTHREAD_SPIN): Likewise.
37831         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37832         (__PTHREAD_SPIN): Likewise.
37833         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37834         (__PTHREAD_SPIN): Likewise.
37835         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37836         (__PTHREAD_SPIN): Likewise.
37838         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37839         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37840         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37841         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37842         imply folder.
37843         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37844         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37845         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37846         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37847         correct imply path.
37848         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37849         strlen symbol for non multi-arch builds.
37850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37851         missing hidden_def and weak_alias.
37853 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37855         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37857 2014-04-07  Will Newton  <will.newton@linaro.org>
37859         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37860         and contents.  [!_LIBC] Remove #ifndef and contents.
37861         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37862         * string/memccpy.c (__memccpy): Use ANSI prototype.
37863         * string/memfrob.c (memfrob): Likewise.
37864         * string/strcoll.c (STRCOLL): Likewise.
37865         * string/strlen.c (strlen): Likewise.
37866         * string/strtok.c (STRTOK): Likewise.
37867         * string/strcat.c: Remove unused #include of memcopy.h.
37868         (strcat): Use ANSI prototype.
37869         * string/strchr.c: Remove unused #include of memcopy.h.
37870         (strchr): Use ANSI prototype.
37871         * string/strcmp.c: Remove unused #include of memcopy.h.
37872         (strcmp): Use ANSI prototype.
37873         * string/strcpy.c: Remove unused #include of memcopy.h.
37874         (strcpy): Use ANSI prototype.
37876 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37878         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37879         * config.make.in (config-extra-cppflags): Set it from
37880         libc_extra_cppflags.
37881         * configure.ac (libc_extra_cflags): Make it accumulate over
37882         configure fragments.
37883         (libc_extra_cppflags): New flag.
37884         * configure. Regenerate.
37885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37886         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37887         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37890         [BZ #16815]
37891         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37892         result for FE_DOWNWARD rounding mode.
37893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37894         Likewise.
37895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37897 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37899         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37900         in function argument name.
37902 2014-04-03  David Svoboda  <svoboda@cert.org>
37904         [BZ #5666]
37905         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37906         explicitly.
37908 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37910         * elf/dl-unmap-segments.h: New file.
37911         * sysdeps/generic/ldsodefs.h
37912         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37913         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37914         * elf/dl-fptr.c: Likewise.
37915         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37916         * sysdeps/aarch64/tlsdesc.c: Likewise.
37917         * sysdeps/arm/tlsdesc.c: Likewise.
37918         * sysdeps/i386/tlsdesc.c: Likewise.
37919         * sysdeps/tile/dl-runtime.c: Likewise.
37920         * sysdeps/x86_64/tlsdesc.c: Likewise.
37921         * elf/dl-load.h: New file.
37922         * elf/dl-load.c: Include it.
37923         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37924         Macros moved to dl-load.h.
37925         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37926         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37927         Use _dl_unmap_segments in place of __munmap.
37928         Break out segment-mapping loop into ...
37929         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37931 2014-04-03  Will Newton  <will.newton@linaro.org>
37933         * elf/dl-lookup.c (do_lookup_x): Remove comment
37934         referring to nested function and move variable
37935         declarations down to before first use.
37937 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37939         [BZ #16799]
37940         [BZ #16800]
37941         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37942         with 0 numerator.
37943         * math/s_catanf.c (__catanf): Likewise.
37944         * math/s_catanh.c (__catanh): Likewise.
37945         * math/s_catanhf.c (__catanhf): Likewise.
37946         * math/s_catanhl.c (__catanhl): Likewise.
37947         * math/s_catanl.c (__catanl): Likewise.
37948         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37949         by positive zero when computing -Inf result.
37950         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37951         (catanh_test): Likewise.
37952         * sysdeps/i386/fpu/libm-test-ulps: Update.
37953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37955         [BZ #16789]
37956         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37957         instead of using underflowing value in computing result.
37958         * math/s_clog10.c (__clog10): Likewise.
37959         * math/s_clog10f.c (__clog10f): Likewise.
37960         * math/s_clog10l.c (__clog10l): Likewise.
37961         * math/s_clogf.c (__clogf): Likewise.
37962         * math/s_clogl.c (__clogl): Likewise.
37963         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37964         (clog10_test): Likewise.
37965         * sysdeps/i386/fpu/libm-test-ulps: Update.
37966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37968 2014-04-02  Alan Modra  <amodra@gmail.com>
37970         [BZ #16739]
37971         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37972         output when value is near a power of two.  Use int64_t for lx and
37973         remove casts.  Use decimal rather than hex exponent constants.
37974         Don't use long double multiplication when double will suffice.
37975         * math/libm-test.inc (nextafter_test_data): Add tests.
37976         * NEWS: Add 16739 and 16786 to bug list.
37978         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37980         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37982 2014-04-01  Will Newton  <will.newton@linaro.org>
37984         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37985         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37987 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37989         [BZ #13347]
37990         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37991         * nptl/tst-setuid2.c: New file.
37992         * nptl/Makefile (xtests): Add tst-setuid2.
37994 2014-04-01  Alan Modra  <amodra@gmail.com>
37996         [BZ #16786]
37997         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37999 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38001         [BZ #6803]
38002         [BZ #6804]
38003         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38004         set errno as appropriate.
38005         * math/w_scalbf.c (__scalbf): Likewise.
38006         * math/w_scalbl.c (__scalbl): Likewise.
38007         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38008         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38009         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38010         Add more NaN tests.
38012         [BZ #16349]
38013         * math/w_atan2.c: Include <errno.h>.
38014         (__atan2): Set errno for result underflowing to zero.
38015         * math/w_atan2f.c: Include <errno.h>.
38016         (__atan2f): Set errno for result underflowing to zero.
38017         * math/w_atan2l.c: Include <errno.h>.
38018         (__atan2l): Set errno for result underflowing to zero.
38019         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38020         tests.
38021         * math/auto-libm-test-out: Regenerated.
38023 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38025         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38026         Encode instruction correctly in little endian.
38027         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38028         Likewise.
38029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38030         Likewise.
38031         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38032         Likewise.
38033         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38034         Likewise.
38036 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38038         [BZ #9894]
38039         * sysdeps/unix/sysv/linux/kernel-features.h
38040         [__sparc__ && !__arch64__ && !__sparc_v9__]
38041         (__ASSUME_SET_ROBUST_LIST): Do not define.
38042         [__sparc__ && !__arch64__ && !__sparc_v9__]
38043         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38044         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38045         Likewise.
38046         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38047         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38048         (__ASSUME_REQUEUE_PI): Likewise.
38049         (__ASSUME_SET_ROBUST_LIST): Likewise.
38050         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38051         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38052         Undefine.
38053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38054         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38055         Likewise.
38056         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38057         Likewise.
38058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38059         Likewise.
38060         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38061         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38062         Undefine.
38063         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38064         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38065         Likewise.
38067         [BZ #16648]
38068         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38070         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38072 2014-03-31  Will Newton  <will.newton@linaro.org>
38074         * benchtests/Makefile (bench): Add ffs and ffsll to list
38075         of tests.
38076         * benchtests/ffs-inputs: New file.
38077         * benchtests/ffsll-inputs: Likewise.
38079 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38081         [BZ #16770]
38082         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38083         too large before casting to int.
38084         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38085         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38086         * math/libm-test.inc (scalb_test_data): Add more tests.
38088 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38090         * benchtests/Makefile (DETAILED_OPT): New make option.
38091         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38092         set.
38093         * benchtests/bench-skeleton.c: Include stdbool.h.
38094         (main): Store and print timings per input.
38095         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38096         member to each argument value.
38097         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38098         (_print_arg_data): Initialize per-input timing to 0.
38100         * benchtests/Makefile (timing-type): New binary.
38101         (bench-clean): Also remove bench-timing-type.
38102         (bench): New target for timing-type.
38103         (bench-func): Print output in JSON format.
38104         * benchtests/bench-skeleton.c (main): Print output in JSON
38105         format.
38106         * benchtests/bench-timing-type.c: New file.
38107         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38108         (TIMING_PRINT_STATS): Remove.
38109         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38110         name separately.
38112         * benchtests/bench-modf.c: Remove.
38113         * benchtests/modf-inputs: New inputs file.
38115 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #16362]
38118         * math/s_clog10.c (M_PI_LOG10E): New macro.
38119         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38120         imaginary parts are 0.
38121         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38122         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38123         imaginary parts are 0.
38124         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38125         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38126         imaginary parts are 0.
38127         * math/libm-test.inc (clog10_test_data): Update expected results
38128         for when real and imaginary parts are 0.
38130 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38132         * elf/dl-load.c: Finish conversion of __builtin_expect into
38133         __glibc_{un}likely.
38135 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38137         [BZ #16348]
38138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38139         1+x for argument with exponent below -67.
38140         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38141         Likewise.
38142         * math/auto-libm-test-in: Add more tests of exp.
38143         * math/auto-libm-test-out: Regenerated.
38145 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38147         [BZ #16759]
38148         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38149         (nscd_getnetgrent): Use it.
38151         [BZ #16760]
38152         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38153         of stpcpy.
38155 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38157         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38158         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38159         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38160         (lll_robust_unlock): Remove out of line section. Use cfi
38161         intrinsics.
38162         (LLL_STUB_UNWIND_INFO*): Remove.
38163         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38164         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38165         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38166         (lll_robust_unlock): Remove out of line section. Use cfi
38167         intrinsics.
38168         (LLL_STUB_UNWIND_INFO*): Remove.
38170 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38172         [BZ #16758]
38173         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38174         blank values.
38176 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38178         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38180 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38182         [BZ #16198]
38183         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38184         fnstenv.
38185         * math/test-fenv-preserve.c: New file.
38186         * math/Makefile (tests): Add test-fenv-preserve.
38188 2014-03-26  Will Newton <will.newton@linaro.org>
38190         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38192 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38194         * scripts/versionlist.awk: Partition the version sets and emit all
38195         GLIBC_* (sorted) before all others (sorted).
38197 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38199         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38200         GLIBC_2.2.5 version.
38202 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38204         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38205         calls.
38207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38208         previous change.
38210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38212 2014-03-25  Andreas Schwab  <schwab@suse.de>
38214         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38215         label to be used after in6ailist is initialized.
38217 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38220         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38222 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38224         [BZ #16357]
38225         [BZ #16599]
38226         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38227         min_plus_half.
38228         (fp_formats): Update initializers.
38229         (init_fp_formats): Initialize new field.
38230         (output_for_one_input_case): Allow underflow for results up to
38231         min_plus_half.
38232         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38233         * math/auto-libm-test-in: Don't mark some underflows from asin and
38234         atanh as spurious.
38235         * math/auto-libm-test-out: Regenerated.
38236         * sysdeps/i386/fpu/libm-test-ulps: Update.
38237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38239 2014-03-25  Andreas Schwab  <schwab@suse.de>
38241         * libio/Makefile (tst-ftell-partial-wide-ENV)
38242         (tst-ftell-active-handler-ENV): Define.
38244 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38246         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38248 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38250         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38252 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38254         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38255         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38256         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38258 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38260         [BZ #16634]
38261         * elf/dl-load.c (open_verify): Add mode parameter.
38262         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38263         (open_path): Change from boolean 'secure' to complete flag 'mode'
38264         (_dl_map_object): Adjust.
38265         * elf/Makefile (tests): Add tst-dlopen-aout.
38266         * elf/tst-dlopen-aout.c: New test.
38268 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38270         [BZ #16714]
38271         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38272         (struct stat): Rename member pad0 to __glibc_reserved0.
38274         [BZ #16712]
38275         * sysdeps/s390/s390-32/bits/wordsize.h
38276         (__WORDSIZE32_SIZE_ULONG): New define.
38277         * sysdeps/s390/s390-64/bits/wordsize.h
38278         (__WORDSIZE32_SIZE_ULONG): Likewise.
38279         * sysdeps/generic/stdint.h (SIZE_MAX):
38280         Define as UL if __WORDSIZE32_SIZE_ULONG.
38282         [BZ #16713]
38283         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38284         (__glibc_reserved0): New variable.
38285         (sa_flags): Change type to int.
38287         * posix/Makefile (before-compile): Use += before-compile instead
38288         of a :=.
38290         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38291         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38293 2014-03-20  Andreas Schwab  <schwab@suse.de>
38295         [BZ #16743]
38296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38297         non-matching result from nscd.
38299 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38301         * scripts/bench.py: Moved to ...
38302         * benchtests/scripts/bench.py: ... here.
38303         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38305 2014-03-24  Andreas Schwab  <schwab@suse.de>
38307         [BZ #16002]
38308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38309         alloca_account and account alloca use for struct in6ailist.
38311 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38313         [BZ #16284]
38314         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38315         rounding mode to recompute results that overflow to infinity or
38316         underflow to zero.
38317         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38318         bug 16284.
38319         * math/auto-libm-test-out: Regenerated.
38320         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38321         (ccosh_test): Likewise.
38322         (csin_test_data): Use plus_oflow.
38323         (csin_test): Use ALL_RM_TEST.
38324         (csinh_test_data): Use plus_oflow.
38325         (csinh_test): Use ALL_RM_TEST.
38326         * sysdeps/i386/fpu/libm-test-ulps: Update.
38327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38329 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38331         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38332         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38333         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38335         [BZ #16731]
38336         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38337         when x - 1 is zero.
38338         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38339         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38340         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38341         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38342         argument is 1.
38343         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38344         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38345         zero.
38346         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38347         * sysdeps/i386/fpu/libm-test-ulps: Update.
38348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38350 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38352         * scripts/bench.pl: Remove file.
38353         * scripts/bench.py: New benchmark script.
38354         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38355         * benchtests/README: Mention python dependency.
38356         * scripts/pylintrc: New file.
38357         * scripts/pylint: New file.
38359         * bits/mathdef.h: Use #ifdef instead of #if.
38360         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38361         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38362         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38363         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38364         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38365         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38367 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38368             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38370         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38372         and strpbrk-ppc64 objects.
38373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38374         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38375         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38376         multiarch strpbrk for POWER7.
38377         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38378         multiarch strpbrk for PPC64.
38379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38380         ifunc selector.
38381         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38382         strpbrk for POWER7.
38384 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38386         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38387         (atan_test): Likewise.
38388         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38389         (atanh_test): Use ALL_RM_TEST.
38390         (atan2_test_data): Likewise.
38391         (cabs_test): Likewise.
38392         (cacosh_test): Likewise.
38393         (carg_test): Likewise.
38394         (casin_test): Likewise.
38395         (casinh_test): Likewise.
38396         (cbrt_test): Likewise.
38397         (csqrt_test): Likewise.
38398         (erf_test): Likewise.
38399         (erfc_test): Likewise.
38400         (pow10_test): Likewise.
38401         (exp2_test): Likewise.
38402         (hypot_test): Likewise.
38403         (j0_test): Likewise.
38404         (j1_test): Likewise.
38405         (lgamma_test): Likewise.
38406         (gamma_test): Likewise.
38407         (sincos_test): Likewise.
38408         (tanh_test): Likewise.
38409         (y0_test): Likewise.
38410         (y1_test): Likewise.
38411         * sysdeps/i386/fpu/libm-test-ulps: Update.
38412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38414 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38416         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38418         and strcspn-ppc64 objects.
38419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38420         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38421         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38422         multiarch strcspn for POWER7.
38423         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38424         multiarch strcspn for PPC64.
38425         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38426         ifunc selector.
38427         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38428         strcspn for POWER7.
38430 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38432         * math/gen-libm-test.pl (generate_testfile): Expect only function
38433         name as argument to AUTO_TESTS_* and pass results for all rounding
38434         modes to parse_args.
38435         (parse_auto_input): Separate inputs of automatic tests from
38436         outputs before storing in %auto_tests.
38437         * math/libm-test.inc (acos_test_data): Update call to
38438         AUTO_TESTS_f_f.
38439         (acos_test): Use ALL_RM_TEST.
38440         (acos_tonearest_test_data): Remove.
38441         (acos_test_tonearest): Likewise.
38442         (acos_towardzero_test_data): Likewise.
38443         (acos_test_towardzero): Likewise.
38444         (acos_downward_test_data): Likewise.
38445         (acos_test_downward): Likewise.
38446         (acos_upward_test_data): Likewise.
38447         (acos_test_upward): Likewise.
38448         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38449         (asin_test_data): Likewise.
38450         (asin_test): Use ALL_RM_TEST.
38451         (asin_tonearest_test_data): Remove.
38452         (asin_test_tonearest): Likewise.
38453         (asin_towardzero_test_data): Likewise.
38454         (asin_test_towardzero): Likewise.
38455         (asin_downward_test_data): Likewise.
38456         (asin_test_downward): Likewise.
38457         (asin_upward_test_data): Likewise.
38458         (asin_test_upward): Likewise.
38459         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38460         (atan_test_data): Likewise.
38461         (atanh_test_data): Likewise.
38462         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38463         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38464         (carg_test_data): Likewise.
38465         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38466         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38467         (ccosh_test_data): Likewise.
38468         (cexp_test_data): Likewise.
38469         (clog_test_data): Likewise.
38470         (clog10_test_data): Likewise.
38471         (cos_test_data): Update call to AUTO_TESTS_f_f.
38472         (cos_test): Use ALL_RM_TEST.
38473         (cos_tonearest_test_data): Remove.
38474         (cos_test_tonearest): Likewise.
38475         (cos_towardzero_test_data): Likewise.
38476         (cos_test_towardzero): Likewise.
38477         (cos_downward_test_data): Likewise.
38478         (cos_test_downward): Likewise.
38479         (cos_upward_test_data): Likewise.
38480         (cos_test_upward): Likewise.
38481         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38482         (cosh_test): Use ALL_RM_TEST.
38483         (cosh_tonearest_test_data): Remove.
38484         (cosh_test_tonearest): Likewise.
38485         (cosh_towardzero_test_data): Likewise.
38486         (cosh_test_towardzero): Likewise.
38487         (cosh_downward_test_data): Likewise.
38488         (cosh_test_downward): Likewise.
38489         (cosh_upward_test_data): Likewise.
38490         (cosh_test_upward): Likewise.
38491         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38492         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38493         (ctan_test_data): Likewise.
38494         (ctan_test): Use ALL_RM_TEST.
38495         (ctan_tonearest_test_data): Remove.
38496         (ctan_test_tonearest): Likewise.
38497         (ctan_towardzero_test_data): Likewise.
38498         (ctan_test_towardzero): Likewise.
38499         (ctan_downward_test_data): Likewise.
38500         (ctan_test_downward): Likewise.
38501         (ctan_upward_test_data): Likewise.
38502         (ctan_test_upward): Likewise.
38503         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38504         (ctanh_test): Use ALL_RM_TEST.
38505         (ctanh_tonearest_test_data): Remove.
38506         (ctanh_test_tonearest): Likewise.
38507         (ctanh_towardzero_test_data): Likewise.
38508         (ctanh_test_towardzero): Likewise.
38509         (ctanh_downward_test_data): Likewise.
38510         (ctanh_test_downward): Likewise.
38511         (ctanh_upward_test_data): Likewise.
38512         (ctanh_test_upward): Likewise.
38513         (erf_test_data): Update call to AUTO_TESTS_f_f.
38514         (erfc_test_data): Likewise.
38515         (exp_test_data): Likewise.
38516         (exp_test): Use ALL_RM_TEST.
38517         (exp_tonearest_test_data): Remove.
38518         (exp_test_tonearest): Likewise.
38519         (exp_towardzero_test_data): Likewise.
38520         (exp_test_towardzero): Likewise.
38521         (exp_downward_test_data): Likewise.
38522         (exp_test_downward): Likewise.
38523         (exp_upward_test_data): Likewise.
38524         (exp_test_upward): Likewise.
38525         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38526         (exp10_test): Use ALL_RM_TEST.
38527         (exp10_tonearest_test_data): Remove.
38528         (exp10_test_tonearest): Likewise.
38529         (exp10_towardzero_test_data): Likewise.
38530         (exp10_test_towardzero): Likewise.
38531         (exp10_downward_test_data): Likewise.
38532         (exp10_test_downward): Likewise.
38533         (exp10_upward_test_data): Likewise.
38534         (exp10_test_upward): Likewise.
38535         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38536         (expm1_test_data): Likewise.
38537         (expm1_test): Use ALL_RM_TEST.
38538         (expm1_tonearest_test_data): Remove.
38539         (expm1_test_tonearest): Likewise.
38540         (expm1_towardzero_test_data): Likewise.
38541         (expm1_test_towardzero): Likewise.
38542         (expm1_downward_test_data): Likewise.
38543         (expm1_test_downward): Likewise.
38544         (expm1_upward_test_data): Likewise.
38545         (expm1_test_upward): Likewise.
38546         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38547         (fma_test): Use ALL_RM_TEST.
38548         (fma_towardzero_test_data): Remove.
38549         (fma_test_towardzero): Likewise.
38550         (fma_downward_test_data): Likewise.
38551         (fma_test_downward): Likewise.
38552         (fma_upward_test_data): Likewise.
38553         (fma_test_upward): Likewise.
38554         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38555         (j0_test_data): Update call to AUTO_TESTS_f_f.
38556         (j1_test_data): Likewise.
38557         (jn_test_data): Update call to AUTO_TESTS_if_f.
38558         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38559         (log_test_data): Update call to AUTO_TESTS_f_f.
38560         (log10_test_data): Likewise.
38561         (log1p_test_data): Likewise.
38562         (log2_test_data): Likewise.
38563         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38564         (pow_tonearest_test_data): Likewise.
38565         (sin_test_data): Update call to AUTO_TESTS_f_f.
38566         (sin_test): Use ALL_RM_TEST.
38567         (sin_tonearest_test_data): Remove.
38568         (sin_test_tonearest): Likewise.
38569         (sin_towardzero_test_data): Likewise.
38570         (sin_test_towardzero): Likewise.
38571         (sin_downward_test_data): Likewise.
38572         (sin_test_downward): Likewise.
38573         (sin_upward_test_data): Likewise.
38574         (sin_test_upward): Likewise.
38575         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38576         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38577         (sinh_test): Use ALL_RM_TEST.
38578         (sinh_tonearest_test_data): Remove.
38579         (sinh_test_tonearest): Likewise.
38580         (sinh_towardzero_test_data): Likewise.
38581         (sinh_test_towardzero): Likewise.
38582         (sinh_downward_test_data): Likewise.
38583         (sinh_test_downward): Likewise.
38584         (sinh_upward_test_data): Likewise.
38585         (sinh_test_upward): Likewise.
38586         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38587         (sqrt_test): Use ALL_RM_TEST.
38588         (sqrt_tonearest_test_data): Remove.
38589         (sqrt_test_tonearest): Likewise.
38590         (sqrt_towardzero_test_data): Likewise.
38591         (sqrt_test_towardzero): Likewise.
38592         (sqrt_downward_test_data): Likewise.
38593         (sqrt_test_downward): Likewise.
38594         (sqrt_upward_test_data): Likewise.
38595         (sqrt_test_upward): Likewise.
38596         (tan_test_data): Update call to AUTO_TESTS_f_f.
38597         (tan_test): Use ALL_RM_TEST.
38598         (tan_tonearest_test_data): Remove.
38599         (tan_test_tonearest): Likewise.
38600         (tan_towardzero_test_data): Likewise.
38601         (tan_test_towardzero): Likewise.
38602         (tan_downward_test_data): Likewise.
38603         (tan_test_downward): Likewise.
38604         (tan_upward_test_data): Likewise.
38605         (tan_test_upward): Likewise.
38606         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38607         (tgamma_test_data): Likewise.
38608         (y0_test_data): Likewise.
38609         (y1_test_data): Likewise.
38610         (yn_test_data): Update call to AUTO_TESTS_if_f.
38611         (main): Do not call removed functions.
38613 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38615         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38616         (ldexp_test_data): Remove.
38617         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38618         scalbn_test_data.
38619         (scalb_test): Use ALL_RM_TEST.
38621 2014-03-19  Andreas Schwab  <schwab@suse.de>
38623         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38625 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38627         [BZ #16649]
38628         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38629         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38630         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38632         (__ASSUME_PREADV): Undefine.
38633         (__ASSUME_PWRITEV): Likewise.
38635 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38637         * bits/mman-linux.h: Add comment about non-Linux use.
38638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38639         bits/mman-linux.h resting place.
38641         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38642         * bits/mman-linux.h: ... here.
38644 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38646         * conform/conformtest.pl: Add standard definition when calling C
38647         preprocessor on data files.
38648         (checknamespace): Remove unused variable.
38650 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38652         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38653         minus_oflow, plus_uflow and minus_uflow in expected results.
38654         * math/libm-test.inc (scalbn_test_data): Add more tests of
38655         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38656         minus_uflow.
38657         (scalbn_test): Use ALL_RM_TEST.
38658         (scalbln_test_data): Add more tests of negative arguments.  Use
38659         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38660         (scalbln_test): Use ALL_RM_TEST.
38662 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38664         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38666 2014-03-18  Will Newton  <will.newton@linaro.org>
38668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38669         inaccurate comment.
38671 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38673         * Makerules [!subdir] (check-abi): Exit with error status if a
38674         test failed.
38676 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38678         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38679         for rint.  Include results for all rounding modes.
38680         (nearbyint_test): Use ALL_RM_TEST.
38681         (rint_test_data): Include all tests used for nearbyint.
38683 2014-03-17  Will Newton  <will.newton@linaro.org>
38685         * nptl/sysdeps/pthread/pthread.h: Revert previous
38686         change.
38688         * sysdeps/generic/ldsodefs.h: Revert previous
38689         change.
38691         * libio/genops.c: Revert previous change.
38692         * libio/libioP.h: Likewise.
38693         * stdio-common/vfprintf.c: Likewise.
38695         * sysdeps/generic/math_private.h: Revert previous
38696         change.
38698         * sysdeps/generic/math_private.h: Check whether
38699         HAVE_RM_CTX is defined with #ifdef rather
38700         than #if.
38702         * argp/argp-fmtstream.h: Check whether
38703         __STRICT_ANSI__ is defined with #ifdef rather
38704         than #if.
38705         * argp/argp.h: Likewise.
38707         * libio/genops.c: Check whether
38708         _IO_JUMPS_OFFSET is defined with #ifdef rather
38709         than #if.
38710         * libio/libioP.h: Likewise.
38711         * stdio-common/vfprintf.c: Likewise.
38713         * sysdeps/generic/ldsodefs.h: Check whether
38714         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38715         than #if.
38717         * nptl/sysdeps/pthread/pthread.h: Check
38718         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38719         its value.
38721 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38723         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38724         setting O_APPEND.
38725         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38726         test case.
38728         [BZ #16680]
38729         * libio/fileops.c (_IO_file_open): Seek to end of file but
38730         don't cache the offset.
38731         (get_file_offset): Remove function.
38732         (do_ftell): Use cached offset when available.
38733         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38734         don't cache the offset.
38735         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38736         case.
38737         (do_one_test): Call it.
38738         (do_ftell_test): Fix up expected old offset for a+ mode.
38739         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38740         available.
38742         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38743         up test status with function return status.
38744         (do_write_test): Likewise.
38745         (do_append_test): Likewise.
38747         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38748         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38749         Remove.
38751 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38753         * math/gen-libm-test.pl (parse_args): Handle results specified for
38754         each rounding mode separately.
38755         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38756         tests and results from lrint_tonearest_test_data,
38757         lrint_towardzero_test_data, lrint_downward_test_data and
38758         lrint_upward_test_data.
38759         (lrint_test): Use ALL_RM_TEST.
38760         (lrint_tonearest_test_data): Remove.
38761         (lrint_test_tonearest): Likewise.
38762         (lrint_towardzero_test_data): Likewise.
38763         (lrint_test_towardzero): Likewise.
38764         (lrint_downward_test_data): Likewise.
38765         (lrint_test_downward): Likewise.
38766         (lrint_upward_test_data): Likewise.
38767         (lrint_test_upward): Likewise.
38768         (llrint_test_data): Merge in per-rounding-mode tests and results
38769         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38770         llrint_downward_test_data and llrint_upward_test_data.
38771         (llrint_test): Use ALL_RM_TEST.
38772         (llrint_tonearest_test_data): Remove.
38773         (llrint_test_tonearest): Likewise.
38774         (llrint_towardzero_test_data): Likewise.
38775         (llrint_test_towardzero): Likewise.
38776         (llrint_downward_test_data): Likewise.
38777         (llrint_test_downward): Likewise.
38778         (llrint_upward_test_data): Likewise.
38779         (llrint_test_upward): Likewise.
38780         (rint_test_data): Merge in per-rounding-mode tests and results
38781         from rint_tonearest_test_data, rint_towardzero_test_data,
38782         rint_downward_test_data and rint_upward_test_data.  Add
38783         per-rounding-mode results for tests not in those arrays.
38784         (rint_test): Use ALL_RM_TEST.
38785         (rint_tonearest_test_data): Remove.
38786         (rint_test_tonearest): Likewise.
38787         (rint_towardzero_test_data): Likewise.
38788         (rint_test_towardzero): Likewise.
38789         (rint_downward_test_data): Likewise.
38790         (rint_test_downward): Likewise.
38791         (rint_upward_test_data): Likewise.
38792         (rint_test_upward): Likewise.
38793         (main): Don't call removed functions.
38795 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38797         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38798         "Compiled on ..." crapola.  It is anti-useful.
38800 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38802         * scripts/evaluate-test.sh: Handle fourth argument to determine
38803         whether test run should stop on failure.
38804         * Makeconfig (stop-on-test-failure): New variable.
38805         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38806         $(stop-on-test-failure).
38807         * Makefile (tests): Give a summary of results from testing and
38808         exit with failure status if they include an ERROR or FAIL.
38809         (xtests): Likewise.
38810         * manual/install.texi (Configuring and compiling): Mention
38811         stop-on-test-failure=y.
38812         * INSTALL: Regenerated.
38814 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38816         * scripts/versionlist.awk: New file.
38817         * Makerules [$(build-shared) = yes]
38818         (postclean-generated): Add Versions.def, not Versions.def.v and
38819         Versions.def.v.i.
38820         ($(common-objpfx)Versions.def.v.i): Target removed.
38821         ($(common-objpfx)Versions.def): New target.
38822         ($(common-objpfx)Versions.all): Depend on that rather that
38823         $(common-objpfx)Versions.def.v.
38824         * Versions.def: File removed.
38826         * Makeconfig (+gccwarn): Add -Wundef.
38827         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38828         a dl-sysdep.h breaking its contract.
38829         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38830         * include/stackinfo.h: New file.
38831         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38832         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38833         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38834         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38835         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38836         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38837         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38838         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38839         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38840         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38841         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38842         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38843         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38844         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38845         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38847 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38849         [BZ #16707]
38850         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38851         implementation.
38852         * math/libm-test.inc (round_test_data): Add more tests.
38854         [BZ #16706]
38855         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38856         implementation.
38857         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38859         [BZ #16701]
38860         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38861         implementation.
38862         * math/libm-test.inc (ceil_test_data): Add more tests.
38864         * math/libm-test.inc (trunc_test_data): Add more tests related to
38865         BZ#16414.
38867 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38869         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38870         with #if rather than #ifdef.
38871         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38873 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38875         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38876         first.  Disable AVX-512 GCC support if assembler doesn't support
38877         it.
38878         * sysdeps/x86_64/configure: Regenerated.
38880 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38882         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38883         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38884         (__old_pthread_attr_setstack): Likewise.
38885         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38886         [!_STACK_GROWS_DOWN]: Likewise.
38888 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38890         * config.make.in (have-bash2): Delete.
38891         * configure.ac (libc_cv_have_bash2): Delete.
38892         * configure: Regenerate.
38893         * elf/Makefile (common-ldd-rewrite): Rename to ...
38894         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38895         (sh-ldd-rewrite): Delete.
38896         (bash-ldd-rewrite): Delete.
38897         (have-bash2): Delete checks.
38898         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38899         ldd-rewrite.
38901         * config.make.in (have-ksh): Delete.
38902         (KSH): Delete.
38903         * configure.ac (libc_cv_have_ksh): Delete.
38904         * configure: Regenerate.
38906         * elf/Makefile: Delete $(have-ksh) check.
38907         ($(objpfx)sotruss): Change KSH to BASH.
38908         * elf/sotruss.ksh: Rename to ...
38909         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38910         function style to match POSIX.  Drop ksh vim mode setting.
38912         * manual/time.texi (Specifying the Time Zone with TZ): Change
38913         Tuesday to Thursday.
38915         * debug/tst-longjmp_chk2.c: Update header comment.
38916         (stackoverflow_handler): Add comment.  Call assert on pass value.
38918 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38920         [BZ #16194]
38921         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38922         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38923         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38924         (La_x86_64_vector): Add zmm.
38925         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38926         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38927         ($(objpfx)tst-audit10): New target.
38928         ($(objpfx)tst-audit10.out): Likewise.
38929         (tst-audit10-ENV): New.
38930         (AVX512-CFLAGS): Likewise.
38931         (CFLAGS-tst-audit10.c): Likewise.
38932         (CFLAGS-tst-auditmod10a.c): Likewise.
38933         (CFLAGS-tst-auditmod10b.c): Likewise.
38934         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38935         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38936         * sysdeps/x86_64/configure: Regenerated.
38937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38938         AVX-512 zmm register support.
38939         (_dl_x86_64_save_sse): Likewise.
38940         (_dl_x86_64_restore_sse): Likewise.
38941         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38942         size vector registers.
38943         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38944         (ZMM_SIZE): Likewise.
38945         * sysdeps/x86_64/tst-audit10.c: New file.
38946         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38947         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38949 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38951         * configure.ac (HAVE_EHDR_START): New check.
38952         * configure: Regenerated.
38953         * config.h.in (HAVE_EHDR_START): New #undef.
38954         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38955         assuming the lowest-addressed segment maps the start of the file.
38957 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38959         * INSTALL: Regenerated.
38961 2014-03-13  Will Newton  <will.newton@linaro.org>
38963         * manual/setjmp.texi (System V contexts): Improve
38964         clarity and grammar of documentation.
38966 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38968         [BZ #16381]
38969         * elf/Makefile (tests): Add tst-pie2.
38970         (tests-pie): Add tst-pie2.
38971         * elf/tst-pie2.c: New file.
38972         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38973         for ET_EXEC.
38974         * elf/rtld.c (map_doit): Load executable as lt_executable.
38975         (dl_main): Likewise.
38977 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38979         [BZ #16642]
38980         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38981         (__ASSUME_PSELECT): Undefine.
38983 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38985         [BZ #16689]
38986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38987         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38988         static build.
38989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38990         selector for static builds.
38992 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38994         [BZ #16695]
38995         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38996         key in the buffer.
38998 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39000         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39001         IFUNC selector for static builds.
39003 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39005         * sysdeps/mips/math_private.h [__mips_hard_float]
39006         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39007         libc_feresetround_mips_ctx.
39008         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39009         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39010         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39012         [BZ #16677]
39013         * math/s_nextafter.c (__nextafter): Do not return value from
39014         overflowing computation.
39015         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39016         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39017         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39018         Likewise.
39019         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39020         Likewise.
39021         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39022         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39024 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39026         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39027         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39028         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39029         the new mov targetting sp.
39031 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         [BZ #16683]
39034         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39035         Define it for static builds as well.
39036         (NO_BZERO_IMPL): Likewise.
39038 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39040         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39041         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39042         multiarch strspn for PPC64.
39043         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39044         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39046         (__libc_ifunc_impl_list): Likewise.
39047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39048         multiarch optimizations
39049         * string/strspn.c (strspn): Using macro to redefine symbol name.
39051 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39052             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39054         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39055         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39056         multiarch strncat for PPC64.
39057         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39058         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39060         (__libc_ifunc_impl_list): Likewise.
39061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39062         multiarch optimizations
39064 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39066         [BZ #16639]
39067         * nscd/nscd.service: Make service type forking.
39069 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39071         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39072         sign in non default rounding modes.
39073         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39075 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39077         * math/libm-test.inc (ALL_RM_TEST): New macro.
39078         (ceil_test): Use ALL_RM_TEST.
39079         (cimag_test): Likewise.
39080         (conj_test): Likewise.
39081         (copysign_test): Likewise.
39082         (cproj_test): Likewise.
39083         (creal_test): Likewise.
39084         (fabs_test): Likewise.
39085         (floor_test): Likewise.
39086         (fmax_test): Likewise.
39087         (fmin_test): Likewise.
39088         (fmod_test): Likewise.
39089         (fpclassify_test): Likewise.
39090         (frexp_test): Likewise.
39091         (ilogb_test): Likewise.
39092         (isfinite_test): Likewise.
39093         (finite_test): Likewise.
39094         (isgreater_test): Likewise.
39095         (isgreaterequal_test): Likewise.
39096         (isinf_test): Likewise.
39097         (isless_test): Likewise.
39098         (islessequal_test): Likewise.
39099         (islessgreater_test): Likewise.
39100         (isnan_test): Likewise.
39101         (isnormal_test): Likewise.
39102         (issignaling_test): Likewise.
39103         (isunordered_test): Likewise.
39104         (logb_test): Likewise.
39105         (logb_downward_test_data): Remove.
39106         (logb_test_downward): Likewise.
39107         (lround_test): Use ALL_RM_TEST.
39108         (llround_test): Likewise.
39109         (modf_test): Likewise.
39110         (nexttoward_test): Likewise.
39111         (remainder_test): Likewise.
39112         (drem_test): Likewise.
39113         (remainder_tonearest_test_data): Likewise.
39114         (remainder_test_tonearest): Likewise.
39115         (drem_test_tonearest): Likewise.
39116         (remainder_towardzero_test_data): Likewise.
39117         (remainder_test_towardzero): Likewise.
39118         (drem_test_towardzero): Likewise.
39119         (remainder_downward_test_data): Likewise.
39120         (remainder_test_downward): Likewise.
39121         (drem_test_downward): Likewise.
39122         (remainder_upward_test_data): Likewise.
39123         (remainder_test_upward): Likewise.
39124         (drem_test_upward): Likewise.
39125         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39126         (round_test): Use ALL_RM_TEST.
39127         (signbit_test): Likewise.
39128         (trunc_test): Likewise.
39129         (significand_test): Likewise.
39130         (main): Don't call removed functions.
39132 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39134         [BZ #16674]
39135         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39136         || __USE_XOPEN2K8].
39137         (ILL_ILLOPN): Likewise.
39138         (ILL_ILLADR): Likewise.
39139         (ILL_ILLTRP): Likewise.
39140         (ILL_PRVOPC): Likewise.
39141         (ILL_PRVREG): Likewise.
39142         (ILL_COPROC): Likewise.
39143         (ILL_BADSTK): Likewise.
39144         (FPE_INTDIV): Likewise.
39145         (FPE_INTOVF): Likewise.
39146         (FPE_FLTDIV): Likewise.
39147         (FPE_FLTOVF): Likewise.
39148         (FPE_FLTUND): Likewise.
39149         (FPE_FLTRES): Likewise.
39150         (FPE_FLTINV): Likewise.
39151         (FPE_FLTSUB): Likewise.
39152         (SEGV_MAPERR): Likewise.
39153         (SEGV_ACCERR): Likewise.
39154         (BUS_ADRALN): Likewise.
39155         (BUS_ADRERR): Likewise.
39156         (BUS_OBJERR): Likewise.
39157         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39158         (TRAP_TRACE): Likewise.
39159         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39160         __USE_XOPEN2K8].
39161         (CLD_KILLED): Likewise.
39162         (CLD_DUMPED): Likewise.
39163         (CLD_TRAPPED): Likewise.
39164         (CLD_STOPPED): Likewise.
39165         (CLD_CONTINUED): Likewise.
39166         (POLL_IN): Likewise.
39167         (POLL_OUT): Likewise.
39168         (POLL_MSG): Likewise.
39169         (POLL_ERR): Likewise.
39170         (POLL_PRI): Likewise.
39171         (POLL_HUP): Likewise.
39172         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39173         Likewise.
39174         (ILL_ILLOPN): Likewise.
39175         (ILL_ILLADR): Likewise.
39176         (ILL_ILLTRP): Likewise.
39177         (ILL_PRVOPC): Likewise.
39178         (ILL_PRVREG): Likewise.
39179         (ILL_COPROC): Likewise.
39180         (ILL_BADSTK): Likewise.
39181         (FPE_INTDIV): Likewise.
39182         (FPE_INTOVF): Likewise.
39183         (FPE_FLTDIV): Likewise.
39184         (FPE_FLTOVF): Likewise.
39185         (FPE_FLTUND): Likewise.
39186         (FPE_FLTRES): Likewise.
39187         (FPE_FLTINV): Likewise.
39188         (FPE_FLTSUB): Likewise.
39189         (SEGV_MAPERR): Likewise.
39190         (SEGV_ACCERR): Likewise.
39191         (BUS_ADRALN): Likewise.
39192         (BUS_ADRERR): Likewise.
39193         (BUS_OBJERR): Likewise.
39194         (BUS_MCEERR_AR): Likewise.
39195         (BUS_MCEERR_AO): Likewise.
39196         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39197         (TRAP_TRACE): Likewise.
39198         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39199         __USE_XOPEN2K8].
39200         (CLD_KILLED): Likewise.
39201         (CLD_DUMPED): Likewise.
39202         (CLD_TRAPPED): Likewise.
39203         (CLD_STOPPED): Likewise.
39204         (CLD_CONTINUED): Likewise.
39205         (POLL_IN): Likewise.
39206         (POLL_OUT): Likewise.
39207         (POLL_MSG): Likewise.
39208         (POLL_ERR): Likewise.
39209         (POLL_PRI): Likewise.
39210         (POLL_HUP): Likewise.
39211         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39212         (ILL_ILLOPN): Likewise.
39213         (ILL_ILLADR): Likewise.
39214         (ILL_ILLTRP): Likewise.
39215         (ILL_PRVOPC): Likewise.
39216         (ILL_PRVREG): Likewise.
39217         (ILL_COPROC): Likewise.
39218         (ILL_BADSTK): Likewise.
39219         (FPE_INTDIV): Likewise.
39220         (FPE_INTOVF): Likewise.
39221         (FPE_FLTDIV): Likewise.
39222         (FPE_FLTOVF): Likewise.
39223         (FPE_FLTUND): Likewise.
39224         (FPE_FLTRES): Likewise.
39225         (FPE_FLTINV): Likewise.
39226         (FPE_FLTSUB): Likewise.
39227         (SEGV_MAPERR): Likewise.
39228         (SEGV_ACCERR): Likewise.
39229         (BUS_ADRALN): Likewise.
39230         (BUS_ADRERR): Likewise.
39231         (BUS_OBJERR): Likewise.
39232         (BUS_MCEERR_AR): Likewise.
39233         (BUS_MCEERR_AO): Likewise.
39234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39235         (TRAP_TRACE): Likewise.
39236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39237         __USE_XOPEN2K8].
39238         (CLD_KILLED): Likewise.
39239         (CLD_DUMPED): Likewise.
39240         (CLD_TRAPPED): Likewise.
39241         (CLD_STOPPED): Likewise.
39242         (CLD_CONTINUED): Likewise.
39243         (POLL_IN): Likewise.
39244         (POLL_OUT): Likewise.
39245         (POLL_MSG): Likewise.
39246         (POLL_ERR): Likewise.
39247         (POLL_PRI): Likewise.
39248         (POLL_HUP): Likewise.
39249         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39250         Likewise.
39251         (ILL_ILLOPN): Likewise.
39252         (ILL_ILLADR): Likewise.
39253         (ILL_ILLTRP): Likewise.
39254         (ILL_PRVOPC): Likewise.
39255         (ILL_PRVREG): Likewise.
39256         (ILL_COPROC): Likewise.
39257         (ILL_BADSTK): Likewise.
39258         (ILL_BADIADDR): Likewise.
39259         (ILL_BREAK): Likewise.
39260         (FPE_INTDIV): Likewise.
39261         (FPE_INTOVF): Likewise.
39262         (FPE_FLTDIV): Likewise.
39263         (FPE_FLTOVF): Likewise.
39264         (FPE_FLTUND): Likewise.
39265         (FPE_FLTRES): Likewise.
39266         (FPE_FLTINV): Likewise.
39267         (FPE_FLTSUB): Likewise.
39268         (FPE_DECOVF): Likewise.
39269         (FPE_DECDIV): Likewise.
39270         (FPE_DECERR): Likewise.
39271         (FPE_INVASC): Likewise.
39272         (FPE_INVDEC): Likewise.
39273         (SEGV_MAPERR): Likewise.
39274         (SEGV_ACCERR): Likewise.
39275         (SEGV_PSTKOVF): Likewise.
39276         (BUS_ADRALN): Likewise.
39277         (BUS_ADRERR): Likewise.
39278         (BUS_OBJERR): Likewise.
39279         (BUS_MCEERR_AR): Likewise.
39280         (BUS_MCEERR_AO): Likewise.
39281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39282         (TRAP_TRACE): Likewise.
39283         (TRAP_BRANCH): Likewise.
39284         (TRAP_HWBKPT): Likewise.
39285         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39286         __USE_XOPEN2K8].
39287         (CLD_KILLED): Likewise.
39288         (CLD_DUMPED): Likewise.
39289         (CLD_TRAPPED): Likewise.
39290         (CLD_STOPPED): Likewise.
39291         (CLD_CONTINUED): Likewise.
39292         (POLL_IN): Likewise.
39293         (POLL_OUT): Likewise.
39294         (POLL_MSG): Likewise.
39295         (POLL_ERR): Likewise.
39296         (POLL_PRI): Likewise.
39297         (POLL_HUP): Likewise.
39298         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39299         (ILL_ILLOPN): Likewise.
39300         (ILL_ILLADR): Likewise.
39301         (ILL_ILLTRP): Likewise.
39302         (ILL_PRVOPC): Likewise.
39303         (ILL_PRVREG): Likewise.
39304         (ILL_COPROC): Likewise.
39305         (ILL_BADSTK): Likewise.
39306         (FPE_INTDIV): Likewise.
39307         (FPE_INTOVF): Likewise.
39308         (FPE_FLTDIV): Likewise.
39309         (FPE_FLTOVF): Likewise.
39310         (FPE_FLTUND): Likewise.
39311         (FPE_FLTRES): Likewise.
39312         (FPE_FLTINV): Likewise.
39313         (FPE_FLTSUB): Likewise.
39314         (SEGV_MAPERR): Likewise.
39315         (SEGV_ACCERR): Likewise.
39316         (BUS_ADRALN): Likewise.
39317         (BUS_ADRERR): Likewise.
39318         (BUS_OBJERR): Likewise.
39319         (BUS_MCEERR_AR): Likewise.
39320         (BUS_MCEERR_AO): Likewise.
39321         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39322         (TRAP_TRACE): Likewise.
39323         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39324         __USE_XOPEN2K8].
39325         (CLD_KILLED): Likewise.
39326         (CLD_DUMPED): Likewise.
39327         (CLD_TRAPPED): Likewise.
39328         (CLD_STOPPED): Likewise.
39329         (CLD_CONTINUED): Likewise.
39330         (POLL_IN): Likewise.
39331         (POLL_OUT): Likewise.
39332         (POLL_MSG): Likewise.
39333         (POLL_ERR): Likewise.
39334         (POLL_PRI): Likewise.
39335         (POLL_HUP): Likewise.
39336         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39337         (ILL_ILLOPN): Likewise.
39338         (ILL_ILLADR): Likewise.
39339         (ILL_ILLTRP): Likewise.
39340         (ILL_PRVOPC): Likewise.
39341         (ILL_PRVREG): Likewise.
39342         (ILL_COPROC): Likewise.
39343         (ILL_BADSTK): Likewise.
39344         (FPE_INTDIV): Likewise.
39345         (FPE_INTOVF): Likewise.
39346         (FPE_FLTDIV): Likewise.
39347         (FPE_FLTOVF): Likewise.
39348         (FPE_FLTUND): Likewise.
39349         (FPE_FLTRES): Likewise.
39350         (FPE_FLTINV): Likewise.
39351         (FPE_FLTSUB): Likewise.
39352         (SEGV_MAPERR): Likewise.
39353         (SEGV_ACCERR): Likewise.
39354         (BUS_ADRALN): Likewise.
39355         (BUS_ADRERR): Likewise.
39356         (BUS_OBJERR): Likewise.
39357         (BUS_MCEERR_AR): Likewise.
39358         (BUS_MCEERR_AO): Likewise.
39359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39360         (TRAP_TRACE): Likewise.
39361         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39362         __USE_XOPEN2K8].
39363         (CLD_KILLED): Likewise.
39364         (CLD_DUMPED): Likewise.
39365         (CLD_TRAPPED): Likewise.
39366         (CLD_STOPPED): Likewise.
39367         (CLD_CONTINUED): Likewise.
39368         (POLL_IN): Likewise.
39369         (POLL_OUT): Likewise.
39370         (POLL_MSG): Likewise.
39371         (POLL_ERR): Likewise.
39372         (POLL_PRI): Likewise.
39373         (POLL_HUP): Likewise.
39374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): 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         (FPE_INTDIV): Likewise.
39383         (FPE_INTOVF): Likewise.
39384         (FPE_FLTDIV): Likewise.
39385         (FPE_FLTOVF): Likewise.
39386         (FPE_FLTUND): Likewise.
39387         (FPE_FLTRES): Likewise.
39388         (FPE_FLTINV): Likewise.
39389         (FPE_FLTSUB): Likewise.
39390         (SEGV_MAPERR): Likewise.
39391         (SEGV_ACCERR): Likewise.
39392         (BUS_ADRALN): Likewise.
39393         (BUS_ADRERR): Likewise.
39394         (BUS_OBJERR): Likewise.
39395         (BUS_MCEERR_AR): Likewise.
39396         (BUS_MCEERR_AO): Likewise.
39397         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39398         (TRAP_TRACE): Likewise.
39399         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39400         __USE_XOPEN2K8].
39401         (CLD_KILLED): Likewise.
39402         (CLD_DUMPED): Likewise.
39403         (CLD_TRAPPED): Likewise.
39404         (CLD_STOPPED): Likewise.
39405         (CLD_CONTINUED): Likewise.
39406         (POLL_IN): Likewise.
39407         (POLL_OUT): Likewise.
39408         (POLL_MSG): Likewise.
39409         (POLL_ERR): Likewise.
39410         (POLL_PRI): Likewise.
39411         (POLL_HUP): Likewise.
39412         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39413         (ILL_ILLOPN): Likewise.
39414         (ILL_ILLADR): Likewise.
39415         (ILL_ILLTRP): Likewise.
39416         (ILL_PRVOPC): Likewise.
39417         (ILL_PRVREG): Likewise.
39418         (ILL_COPROC): Likewise.
39419         (ILL_BADSTK): Likewise.
39420         (ILL_DBLFLT): Likewise.
39421         (ILL_HARDWALL): Likewise.
39422         (FPE_INTDIV): Likewise.
39423         (FPE_INTOVF): Likewise.
39424         (FPE_FLTDIV): Likewise.
39425         (FPE_FLTOVF): Likewise.
39426         (FPE_FLTUND): Likewise.
39427         (FPE_FLTRES): Likewise.
39428         (FPE_FLTINV): Likewise.
39429         (FPE_FLTSUB): Likewise.
39430         (SEGV_MAPERR): Likewise.
39431         (SEGV_ACCERR): Likewise.
39432         (BUS_ADRALN): Likewise.
39433         (BUS_ADRERR): Likewise.
39434         (BUS_OBJERR): Likewise.
39435         (BUS_MCEERR_AR): Likewise.
39436         (BUS_MCEERR_AO): Likewise.
39437         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39438         (TRAP_TRACE): Likewise.
39439         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39440         __USE_XOPEN2K8].
39441         (CLD_KILLED): Likewise.
39442         (CLD_DUMPED): Likewise.
39443         (CLD_TRAPPED): Likewise.
39444         (CLD_STOPPED): Likewise.
39445         (CLD_CONTINUED): Likewise.
39446         (POLL_IN): Likewise.
39447         (POLL_OUT): Likewise.
39448         (POLL_MSG): Likewise.
39449         (POLL_ERR): Likewise.
39450         (POLL_PRI): Likewise.
39451         (POLL_HUP): Likewise.
39452         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39453         (ILL_ILLOPN): Likewise.
39454         (ILL_ILLADR): Likewise.
39455         (ILL_ILLTRP): Likewise.
39456         (ILL_PRVOPC): Likewise.
39457         (ILL_PRVREG): Likewise.
39458         (ILL_COPROC): Likewise.
39459         (ILL_BADSTK): Likewise.
39460         (FPE_INTDIV): Likewise.
39461         (FPE_INTOVF): Likewise.
39462         (FPE_FLTDIV): Likewise.
39463         (FPE_FLTOVF): Likewise.
39464         (FPE_FLTUND): Likewise.
39465         (FPE_FLTRES): Likewise.
39466         (FPE_FLTINV): Likewise.
39467         (FPE_FLTSUB): Likewise.
39468         (SEGV_MAPERR): Likewise.
39469         (SEGV_ACCERR): Likewise.
39470         (BUS_ADRALN): Likewise.
39471         (BUS_ADRERR): Likewise.
39472         (BUS_OBJERR): Likewise.
39473         (BUS_MCEERR_AR): Likewise.
39474         (BUS_MCEERR_AO): Likewise.
39475         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39476         (TRAP_TRACE): Likewise.
39477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39478         __USE_XOPEN2K8].
39479         (CLD_KILLED): Likewise.
39480         (CLD_DUMPED): Likewise.
39481         (CLD_TRAPPED): Likewise.
39482         (CLD_STOPPED): Likewise.
39483         (CLD_CONTINUED): Likewise.
39484         (POLL_IN): Likewise.
39485         (POLL_OUT): Likewise.
39486         (POLL_MSG): Likewise.
39487         (POLL_ERR): Likewise.
39488         (POLL_PRI): Likewise.
39489         (POLL_HUP): Likewise.
39490         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39491         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39493         [BZ #16670]
39494         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39495         before #include of <time.h>.
39496         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39497         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39498         (test-xfail-UNIX98/sched.h/conform): Likewise.
39500 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39502         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39503         error absence of trapping exception support.
39504         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39506 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39508         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39509         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39510         * timezone/Makefile (testdata): Move definition above include of
39511         Rules.
39512         (test-zones): New variable.
39513         (tests-special): Add zone files.
39514         (build-testdata): Use $(evaluate-test).
39516         * elf/Makefile (tests-special): Rename tests to end with .out.
39517         ($(objpfx)noload-mem): Likewise.
39518         ($(objpfx)tst-leaks1-mem): Likewise.
39519         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39520         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39521         $(objpfx)test-iconvconfig.out.
39522         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39523         set -e inside subshell and redirect output to file.
39524         * iconvdata/Makefile (generated): Rename tests to end with .out.
39525         Correct type.
39526         (tests-special): Rename tests to end with .out.
39527         ($(objpfx)mtrace-tst-loading): Likewise.
39528         * intl/Makefile (generated): Likewise.
39529         (tests-special): Likewise.
39530         ($(objpfx)mtrace-tst-gettext): Likewise.
39531         * misc/Makefile (generated): Likewise.
39532         (tests-special): Likewise.
39533         ($(objpfx)tst-error1-mem): Likewise.
39534         * nptl/Makefile (tests-special): Likewise.
39535         ($(objpfx)tst-stack3-mem): Likewise.
39536         (generated): Likewise.
39537         * posix/Makefile (generated): Likewise.
39538         (tests-special): Likewise.
39539         (xtests-special): Likewise.
39540         ($(objpfx)tst-fnmatch-mem): Likewise.
39541         ($(objpfx)bug-regex2-mem): Likewise.
39542         ($(objpfx)bug-regex14-mem): Likewise.
39543         ($(objpfx)bug-regex21-mem): Likewise.
39544         ($(objpfx)bug-regex31-mem): Likewise.
39545         ($(objpfx)tst-vfork3-mem): Likewise.
39546         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39547         ($(objpfx)tst-pcre-mem): Likewise.
39548         ($(objpfx)tst-boost-mem): Likewise.
39549         ($(objpfx)bug-ga2-mem): Likewise.
39550         ($(objpfx)bug-glob2-mem): Likewise.
39551         * resolv/Makefile (generate): Likewise.
39552         (tests-special): Likewise.
39553         (xtests-special): Likewise.
39554         (generated): Likewise.
39555         ($(objpfx)mtrace-tst-leaks): Likewise.
39556         ($(objpfx)mtrace-tst-leaks2): Likewise.
39558         * scripts/merge-test-results.sh: New file.
39559         * Makefile (tests-special-notdir): New variable.
39560         (tests): Run merge-test-results.sh.
39561         (xtests): Likewise.
39562         * Rules (tests-special-notdir): New variable.
39563         (xtests-special-notdir): Likewise.
39564         (tests): Run merge-test-results.sh
39565         (xtests): Likewise.
39567         * Makeconfig (test-xfail-name): New variable.
39568         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39569         compute variable name for expected failures.
39570         * conform/Makefile (conformtest-headers-data): New variable.
39571         (conformtest-standards): Likewise.
39572         (conformtest-headers-ISO): Likewise.
39573         (conformtest-headers-ISO99): Likewise.
39574         (conformtest-headers-ISO11): Likewise.
39575         (conformtest-headers-POSIX): Likewise.
39576         (conformtest-headers-XPG3): Likewise.
39577         (conformtest-headers-XPG4): Likewise.
39578         (conformtest-headers-UNIX98): Likewise.
39579         (conformtest-headers-XOPEN2K): Likewise.
39580         (conformtest-headers-POSIX2008): Likewise.
39581         (conformtest-headers-XOPEN2K8): Likewise.
39582         (conformtest-header-list-base): Likewise.
39583         (conformtest-header-list-tests): Likewise.
39584         (conformtest-header-base): Likewise.
39585         (conformtest-header-tests): Likewise.
39586         (tests-special): Add $(conformtest-header-list-tests).  If
39587         [$(fast-check) && !$(cross-compiling)], add
39588         $(conformtest-header-tests) instead of
39589         $(objpfx)run-conformtest.out.
39590         (generated): Add $(conformtest-header-list-base).  If
39591         [$(fast-check) && !$(cross-compiling)], add
39592         $(conformtest-header-base).  Remove previous setting.
39593         ($(conformtest-header-list-tests)): New target.
39594         (test-xfail-run-conformtest): Remove variable.
39595         ($(objpfx)run-conformtest.out): Remove target.
39596         (test-xfail-ISO11/complex.h/conform): New variable.
39597         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39598         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39599         (test-xfail-XPG3/varargs.h/conform): Likewise.
39600         (test-xfail-XPG4/varargs.h/conform): Likewise.
39601         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39602         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39603         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39604         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39605         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39606         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39607         (test-xfail-XPG3/ftw.h/conform): Likewise.
39608         (test-xfail-XPG3/grp.h/conform): Likewise.
39609         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39610         (test-xfail-XPG3/limits.h/conform): Likewise.
39611         (test-xfail-XPG3/pwd.h/conform): Likewise.
39612         (test-xfail-XPG3/search.h/conform): Likewise.
39613         (test-xfail-XPG3/signal.h/conform): Likewise.
39614         (test-xfail-XPG3/stdio.h/conform): Likewise.
39615         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39616         (test-xfail-XPG3/string.h/conform): Likewise.
39617         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39618         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39619         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39620         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39621         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39622         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39623         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39624         (test-xfail-XPG3/termios.h/conform): Likewise.
39625         (test-xfail-XPG3/time.h/conform): Likewise.
39626         (test-xfail-XPG3/unistd.h/conform): Likewise.
39627         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39628         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39629         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39630         (test-xfail-XPG4/netdb.h/conform): Likewise.
39631         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39632         (test-xfail-XPG4/signal.h/conform): Likewise.
39633         (test-xfail-XPG4/stdio.h/conform): Likewise.
39634         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39635         (test-xfail-XPG4/stropts.h/conform): Likewise.
39636         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39637         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39638         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39639         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39640         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39641         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39642         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39643         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39644         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39645         (test-xfail-XPG4/termios.h/conform): Likewise.
39646         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39647         (test-xfail-XPG4/unistd.h/conform): Likewise.
39648         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39649         (test-xfail-POSIX/sched.h/conform): Likewise.
39650         (test-xfail-POSIX/signal.h/conform): Likewise.
39651         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39652         (test-xfail-POSIX/tar.h/conform): Likewise.
39653         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39654         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39655         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39656         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39657         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39658         (test-xfail-UNIX98/sched.h/conform): Likewise.
39659         (test-xfail-UNIX98/signal.h/conform): Likewise.
39660         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39661         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39662         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39663         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39664         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39665         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39666         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39667         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39668         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39669         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39670         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39671         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39672         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39673         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39674         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39675         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39676         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39677         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39678         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39679         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39680         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39681         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39682         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39683         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39684         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39685         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39686         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39687         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39688         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39689         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39690         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39691         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39692         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39693         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39694         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39695         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39696         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39697         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39698         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39699         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39700         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39701         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39702         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39703         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39704         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39705         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39706         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39707         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39708         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39709         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39710         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39711         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39712         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39713         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39714         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39715         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39716         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39717         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39718         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39719         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39720         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39721         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39722         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39723         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39724         (conformtest-cc-flags): Likewise.
39725         ($(conformtest-header-tests): New target.
39726         * conform/check-header-lists.sh: New file.
39727         * conform/run-conformtest.sh: Remove.
39729         * conform/conformtest.pl: Allow ' and \ in values given for
39730         constants.
39731         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39732         inclusion.
39733         [POSIX] (sys/types.h): Likewise.
39734         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39735         inclusion.
39736         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39737         inclusion.
39738         * conform/data/signal.h-data (SIGIO): Remove expectation.
39739         [XPG3] (SIGBUS): Do not expect.
39740         [POSIX || XPG3] (SIGPOLL): Likewise.
39741         [POSIX || XPG3] (SIGPROF): Likewise.
39742         [POSIX || XPG3] (SIGSYS): Likewise.
39743         [XPG3] (SIGTRAP): Likewise.
39744         [POSIX || XPG3] (SIGURG): Likewise.
39745         [POSIX || XPG3] (SIGVTALRM): Likewise.
39746         [POSIX || XPG3] (SIGXCPU): Likewise.
39747         [POSIX || XPG3] (SIGXFSZ): Likewise.
39748         [POSIX] (SA_SIGINFO): Expect.
39749         [XPG3] (siginfo_t): Do not expect type or contents.
39750         [POSIX] (si_pid): Do not expect element.
39751         [POSIX] (si_uid): Likewise.
39752         [POSIX] (si_addr): Likewise.
39753         [POSIX] (si_status): Likewise.
39754         [POSIX] (si_band): Likewise.
39755         [XPG4] (si_value): Likewise.
39756         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39757         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39758         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39759         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39760         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39761         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39762         [POSIX || XPG3] (ILL_COPROC): Likewise.
39763         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39764         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39765         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39766         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39767         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39768         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39769         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39770         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39771         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39772         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39773         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39774         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39775         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39776         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39777         [POSIX || XPG3] (CLD_EXITED): Likewise.
39778         [POSIX || XPG3] (CLD_KILLED): Likewise.
39779         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39780         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39781         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39782         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39783         [POSIX || XPG3] (POLL_IN): Likewise.
39784         [POSIX || XPG3] (POLL_OUT): Likewise.
39785         [POSIX || XPG3] (POLL_MSG): Likewise.
39786         [POSIX || XPG3] (POLL_ERR): Likewise.
39787         [POSIX || XPG3] (POLL_PRI): Likewise.
39788         [POSIX || XPG3] (POLL_HUP): Likewise.
39789         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39790         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39791         (SIG*): Do not allow.
39792         [XPG3] (si_*): Likewise.
39793         [XPG3] (SI_*): Likewise.
39794         [XPG3 || XPG4] (sigev_*): Likewise.
39795         [XPG3 || XPG4] (SIGEV_*): Likewise.
39796         [XPG3 || XPG4] (sival_*): Likewise.
39797         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39798         [POSIX || XPG3] (BUS_*): Likewise.
39799         [POSIX || XPG3] (CLD_*): Likewise.
39800         [POSIX || XPG3] (FPE_*): Likewise.
39801         [POSIX || XPG3] (ILL_*): Likewise.
39802         [POSIX || XPG3] (POLL_*): Likewise.
39803         [POSIX || XPG3] (SEGV_*): Likewise.
39804         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39805         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39806         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39807         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39808         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39809         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39810         Specify type and value.
39811         (TVERSLEN): Likewise.
39812         (REGTYPE): Likewise.
39813         (AREGTYPE): Likewise.
39814         (LNKTYPE): Likewise.
39815         (SYMTYPE): Likewise.
39816         (CHRTYPE): Likewise.
39817         (BLKTYPE): Likewise.
39818         (DIRTYPE): Likewise.
39819         (FIFOTYPE): Likewise.
39820         (CONTTYPE): Likewise.
39821         (TSUID): Likewise.
39822         (TSGID): Likewise.
39823         (TSVTX): Likewise.
39824         (TUREAD): Likewise.
39825         (TUWRITE): Likewise.
39826         (TUEXEC): Likewise.
39827         (TGREAD): Likewise.
39828         (TGWRITE): Likewise.
39829         (TGEXEC): Likewise.
39830         (TOREAD): Likewise.
39831         (TOWRITE): Likewise.
39832         (TOEXEC): Likewise.
39833         [POSIX] (TSVTX): Expect constant.
39835 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39837         * Makefile (tests): Change dependencies to ....
39838         (tests-special): ... additions to this variable.
39839         (tests): Depend on $(tests-special).
39840         * Makerules (check-abi-list): New variable.
39841         (check-abi): Depend on $(check-abi-list).
39842         [$(subdir) = elf] (tests-special): Add
39843         $(objpfx)check-abi-libc.out.
39844         [$(build-shared) = yes && subdir] (tests-special): Add
39845         $(check-abi-list).
39846         [$(build-shared) = yes && subdir] (tests): Do not depend on
39847         check-abi.
39848         * Rules (tests): Depend on $(tests-special).
39849         (xtests): Depend on $(xtests-special).
39850         * catgets/Makefile (tests): Change dependencies to ....
39851         (tests-special): ... additions to this variable.
39852         * conform/Makefile (tests): Change dependencies to ....
39853         (tests-special): ... additions to this variable.
39854         * elf/Makefile (tests): Change dependencies to ....
39855         (tests-special): ... additions to this variable.
39856         * grp/Makefile (tests): Change dependencies to ....
39857         (tests-special): ... additions to this variable.
39858         * iconv/Makefile (xtests): Change dependencies to ....
39859         (xtests-special): ... additions to this variable.
39860         * iconvdata/Makefile (tests): Change dependencies to ....
39861         (tests-special): ... additions to this variable.
39862         * intl/Makefile (tests): Change dependencies to ....
39863         (tests-special): ... additions to this variable.  Also add
39864         $(objpfx)tst-gettext.out.
39865         * io/Makefile (tests): Change dependencies to ....
39866         (tests-special): ... additions to this variable.
39867         * libio/Makefile (tests): Change dependencies to ....
39868         (tests-special): ... additions to this variable.
39869         * malloc/Makefile (tests): Change dependencies to ....
39870         (tests-special): ... additions to this variable.
39871         * misc/Makefile (tests): Change dependencies to ....
39872         (tests-special): ... additions to this variable.
39873         * nptl/Makefile (tests): Change dependencies to ....
39874         (tests-special): ... additions to this variable.
39875         * nptl_db/Makefile (tests): Change dependencies to ....
39876         (tests-special): ... additions to this variable.
39877         * posix/Makefile (tests): Change dependencies to ....
39878         (tests-special): ... additions to this variable.
39879         (xtests): Change dependencies to ....
39880         (xtests-special): ... additions to this variable.
39881         * resolv/Makefile (tests): Change dependencies to ....
39882         (tests-special): ... additions to this variable.
39883         (xtests): Change dependencies to ....
39884         (xtests-special): ... additions to this variable.
39885         * stdio-common/Makefile (tests): Change dependencies to ....
39886         (tests-special): ... additions to this variable.
39887         (do-tst-unbputc): Remove target.
39888         (do-tst-printf): Likewise.
39889         * stdlib/Makefile (tests): Change dependencies to ....
39890         (tests-special): ... additions to this variable.
39891         * string/Makefile (tests): Change dependencies to ....
39892         (tests-special): ... additions to this variable.
39893         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39894         (tests-special): ... additions to this variable.
39896         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39897         whole file.
39898         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39899         whole file.
39900         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39901         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39903         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39904         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39905         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39906         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39907         * conform/data/libgen.h-data [XPG3]: Likewise.
39908         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39909         * conform/data/ndbm.h-data [XPG3]: Likewise.
39910         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39911         * conform/data/netdb.h-data [XPG3]: Likewise.
39912         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39913         * conform/data/poll.h-data [XPG3]: Likewise.
39914         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39915         * conform/data/strings.h-data [XPG3]: Likewise.
39916         * conform/data/stropts.h-data [XPG3]: Likewise.
39917         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39918         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39919         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39920         Likewise.
39921         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39922         * conform/data/sys/time.h-data [XPG3]: Likewise.
39923         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39924         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39925         * conform/data/sys/un.h-data [XPG3]: Likewise.
39926         * conform/data/syslog.h-data [XPG3]: Likewise.
39927         * conform/data/ucontext.h-data [XPG3]: Likewise.
39928         * conform/data/utmpx.h-data [XPG3]: Likewise.
39929         * conform/data/varargs.h-data [UNIX98]: Enable file.
39931         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39933         * math/libm-test.inc (struct test_f_f_data): Move expected results
39934         into structure for each rounding mode.
39935         (struct test_ff_f_data): Likewise.
39936         (struct test_ff_f_data_nexttoward): Likewise.
39937         (struct test_fi_f_data): Likewise.
39938         (struct test_fl_f_data): Likewise.
39939         (struct test_if_f_data): Likewise.
39940         (struct test_fff_f_data): Likewise.
39941         (struct test_c_f_data): Likewise.
39942         (struct test_f_f1_data): Likewise.
39943         (struct test_fF_f1_data): Likewise.
39944         (struct test_ffI_f1_data): Likewise.
39945         (struct test_c_c_data): Likewise.
39946         (struct test_cc_c_data): Likewise.
39947         (struct test_f_i_data): Likewise.
39948         (struct test_ff_i_data): Likewise.
39949         (struct test_f_l_data): Likewise.
39950         (struct test_f_L_data): Likewise.
39951         (struct test_fFF_11_data): Likewise.
39952         (RM_): New macro.
39953         (RM_FE_DOWNWARD): Likewise.
39954         (RM_FE_TONEAREST): Likewise.
39955         (RM_FE_TOWARDZERO): Likewise.
39956         (RM_FE_UPWARD): Likewise.
39957         (RUN_TEST_LOOP_f_f): Update references to expected results.
39958         (RUN_TEST_LOOP_2_f): Likewise.
39959         (RUN_TEST_LOOP_fff_f): Likewise.
39960         (RUN_TEST_LOOP_c_f): Likewise.
39961         (RUN_TEST_LOOP_f_f1): Likewise.
39962         (RUN_TEST_LOOP_fF_f1): Likewise.
39963         (RUN_TEST_LOOP_fI_f1): Likewise.
39964         (RUN_TEST_LOOP_ffI_f1): Likewise.
39965         (RUN_TEST_LOOP_c_c): Likewise.
39966         (RUN_TEST_LOOP_cc_c): Likewise.
39967         (RUN_TEST_LOOP_f_i): Likewise.
39968         (RUN_TEST_LOOP_f_i_tg): Likewise.
39969         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39970         (RUN_TEST_LOOP_f_b): Likewise.
39971         (RUN_TEST_LOOP_f_b_tg): Likewise.
39972         (RUN_TEST_LOOP_f_l): Likewise.
39973         (RUN_TEST_LOOP_f_L): Likewise.
39974         (RUN_TEST_LOOP_fFF_11): Likewise.
39975         * math/gen-libm-test.pl (parse_args): Output four copies of
39976         expected results for each test.
39978         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39979         (__ASSUME_UTIMES): Remove.
39980         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39981         (__ASSUME_UTIMES): Likewise.
39983         * math/gen-auto-libm-tests.c: Update comment on output format.
39984         (output_for_one_input_case): Generate before-rounding and
39985         after-rounding information as conditions on output flags not
39986         floating-point format.
39987         * math/auto-libm-test-out: Regenerated.
39988         * math/gen-libm-test.pl (cond_value): New function.
39989         (or_cond_value): Use cond_value.
39990         (generate_testfile): Handle conditional exceptions.
39992 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39994         * math/libm-test.inc (max_valid_error): New variable.
39995         (init_max_error): Take new argument specifying whether function
39996         results are exactly determined.  Set max_valid_error and bound
39997         other variables for errors based on this argument.
39998         (set_max_error): Do not record results above max_valid_error.
39999         (check_float_internal): Only accept errors of up to 0.5ulps if
40000         also at most max_valid_error.
40001         (START): Take new argument EXACT and pass it to init_max_error.
40002         (acos_test): Update call to START.
40003         (acos_test_tonearest): Likewise.
40004         (acos_test_towardzero): Likewise.
40005         (acos_test_downward): Likewise.
40006         (acos_test_upward): Likewise.
40007         (acosh_test): Likewise.
40008         (asin_test): Likewise.
40009         (asin_test_tonearest): Likewise.
40010         (asin_test_towardzero): Likewise.
40011         (asin_test_downward): Likewise.
40012         (asin_test_upward): Likewise.
40013         (asinh_test): Likewise.
40014         (atan_test): Likewise.
40015         (atanh_test): Likewise.
40016         (atan2_test): Likewise.
40017         (cabs_test): Likewise.
40018         (cacos_test): Likewise.
40019         (cacosh_test): Likewise.
40020         (carg_test): Likewise.
40021         (casin_test): Likewise.
40022         (casinh_test): Likewise.
40023         (catan_test): Likewise.
40024         (catanh_test): Likewise.
40025         (cbrt_test): Likewise.
40026         (ccos_test): Likewise.
40027         (ccosh_test): Likewise.
40028         (ceil_test): Likewise.
40029         (cexp_test): Likewise.
40030         (cimag_test): Likewise.
40031         (clog_test): Likewise.
40032         (clog10_test): Likewise.
40033         (conj_test): Likewise.
40034         (copysign_test): Likewise.
40035         (cos_test): Likewise.
40036         (cos_test_tonearest): Likewise.
40037         (cos_test_towardzero): Likewise.
40038         (cos_test_downward): Likewise.
40039         (cos_test_upward): Likewise.
40040         (cosh_test): Likewise.
40041         (cosh_test_tonearest): Likewise.
40042         (cosh_test_towardzero): Likewise.
40043         (cosh_test_downward): Likewise.
40044         (cosh_test_upward): Likewise.
40045         (cpow_test): Likewise.
40046         (cproj_test): Likewise.
40047         (creal_test): Likewise.
40048         (csin_test): Likewise.
40049         (csinh_test): Likewise.
40050         (csqrt_test): Likewise.
40051         (ctan_test): Likewise.
40052         (ctan_test_tonearest): Likewise.
40053         (ctan_test_towardzero): Likewise.
40054         (ctan_test_downward): Likewise.
40055         (ctan_test_upward): Likewise.
40056         (ctanh_test): Likewise.
40057         (ctanh_test_tonearest): Likewise.
40058         (ctanh_test_towardzero): Likewise.
40059         (ctanh_test_downward): Likewise.
40060         (ctanh_test_upward): Likewise.
40061         (erf_test): Likewise.
40062         (erfc_test): Likewise.
40063         (exp_test): Likewise.
40064         (exp_test_tonearest): Likewise.
40065         (exp_test_towardzero): Likewise.
40066         (exp_test_downward): Likewise.
40067         (exp_test_upward): Likewise.
40068         (exp10_test): Likewise.
40069         (exp10_test_tonearest): Likewise.
40070         (exp10_test_towardzero): Likewise.
40071         (exp10_test_downward): Likewise.
40072         (exp10_test_upward): Likewise.
40073         (pow10_test): Likewise.
40074         (exp2_test): Likewise.
40075         (expm1_test): Likewise.
40076         (expm1_test_tonearest): Likewise.
40077         (expm1_test_towardzero): Likewise.
40078         (expm1_test_downward): Likewise.
40079         (expm1_test_upward): Likewise.
40080         (fabs_test): Likewise.
40081         (fdim_test): Likewise.
40082         (floor_test): Likewise.
40083         (fma_test): Likewise.
40084         (fma_test_towardzero): Likewise.
40085         (fma_test_downward): Likewise.
40086         (fma_test_upward): Likewise.
40087         (fmax_test): Likewise.
40088         (fmin_test): Likewise.
40089         (fmod_test): Likewise.
40090         (fpclassify_test): Likewise.
40091         (frexp_test): Likewise.
40092         (hypot_test): Likewise.
40093         (ilogb_test): Likewise.
40094         (isfinite_test): Likewise.
40095         (finite_test): Likewise.
40096         (isgreater_test): Likewise.
40097         (isgreaterequal_test): Likewise.
40098         (isinf_test): Likewise.
40099         (isless_test): Likewise.
40100         (islessequal_test): Likewise.
40101         (islessgreater_test): Likewise.
40102         (isnan_test): Likewise.
40103         (isnormal_test): Likewise.
40104         (issignaling_test): Likewise.
40105         (isunordered_test): Likewise.
40106         (j0_test): Likewise.
40107         (j1_test): Likewise.
40108         (jn_test): Likewise.
40109         (ldexp_test): Likewise.
40110         (lgamma_test): Likewise.
40111         (gamma_test): Likewise.
40112         (lrint_test): Likewise.
40113         (lrint_test_tonearest): Likewise.
40114         (lrint_test_towardzero): Likewise.
40115         (lrint_test_downward): Likewise.
40116         (lrint_test_upward): Likewise.
40117         (llrint_test): Likewise.
40118         (llrint_test_tonearest): Likewise.
40119         (llrint_test_towardzero): Likewise.
40120         (llrint_test_downward): Likewise.
40121         (llrint_test_upward): Likewise.
40122         (log_test): Likewise.
40123         (log10_test): Likewise.
40124         (log1p_test): Likewise.
40125         (log2_test): Likewise.
40126         (logb_test): Likewise.
40127         (logb_test_downward): Likewise.
40128         (lround_test): Likewise.
40129         (llround_test): Likewise.
40130         (modf_test): Likewise.
40131         (nearbyint_test): Likewise.
40132         (nextafter_test): Likewise.
40133         (nexttoward_test): Likewise.
40134         (pow_test): Likewise.
40135         (pow_test_tonearest): Likewise.
40136         (pow_test_towardzero): Likewise.
40137         (pow_test_downward): Likewise.
40138         (pow_test_upward): Likewise.
40139         (remainder_test): Likewise.
40140         (drem_test): Likewise.
40141         (remainder_test_tonearest): Likewise.
40142         (drem_test_tonearest): Likewise.
40143         (remainder_test_towardzero): Likewise.
40144         (drem_test_towardzero): Likewise.
40145         (remainder_test_downward): Likewise.
40146         (drem_test_downward): Likewise.
40147         (remainder_test_upward): Likewise.
40148         (drem_test_upward): Likewise.
40149         (remquo_test): Likewise.
40150         (rint_test): Likewise.
40151         (rint_test_tonearest): Likewise.
40152         (rint_test_towardzero): Likewise.
40153         (rint_test_downward): Likewise.
40154         (rint_test_upward): Likewise.
40155         (round_test): Likewise.
40156         (scalb_test): Likewise.
40157         (scalbn_test): Likewise.
40158         (scalbln_test): Likewise.
40159         (signbit_test): Likewise.
40160         (sin_test): Likewise.
40161         (sin_test_tonearest): Likewise.
40162         (sin_test_towardzero): Likewise.
40163         (sin_test_downward): Likewise.
40164         (sin_test_upward): Likewise.
40165         (sincos_test): Likewise.
40166         (sinh_test): Likewise.
40167         (sinh_test_tonearest): Likewise.
40168         (sinh_test_towardzero): Likewise.
40169         (sinh_test_downward): Likewise.
40170         (sinh_test_upward): Likewise.
40171         (sqrt_test): Likewise.
40172         (sqrt_test_tonearest): Likewise.
40173         (sqrt_test_towardzero): Likewise.
40174         (sqrt_test_downward): Likewise.
40175         (sqrt_test_upward): Likewise.
40176         (tan_test): Likewise.
40177         (tan_test_tonearest): Likewise.
40178         (tan_test_towardzero): Likewise.
40179         (tan_test_downward): Likewise.
40180         (tan_test_upward): Likewise.
40181         (tanh_test): Likewise.
40182         (tgamma_test): Likewise.
40183         (trunc_test): Likewise.
40184         (y0_test): Likewise.
40185         (y1_test): Likewise.
40186         (yn_test): Likewise.
40187         (significand_test): Likewise.
40189         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40190         individual tests in comment.
40191         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40192         (prev_max_error): New variable.
40193         (prev_real_max_error): Likewise.
40194         (prev_imag_max_error): Likewise.
40195         (compare_ulp_data): Don't refer to test names in comment.
40196         (find_test_ulps): Remove function.
40197         (find_function_ulps): Likewise.
40198         (find_complex_function_ulps): Likewise.
40199         (init_max_error): Take function name as argument.  Look up ulps
40200         for that function.
40201         (print_ulps): Remove function.
40202         (print_max_error): Use prev_max_error instead of calling
40203         find_function_ulps.
40204         (print_complex_max_error): Use prev_real_max_error and
40205         prev_imag_max_error instead of calling find_complex_function_ulps.
40206         (check_float_internal): Take max_ulp parameter instead of calling
40207         find_test_ulps.  Don't call print_ulps.
40208         (check_float): Update call to check_float_internal.
40209         (check_complex): Update calls to check_float_internal.
40210         (START): Pass argument to init_max_error.
40211         * math/gen-libm-test.pl (%results): Don't include "kind"
40212         information.
40213         (parse_ulps): Don't handle ulps of individual tests.
40214         (print_ulps_file): Likewise.
40215         (output_ulps): Likewise.
40216         * math/README.libm-test: Update.
40217         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40218         individual tests.
40219         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40220         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40221         * sysdeps/arm/libm-test-ulps: Likewise.
40222         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40223         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40224         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40225         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40226         * sysdeps/microblaze/libm-test-ulps: Likewise.
40227         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40228         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40229         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40230         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40231         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40232         * sysdeps/sh/libm-test-ulps: Likewise.
40233         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40234         * sysdeps/tile/libm-test-ulps: Likewise.
40235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40237 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40239         * math/libm-test.inc (print_complex_max_error): Check separately
40240         whether real and imaginary errors are within allowed range and
40241         pass 0 to print_complex_function_ulps instead of value within
40242         allowed range.
40244 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40246         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40247         formatting.
40248         (get_handles_fopen): Likewise.
40249         (do_write_test): Likewise.
40251         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40253         * libio/fileops.c (do_ftell): Use cached offset when
40254         available.
40255         * libio/iofwide.c (do_ftell_wide): Likewise.
40256         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40257         _IO_file_attach.
40258         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40260         [BZ #16532]
40261         * libio/libioP.h (get_file_offset): New function.
40262         * libio/fileops.c (get_file_offset): Likewise.
40263         (do_ftell): Likewise.
40264         (_IO_new_file_seekoff): Split out ftell logic.
40265         * libio/wfileops.c (do_ftell_wide): Likewise.
40266         (_IO_wfile_seekoff): Split out ftell logic.
40267         * libio/tst-ftell-active-handler.c: New test case.
40268         * libio/Makefile (tests): Add it.
40270 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40272         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40273         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40275 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40277         [BZ #16639]
40278         * nscd/connections.c (nscd_init): Call do_exit.
40279         (start_threads): Call do_exit and notify_parent.
40280         (begin_drop_privileges): Call do_exit.
40281         (finish_drop_privileges): Likewise.
40282         * nscd/selinux.c (preserve_capabilities): Likewise.
40283         (install_real_capabilities): Likewise.
40284         (nscd_selinux_enabled): Likewise.
40285         (avc_create_thread): Likewise.
40286         (avc_alloc_lock): Likewise.
40287         (nscd_avc_init): Likewise.
40288         * nscd/nscd.c (parent_fd): New static variable.
40289         (main): Create a pipe between parent and child processes.
40290         Skip closing parent_fd.
40291         (monitor_child): New function.
40292         (do_exit): Likewise.
40293         (notify_parent): Likewise.
40294         * nscd/nscd.h (notify_parent): Likewise.
40295         (do_exit): Likewise.
40297 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40299         * malloc/malloc.c (__libc_calloc): Revert last change.
40301 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40305 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40307         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40309         implementation.
40310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40311         (__libc_ifunc_impl_list): Likewise.
40312         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40313         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40314         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40315         * string/strrchr.c: Define STRRCHR.
40317 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40319         * benchtest/bench-strtok.c (simple_strtok): Delete.
40320         (strtok_string): Use as benchmark.
40321         * string/strtok (STRTOK): New macro.
40323 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40325         * manual/threads.texi: Add header and standard comments to all
40326         functions.
40328         * elf/dl-lookup.c (check_match): New function.
40329         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40330         (do_lookup_x): Remove nested function check_match. Use non-nested
40331         function check_match.
40333 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40335         * csu/Makefile (generated, before-compile): Use += rather than =.
40336         * catgets/Makefile (generated, generated-dirs): Likewise.
40337         * debug/Makefile (generated): Likewise.
40338         * dlfcn/Makefile (generated): Likewise.
40339         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40340         * iconvdata/Makefile (before-compile, generated): Likewise.
40341         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40342         * libio/Makefile (generated): Likewise.
40343         * malloc/Makefile (generated): Likewise.
40344         * manual/Makefile (generated, generated-dirs): Likewise.
40345         * misc/Makefile (generated): Likewise.
40346         * posix/Makefile (generated): Likewise.
40347         * resolv/Makefile (generated): Likewise.
40348         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40349         * timezone/Makefile (generated, generated-dirs): Likewise.
40351         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40353 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40356         power8 implementation.
40357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40358         file: POWER8 llround ifunc implementation.
40359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40360         (__lllround): Add POWER8 implementation.
40361         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40362         POWER8 llround implementation.
40364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40365         power8 implementation.
40366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40367         file: POWER8 llrint ifunc implementation.
40368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40369         Add POWER8 implementation.
40370         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40371         POWER8 llrint implementation.
40373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40374         power8 implementation.
40375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40376         file: POWER8 finite ifunc implementation.
40377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40378         Add POWER8 implementation.
40379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40380         Likewise.
40381         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40382         POWER8 finite implementation.
40383         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40386         power8 implementation.
40387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40388         file: POWER8 isinf ifunc implementation.
40389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40390         POWER8 implementation.
40391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40392         Likewise.
40393         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40394         isinf implementation.
40395         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40397         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40398         (INIT_ARCH): Add hwcap2 initialization.
40399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40400         power8 implementation.
40401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40402         file: POWER8 isnan ifunc implementation.
40403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40404         POWER8 implementation.
40405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40406         Likewise.
40407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40408         isnan implementation.
40409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40411 2014-02-27  Joey Ye  <joey.ye@arm.com>
40413         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40414         (_FP_NANFRAC_Q): Set to zero.
40416 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40418         [BZ #16623]
40419         * math/auto-libm-test-in: New test inputs.
40420         * math/auto-libm-test-out: Regenerate.
40421         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40422         and DA.
40423         (__cos): Likewise.
40424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40426 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40428         * scripts/evaluate-test.sh: Take new argument indicating whether
40429         failure is expected.
40430         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40431         indicating whether failure is expected.
40432         * conform/Makefile (test-xfail-run-conformtest): New variable.
40433         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40434         level.
40435         * posix/Makefile (test-xfail-annexc): New variable.
40436         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40438 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40440         * argp/Makefile: Include Makeconfig immediately after defining
40441         subdir.
40442         * assert/Makefile: Likewise.
40443         * benchtests/Makefile: Likewise.
40444         * catgets/Makefile: Likewise.
40445         * conform/Makefile: Likewise.
40446         * crypt/Makefile: Likewise.
40447         * csu/Makefile: Likewise.
40448         (all): Remove target.
40449         * ctype/Makefile: Include Makeconfig immediately after defining
40450         subdir.
40451         * debug/Makefile: Likewise.
40452         * dirent/Makefile: Likewise.
40453         * dlfcn/Makefile: Likewise.
40454         * gmon/Makefile: Likewise.
40455         * gnulib/Makefile: Likewise.
40456         * grp/Makefile: Likewise.
40457         * gshadow/Makefile: Likewise.
40458         * hesiod/Makefile: Likewise.
40459         * hurd/Makefile: Likewise.
40460         (all): Remove target.
40461         * iconvdata/Makefile: Include Makeconfig immediately after
40462         defining subdir.
40463         * inet/Makefile: Likewise.
40464         * intl/Makefile: Likewise.
40465         * io/Makefile: Likewise.
40466         * libio/Makefile: Likewise.
40467         (all): Remove target.
40468         * locale/Makefile: Include Makeconfig immediately after defining
40469         subdir.
40470         * login/Makefile: Likewise.
40471         * mach/Makefile: Likewise.
40472         (all): Remove target.
40473         * malloc/Makefile: Include Makeconfig immediately after defining
40474         subdir.
40475         (all): Remove target.
40476         * manual/Makefile: Include Makeconfig immediately after defining
40477         subdir.
40478         * math/Makefile: Likewise.
40479         * misc/Makefile: Likewise.
40480         * nis/Makefile: Likewise.
40481         * nss/Makefile: Likewise.
40482         * po/Makefile: Likewise.
40483         (all): Remove target.
40484         * posix/Makefile: Include Makeconfig immediately after defining
40485         subdir.
40486         * pwd/Makefile: Likewise.
40487         * resolv/Makefile: Likewise.
40488         * resource/Makefile: Likewise.
40489         * rt/Makefile: Likewise.
40490         * setjmp/Makefile: Likewise.
40491         * shadow/Makefile: Likewise.
40492         * signal/Makefile: Likewise.
40493         * socket/Makefile: Likewise.
40494         * soft-fp/Makefile: Likewise.
40495         * stdio-common/Makefile: Likewise.
40496         * stdlib/Makefile: Likewise.
40497         * streams/Makefile: Likewise.
40498         * string/Makefile: Likewise.
40499         * sunrpc/Makefile: Likewise.
40500         (all): Remove target.
40501         * sysvipc/Makefile: Include Makeconfig immediately after defining
40502         subdir.
40503         * termios/Makefile: Likewise.
40504         * time/Makefile: Likewise.
40505         * timezone/Makefile: Likewise.
40506         (all): Remove target.
40507         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40508         subdir.
40509         * wctype/Makefile: Likewise.
40511 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40513         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40514         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40515         (libc_feholdexcept_setround_mips): Ditto.
40516         (libc_feholdsetround): New.
40517         (libc_feholdsetroundf): New.
40518         (libc_feholdsetroundl): New.
40519         (libc_feupdateenv_test_mips): New.
40520         (libc_feupdateenv_test): New.
40521         (libc_feupdateenv_testf): New.
40522         (libc_feupdateenv_testl): New.
40523         (libc_feresetround): New.
40524         (libc_feresetroundf): New.
40525         (libc_feresetroundl): New.
40526         (libc_fetestexcept_mips): New.
40527         (libc_fetestexcept): New.
40528         (libc_fetestexceptf): New.
40529         (libc_fetestexceptl): New.
40530         (HAVE_RM_CTX): New.
40531         (libc_feholdexcept_setround_mips_ctx): New.
40532         (libc_feholdexcept_setround_ctx): New.
40533         (libc_feholdexcept_setroundf_ctx): New.
40534         (libc_feholdexcept_setroundl_ctx): New.
40535         (libc_fesetenv_mips_ctx): New.
40536         (libc_fesetenv_ctx): New.
40537         (libc_fesetenv_ctxf): New.
40538         (libc_fesetenv_ctxl): New.
40539         (libc_feupdateenv_mips_ctx): New.
40540         (libc_feupdateenv_ctx): New.
40541         (libc_feupdateenvf_ctx): New.
40542         (libc_feupdateenvl_ctx): New.
40543         (libc_feholdsetround_mips_ctx): New.
40544         (libc_feholdsetround_ctx): New.
40545         (libc_feholdsetroundf_ctx): New.
40546         (libc_feholdsetroundl_ctx): New.
40547         (libc_feresetround_mips_ctx): New.
40548         (libc_feresetround_ctx): New.
40549         (libc_feresetroundf_ctx): New.
40550         (libc_feresetroundl_ctx): New.
40552 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40554         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40556         * manual/ipc.texi: New file.
40557         * manual/Makefile (chapters): Add ipc.
40558         * manual/job.texi: Add "Inter-Process Communication" to next.
40559         * manual/process.texi: Add "Inter-Process Communication" to prev.
40561 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40565 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40567         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40569         * manual/arith.texi: Fix spaces after sentences.
40570         * manual/charset.texi: Likewise.
40571         * manual/errno.texi: Likewise.
40572         * manual/install.texi: Likewise.
40573         * manual/llio.texi: Likewise.
40574         * manual/locale.texi: Likewise.
40575         * manual/maint.texi: Likewise.
40576         * manual/math.texi: Likewise.
40577         * manual/memory.texi: Likewise.
40578         * manual/message.texi: Likewise.
40579         * manual/probes.texi: Likewise.
40580         * manual/resource.texi: Likewise.
40581         * manual/signal.texi: Likewise.
40582         * manual/socket.texi: Likewise.
40583         * manual/stdio.texi: Likewise.
40584         * manual/string.texi: Likewise.
40585         * manual/time.texi: Likewise.
40586         * manual/users.texi: Likewise.
40588 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40590         [BZ #16632]
40591         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40592         _DEFAULT_SOURCE is defined.
40594 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40595             Carlos O'Donell  <carlos@redhat.com>
40597         [BZ #16613]
40598         * elf/dl-tls.c (_dl_count_modids): New function.
40599         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40600         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40601         audit library and increment generation counter.
40602         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40603         * elf/tst-audit9.c: New file.
40604         * elf/tst-auditmod9a.c: New file.
40605         * elf/tst-auditmod9b.c: New file.
40606         * elf/Makefile: Add rules to build and run tst-audit9.
40608 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40610         [BZ #15347]
40611         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40613 2014-02-25  Will Newton  <will.newton@linaro.org>
40615         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40616         (__longjmp): Restore sp and lr before restoring callee
40617         saved registers.  Add longjmp and longjmp_target
40618         SystemTap probe point.
40619         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40620         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40621         Define to zero to match jmpbuf layout.
40622         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40623         (__sigsetjmp): Save sp and lr before saving callee
40624         saved registers.  Add setjmp SystemTap probe point.
40626 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40628         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40630 2014-02-24  Andreas Schwab  <schwab@suse.de>
40632         [BZ #15804]
40633         * elf/pldd.c (wait_for_ptrace_stop): New function.
40634         (main): Call it after attaching.
40636 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40638         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40639         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40640         Versions files is now verboten.
40641         * hurd/Versions (libc: GLIBC_2.0):
40642         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40643         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40644         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40645         * mach/Versions: Likewise.
40647         * csu/Versions: Remove unused %include.
40648         * resolv/Versions: Likewise.
40650 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40652         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40653         ($(objpfx)check-local-headers.out): Likewise.
40654         ($(objpfx)begin-end-check.out): Likewise.
40655         * Makerules (check-abi-%.out): Likewise.
40656         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40657         ($(objpfx)test2.cat): Likewise.
40658         ($(objpfx)de/libc.cat): Likewise.
40659         ($(objpfx)test-gencat.out): Likewise.
40660         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40661         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40662         ($(objpfx)noload-mem): Likewise.
40663         ($(objpfx)tst-pathopt.out): Likewise.
40664         ($(objpfx)tst-rtld-load-self.out): Likewise.
40665         ($(objpfx)tst-array1-cmp.out): Likewise.
40666         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40667         ($(objpfx)tst-array2-cmp.out): Likewise.
40668         ($(objpfx)tst-array3-cmp.out): Likewise.
40669         ($(objpfx)tst-array4-cmp.out): Likewise.
40670         ($(objpfx)tst-array5-cmp.out): Likewise.
40671         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40672         ($(objpfx)check-textrel.out): Likewise.
40673         ($(objpfx)check-execstack.out): Likewise.
40674         ($(objpfx)check-localplt.out): Likewise.
40675         ($(objpfx)order2-cmp.out): Likewise.
40676         ($(objpfx)tst-leaks1-mem): Likewise.
40677         ($(objpfx)tst-leaks1-static-mem): Likewise.
40678         ($(objpfx)tst-initorder-cmp.out): Likewise.
40679         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40680         ($(objpfx)tst-unused-dep.out): Likewise.
40681         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40682         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40683         * iconv/Makefile (test-iconvconfig): Likewise.
40684         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40685         ($(objpfx)iconv-test.out): Likewise.
40686         ($(objpfx)tst-tables.out): Likewise.
40687         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40688         ($(objpfx)tst-gettext.out): Likewise.
40689         ($(objpfx)tst-translit.out): Likewise.
40690         ($(objpfx)tst-gettext2.out): Likewise.
40691         ($(objpfx)tst-gettext4.out): Likewise.
40692         ($(objpfx)tst-gettext6.out): Likewise.
40693         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40694         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40695         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40696         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40697         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40698         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40699         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40700         ($(objpfx)wordexp-tst.out): Likewise.
40701         ($(objpfx)annexc.out): Likewise.
40702         ($(objpfx)tst-fnmatch-mem): Likewise.
40703         ($(objpfx)bug-regex2-mem): Likewise.
40704         ($(objpfx)bug-regex14-mem): Likewise.
40705         ($(objpfx)bug-regex21-mem): Likewise.
40706         ($(objpfx)bug-regex31-mem): Likewise.
40707         ($(objpfx)tst-vfork3-mem): Likewise.
40708         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40709         ($(objpfx)tst-pcre-mem): Likewise.
40710         ($(objpfx)tst-boost-mem): Likewise.
40711         ($(objpfx)tst-getconf.out): Likewise.
40712         ($(objpfx)bug-ga2-mem): Likewise.
40713         ($(objpfx)bug-glob2-mem): Likewise.
40714         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40715         ($(objpfx)mtrace-tst-leaks2): Likewise.
40716         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40717         ($(objpfx)tst-printf.out): Likewise.
40718         ($(objpfx)tst-setvbuf1.out): Likewise.
40719         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40720         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40721         ($(objpfx)tst-fmtmsg.out): Likewise.
40722         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40723         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40725         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40726         * bits/sigaction.h [__USE_MISC]: Likewise.
40727         * bits/waitstatus.h: Update #endif comments.
40728         * ctype/ctype.h: Likewise.
40729         * dirent/dirent.h: Likewise.
40730         [__USE_MISC]: Remove redundant conditionals.
40731         * grp/grp.h: Update #endif comments.
40732         [__USE_GNU]: Remove redundant conditionals.
40733         [__USE_MISC]: Likewise.
40734         * inet/netinet/in.h [__USE_GNU]: Likewise.
40735         * io/sys/stat.h [__USE_MISC]: Likewise.
40736         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40737         * libio/bits/stdio.h: Update #endif comments.
40738         [__USE_MISC]: Remove redundant conditionals.
40739         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40740         * libio/stdio.h: Update #endif comments.
40741         [__USE_MISC]: Remove redundant conditionals.
40742         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40743         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40744         * math/math.h: Update #else and #endif comments.
40745         [__USE_MISC]: Remove redundant conditionals.
40746         * misc/sys/uio.h: Update #endif comments.
40747         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40748         * posix/glob.h [__USE_MISC]: Likewise.
40749         * posix/sys/types.h: Update #endif comments.
40750         [__USE_MISC]: Remove redundant conditionals.
40751         * posix/sys/wait.h: Update #endif comments.
40752         [__USE_MISC]: Remove redundant conditionals.
40753         * posix/unistd.h: Update #endif comments.
40754         [__USE_MISC]: Remove redundant conditionals.
40755         * pwd/pwd.h [__USE_GNU]: Likewise.
40756         [__USE_MISC]: Likewise.
40757         * resolv/netdb.h [__USE_GNU]: Likewise.
40758         * signal/signal.h: Update #endif comments.
40759         [__USE_MISC]: Remove redundant conditionals.
40760         * stdlib/stdlib.h: Update #else and #endif comments.
40761         [__USE_MISC]: Remove redundant conditionals.
40762         [__USE_GNU]: Likewise.
40763         * string/bits/string2.h [__USE_MISC]: Likewise.
40764         * string/string.h: Update #endif comments.
40765         [__USE_MISC]: Remove redundant conditionals.
40766         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40767         Likewise.
40768         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40769         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40770         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40771         Likewise.
40772         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40773         Likewise.
40774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40775         comments.
40776         [__USE_MISC]: Remove redundant conditionals.
40777         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40778         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40779         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40780         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40781         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40782         Likewise.
40783         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40784         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40785         Likewise.
40786         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40787         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40788         Likewise.
40789         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40790         Likewise.
40791         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40792         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40793         Likewise.
40794         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40795         Likewise.
40796         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40797         * sysdeps/x86/bits/string.h: Update #endif comments.
40798         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40799         conditionals.
40800         * time/sys/time.h: Update #endif comments.
40801         * time/time.h: Likewise.
40802         [__USE_MISC]: Remove redundant conditionals.
40804 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40806         [BZ #16600]
40807         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40809 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40811         * Versions.def (librt): Add GLIBC_2.17.
40813 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40815         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40816         synonym for _SYS_AUXV_H to allow direct inclusion.
40817         * sysdeps/sparc/bits/hwcap.h: Likewise.
40818         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40819         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40820         * sysdeps/sparc/sysdep.h: Likewise.
40822 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40824         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40826 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40828         * benchtests/bench-strrchr.c: Print length instead of position.
40830 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40832         [BZ #16611]
40833         * sysdeps/unix/sysv/linux/kernel-features.h
40834         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40835         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40836         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40837         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40838         Likewise.
40839         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40840         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40841         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40842         (__ASSUME_SENDMMSG): Define instead of using previous
40843         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40844         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40845         (__ASSUME_SENDMMSG_SYSCALL): Define.
40846         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40847         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40848         Likewise.
40849         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40850         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40851         Likewise.
40852         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40853         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40854         Likewise.
40855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40856         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40857         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40858         [__ASSUME_SENDMMSG]: Change conditionals to
40859         [__ASSUME_SENDMMSG_SOCKETCALL].
40860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40861         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40862         Define.
40863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40864         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40865         Likewise.
40866         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40867         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40868         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40869         [!__ASSUME_SENDMMSG]: Change conditional to
40870         [!__ASSUME_SENDMMSG_SOCKETCALL].
40871         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40872         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40873         Define.
40875         [BZ #16610]
40876         * sysdeps/unix/sysv/linux/kernel-features.h
40877         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40878         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40879         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40880         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40881         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40882         [__i386__ || __sparc__]
40883         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40884         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40885         (__ASSUME_RECVMMSG): Define instead of using previous
40886         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40888         (__ASSUME_RECVMMSG_SYSCALL): Define.
40889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40890         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40891         Likewise.
40892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40893         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40894         Likewise.
40895         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40896         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40897         Likewise.
40898         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40899         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40900         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40901         [__ASSUME_RECVMMSG]: Change condition to
40902         [__ASSUME_RECVMMSG_SOCKETCALL].
40903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40904         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40905         Define.
40906         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40909         Likewise.
40910         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40911         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40912         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40913         [!__ASSUME_RECVMMSG]: Change condition to
40914         [!__ASSUME_RECVMMSG_SOCKETCALL].
40915         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40916         (__ASSUME_RECVMMSG_SYSCALL): Define.
40918         [BZ #16609]
40919         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40920         __powerpc__ || __s390__ || __sh__ || __sparc__]
40921         (__ASSUME_SOCKETCALL): Define.
40922         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40923         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40924         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40925         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40926         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40927         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40928         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40929         (__ASSUME_ACCEPT4): Define instead of using previous
40930         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40931         __powerpc__ || __sparc__ || __s390__)] condition.
40932         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40933         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40934         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40935         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40936         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40937         [!__ASSUME_ACCEPT4]: Change condition to
40938         [!__ASSUME_ACCEPT4_SOCKETCALL].
40939         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40940         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40941         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40943         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40944         __ASSUME_ACCEPT4_SYSCALL.
40945         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40946         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40948         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40949         __ASSUME_ACCEPT4_SYSCALL.
40950         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40951         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40952         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40953         [__ASSUME_ACCEPT4]: Change condition to
40954         [__ASSUME_ACCEPT4_SOCKETCALL].
40955         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40956         (__ASSUME_SOCKETCALL): Define.
40957         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40959         (__ASSUME_SOCKETCALL): Define.
40960         (__ASSUME_ACCEPT4): Remove.
40961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40962         Define.
40963         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40964         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40965         Likewise.
40966         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40967         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40969         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40970         macro.
40971         (HWCAP_ARM_LPAE): Likewise.
40972         (HWCAP_ARM_EVTSTRM): Likewise.
40973         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40974         Add vpfd32, lpae and evtstrm.
40975         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40976         Increase to 22.
40978 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40980         * math/auto-libm-test-in: Add tests of clog10.
40981         * math/auto-libm-test-out: Regenerated.
40982         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40983         * sysdeps/i386/fpu/libm-test-ulps: Update.
40984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40986 2014-02-18  Andreas Schwab  <schwab@suse.de>
40988         [BZ #16574]
40989         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40990         Store non-zero if the second buffer was newly allocated.
40991         (send_dg): Likewise.
40992         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40993         to send_vc and send_dg.
40994         (res_nsend): Pass NULL for ansp2_malloced.
40995         * resolv/res_query.c (__libc_res_nquery): Add parameter
40996         answerp2_malloced and pass it down to __libc_res_nsend.
40997         (res_nquery): Pass additional NULL to __libc_res_nquery.
40998         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40999         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41000         second answer buffer if answerp2_malloced was set.
41001         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41002         (__libc_res_nquerydomain): Add parameter
41003         answerp2_malloced and pass it down to __libc_res_nquery.
41004         (res_nquerydomain): Pass additional NULL to
41005         __libc_res_nquerydomain.
41006         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41007         additional NULL to __libc_res_nsend and __libc_res_nquery.
41008         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41009         additional NULL to __libc_res_nsearch.
41010         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41011         parameter of __libc_res_nsearch to check for separately allocated
41012         second buffer.
41013         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41014         __libc_res_nquery.
41015         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41016         additional NULL to __libc_res_nquery.
41017         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41018         __libc_res_nsearch.
41019         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41020         * include/resolv.h: Update prototypes of __libc_res_nquery,
41021         __libc_res_nsearch, __libc_res_nsend.
41023 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41025         * math/auto-libm-test-in: Add tests of fma.
41026         * math/auto-libm-test-out: Regenerated.
41027         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41028         (fma_towardzero_test_data): Likewise.
41029         (fma_downward_test_data): Likewise.
41030         (fma_upward_test_data): Likewise.
41031         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41032         mpc_mode.
41033         (rounding_modes): Add values for new field.
41034         (func_calc_method): Add value mpfr_fff_f.
41035         (func_calc_desc): Add mpfr_fff_f union field.
41036         (test_function): Add field exact_args.
41037         (FUNC): Add macro argument EXACT_ARGS.
41038         (FUNC_mpfr_f_f): Update call to FUNC.
41039         (FUNC_mpfr_f_f): Likewise.
41040         (FUNC_mpfr_ff_f): Likewise.
41041         (FUNC_mpfr_if_f): Likewise.
41042         (FUNC_mpc_c_f): Likewise.
41043         (FUNC_mpc_c_c): Likewise.
41044         (test_functions): Add fma.  Update calls to FUNC.
41045         (handle_input_arg): Add argument exact_args.
41046         (add_test): Update call to handle_input_arg.
41047         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41048         (output_for_one_input_case): Update call to calc_generic_results.
41049         Recalculate exact zero results in each rounding mode.
41051         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41052         non-negative before setting low bit.
41053         * math/auto-libm-test-in: Mark one asin test possibly having
41054         spurious underflow.
41055         * math/auto-libm-test-out: Regenerated.
41056         * sysdeps/i386/fpu/libm-test-ulps: Update.
41057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41061         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41062         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41063         ports/sysdeps/unix/sysv/linux/microblaze.
41064         * README: Add missing listing for microblaze*-*-linux-gnu.
41066 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41068         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41069         duplicate code
41071 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41073         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41074         * sysdeps/unix/sysv/linux/ia64: Move directory from
41075         ports/sysdeps/unix/sysv/linux/ia64.
41076         * README: Update listing for ia64-*-linux-gnu.
41078 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41079             Joseph Myers  <joseph@codesourcery.com>
41081         * Makeconfig (test-name): New variable.
41082         (evaluate-test): Likewise.
41083         * Makerules (do-test-clean): Remove .test-result files.
41084         (common-mostlyclean): Likewise.
41085         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41086         * scripts/evaluate-test.sh: New file.
41088 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41090         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41091         separate $(objpfx)tst-fopenloc-cmp.out and
41092         $(objpfx)tst-fopenloc-mem.out targets.
41093         (tests): Update dependencies.
41094         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41095         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41096         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41097         (tst-rxspencer-no-utf8-ARGS): New variable.
41098         (tst-rxspencer-no-utf8-ENV): Likewise.
41099         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41100         instead of $(objpfx)tst-rxspencer-mem.
41101         ($(objpfx)tst-rxspencer-mem): Change target to
41102         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41103         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41104         * posix/tst-rxspencer-no-utf8.c: New file.
41106         * elf/Makefile ($(objpfx)order.out): Remove rule.
41107         [$(run-built-tests) = yes] (tests): Depend on
41108         $(objpfx)order-cmp.out.
41109         ($(objpfx)order-cmp.out): New rule.
41110         [$(run-built-tests) = yes] (tests): Depend on
41111         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41112         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41113         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41114         $(objpfx)tst-array5-static-cmp.out.
41115         ($(objpfx)tst-array1.out): Remove rule.
41116         ($(objpfx)tst-array1-cmp.out): New rule.
41117         ($(objpfx)tst-array1-static.out): Remove rule.
41118         ($(objpfx)tst-array1-static-cmp.out): New rule.
41119         ($(objpfx)tst-array2.out): Remove rule.
41120         ($(objpfx)tst-array2-cmp.out): New rule.
41121         ($(objpfx)tst-array3.out): Remove rule.
41122         ($(objpfx)tst-array3-cmp.out): New rule.
41123         ($(objpfx)tst-array4.out): Remove rule.
41124         ($(objpfx)tst-array4-cmp.out): New rule.
41125         ($(objpfx)tst-array5.out): Remove rule.
41126         ($(objpfx)tst-array5-cmp.out): New rule.
41127         ($(objpfx)tst-array5-static.out): Remove rule.
41128         ($(objpfx)tst-array5-static-cmp.out): New rule.
41129         [$(run-built-tests) = yes] (tests): Depend on
41130         $(objpfx)order2-cmp.out.
41131         ($(objpfx)order2.out): Remove rule.
41132         ($(objpfx)order2-cmp.out): New rule.
41133         ($(objpfx)tst-initorder.out): Remove rule.
41134         [$(run-built-tests) = yes] (tests): Depend on
41135         $(objpfx)tst-initorder-cmp.out.
41136         ($(objpfx)tst-initorder-cmp.out): New rule.
41137         ($(objpfx)tst-initorder2.out): Remove rule.
41138         [$(run-built-tests) = yes] (tests): Depend on
41139         $(objpfx)tst-initorder2-cmp.out.
41140         ($(objpfx)tst-initorder2-cmp.out): New rule.
41141         [$(run-built-tests) = yes] (tests): Depend on
41142         $(objpfx)tst-unused-dep-cmp.out.
41143         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41144         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41145         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41146         on $(objpfx)tst-setvbuf1-cmp.out.
41147         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41148         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41149         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41150         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41151         ($(objpfx)tst-svc.out): Remove rule.
41152         ($(objpfx)tst-svc-cmp.out): New rule.
41154 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41156         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41157         * ctype/ctype.h [__USE_MISC]: Likewise.
41158         * dirent/dirent.h [__USE_MISC]: Likewise.
41159         * grp/grp.h [__USE_MISC]: Likewise.
41160         * io/fcntl.h [__USE_MISC]: Likewise.
41161         * io/sys/stat.h [__USE_MISC]: Likewise.
41162         * libio/stdio.h [__USE_MISC]: Likewise.
41163         * posix/unistd.h [__USE_MISC]: Likewise.
41164         * pwd/pwd.h [__USE_MISC]: Likewise.
41165         * stdlib.h [__USE_MISC]: Likewise.
41166         * string/bits/string2.h [__USE_MISC]: Likewise.
41167         * string/string.h [__USE_MISC]: Likewise.
41168         * time/time.h [__USE_MISC]: Likewise.
41170 2014-02-13  Andreas Schwab  <schwab@suse.de>
41172         [BZ #16574]
41173         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41174         second answer buffer if it was separately allocated.
41176 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41178         * sysdeps/mips/math-tests.h: Include <features.h>.
41179         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41180         (ROUNDING_TESTS_long_double): Do not define.
41181         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41182         (EXCEPTION_TESTS_long_double): Likewise.
41183         * sysdeps/mips/mips64/libm-test-ulps: Update.
41185         * include/features.h (__USE_BSD): Remove macro definitions.
41186         (__USE_SVID): Likewise.
41187         (_BSD_SOURCE): Likewise.
41188         (_SVID_SOURCE): Likewise.
41189         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41190         from definition of _DEFAULT_SOURCE.
41191         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41192         [_DEFAULT_SOURCE].
41193         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41194         * bits/mman.h [__USE_BSD]: Likewise.
41195         * bits/termios.h [__USE_BSD]: Likewise.
41196         * bits/waitstatus.h [__USE_BSD]: Likewise.
41197         * ctype/ctype.h [__USE_SVID]: Likewise.
41198         * dirent/dirent.h [__USE_BSD]: Likewise.
41199         * grp/grp.h [__USE_SVID]: Likewise.
41200         [__USE_BSD]: Likewise.
41201         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41202         * io/fcntl.h [__USE_BSD]: Likewise.
41203         * io/ftw.h [__USE_BSD]: Likewise.
41204         * io/sys/stat.h [__USE_BSD]: Likewise.
41205         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41206         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41207         * libio/stdio.h [__USE_SVID]: Likewise.
41208         [__USE_BSD]: Likewise.
41209         * math/math.h [__USE_SVID]: Likewise.
41210         [__USE_BSD]: Likewise.
41211         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41212         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41213         * misc/search.h [__USE_SVID]: Likewise.
41214         * misc/sys/mman.h [__USE_BSD]: Likewise.
41215         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41216         * misc/sys/uio.h [__USE_BSD]: Likewise.
41217         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41218         * posix/glob.h [__USE_BSD]: Likewise.
41219         * posix/regex.h [__USE_BSD]: Likewise.
41220         * posix/sys/types.h [__USE_BSD]: Likewise.
41221         [__USE_SVID]: Likewise.
41222         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41223         * posix/sys/wait.h [__USE_BSD]: Likewise.
41224         [__USE_SVID]: Likewise.
41225         * posix/unistd.h [__USE_BSD]: Likewise.
41226         [__USE_SVID]: Likewise.
41227         * pwd/pwd.h [__USE_SVID]: Likewise.
41228         * resolv/netdb.h [__USE_BSD]: Likewise.
41229         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41230         * signal/signal.h [__USE_BSD]: Likewise.
41231         [__USE_SVID]: Likewise.
41232         * socket/sys/socket.h [__USE_BSD]: Likewise.
41233         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41234         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41235         [__USE_SVID]: Likewise.
41236         * string/bits/string2.h [__USE_BSD]: Likewise.
41237         [__USE_SVID]: Likewise.
41238         * string/bits/string3.h [__USE_BSD]: Likewise.
41239         * string/endian.h [__USE_BSD]: Likewise.
41240         * string/string.h [__USE_SVID]: Likewise.
41241         [__USE_BSD]: Likewise.
41242         * string/strings.h [__USE_BSD]: Likewise.
41243         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41244         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41245         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41246         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41247         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41248         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41249         Likewise.
41250         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41251         Likewise.
41252         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41253         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41254         Likewise.
41255         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41256         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41257         Likewise.
41258         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41259         Likewise.
41260         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41261         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41262         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41263         Likewise.
41264         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41265         Likewise.
41266         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41267         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41268         * termios/termios.h [__USE_BSD]: Likewise.
41269         * time/sys/time.h [__USE_BSD]: Likewise.
41270         * time/time.h [__USE_BSD]: Likewise.
41271         [__USE_SVID]: Likewise.
41273         * Makefile (subdir_targets): Remove subdir_lint.out.
41275         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41276         (do-tst-printf): Likewise.
41277         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41278         $(objpfx)tst-printf.out.
41280         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41282         * Makerules (check-abi-%): Change target to
41283         $(objpfx)check-abi-%.out.
41284         (check-abi target): Update dependencies.
41285         (check-abi-pattern variable): Redirect output of diff to $@.
41286         (check-abi variable): Likewise.
41287         * elf/Makefile (check-abi): Update dependencies.
41289         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41290         unused.
41291         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41292         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41293         subnormal range.
41294         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41295         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41296         value has largest subnormal exponent.
41297         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41298         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41299         * sysdeps/aarch64/soft-fp/sfp-machine.h
41300         (_FP_TININESS_AFTER_ROUNDING): New macro.
41301         * sysdeps/alpha/soft-fp/sfp-machine.h
41302         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41303         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41304         Likewise.
41305         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41306         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41307         * sysdeps/mips/soft-fp/sfp-machine.h
41308         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41309         * sysdeps/powerpc/soft-fp/sfp-machine.h
41310         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41311         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41312         Likewise.
41313         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41315         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41316         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41317         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41318         Likewise.
41320 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41322         [BZ #16545]
41323         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41324         model 1.
41326 2014-02-12  Richard Henderson  <rth@redhat.com>
41328         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41329         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41330         * sysdeps/unix/sysv/linux/alpha: Move directory from
41331         ports/sysdeps/unix/sysv/linux/alpha.
41332         * README: Update listing for alpha-*-linux-gnu.
41334 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41336         * include/features.h: Update comment documenting feature test
41337         macros.
41338         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41339         _DEFAULT_SOURCE.
41340         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41341         (_SVID_SOURCE): Likewise.
41342         (_DEFAULT_SOURCE): Update description of default features.
41343         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41344         with _GNU_SOURCE.
41345         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41346         (S_ISVTX): Likewise.
41347         * manual/math.texi (Mathematical Constants): Likewise.
41348         * manual/signal.texi (Interrupted Primitives): Likewise.
41349         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41350         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41351         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41352         Don't refer to _SVID_SOURCE in warning text.
41354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41356         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41357         already defined.
41358         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41359         * sysdeps/mips/dl-lookup.c: Remove.
41360         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41362 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41364         [BZ #16447]
41365         * math/auto-libm-test-in: Add testcase for expl.
41366         * math/auto-libm-test-out: Regenerate.
41367         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41368         calculation of unsafe.
41369         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41371 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41373         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41374         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41375         ports/sysdeps/unix/sysv/linux/aarch64.
41376         * README: Update listing for aarch64*-*-linux-gnu.
41378 2014-02-11  Will Newton  <will.newton@linaro.org>
41380         * manual/probes.texi (Mathematical Function Probes): Use
41381         "triggered" instead of "hit".
41383         * manual/probes.texi (Internal Probes): Add documentation
41384         of setjmp, longjmp and longjmp_target probes.
41386         * include/stap-probe.h: Add comment about probe argument
41387         format.
41389         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41390         definition.  (tr_where, tr_freehook, tr_mallochook,
41391         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41393 2014-02-11  David S. Miller  <davem@davemloft.net>
41395         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41396         processing int_tests.
41398 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41400         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41401         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41402         * sysdeps/unix/sysv/linux/mips: Move directory from
41403         ports/sysdeps/unix/sysv/linux/mips.
41404         * README: Update listing for mips-*-linux-gnu and
41405         mips64-*-linux-gnu.
41407 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41409         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41410         * sysdeps/unix/sysv/linux/m68k: Move directory from
41411         ports/sysdeps/unix/sysv/linux/m68k.
41412         * README: Update listing for m68k-*-linux-gnu.
41414 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41416         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41417         * sysdeps/unix/sysv/linux/generic: Move directory from
41418         ports/sysdeps/unix/sysv/linux/generic.
41419         * sysdeps/unix/sysv/linux/tile: Move directory from
41420         ports/sysdeps/unix/sysv/linux/tile.
41421         * README: Update listing for tile*-*-linux-gnu.
41423 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41425         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41426         __builtin_expect.
41427         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41428         * catgets/open_catalog.c (__open_catalog): Likewise.
41429         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41430         * debug/confstr_chk.c: Likewise.
41431         * debug/fread_chk.c (__fread_chk): Likewise.
41432         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41433         * debug/getgroups_chk.c: Likewise.
41434         * debug/mbsnrtowcs_chk.c: Likewise.
41435         * debug/mbsrtowcs_chk.c: Likewise.
41436         * debug/mbstowcs_chk.c: Likewise.
41437         * debug/memcpy_chk.c: Likewise.
41438         * debug/memmove_chk.c: Likewise.
41439         * debug/mempcpy_chk.c: Likewise.
41440         * debug/memset_chk.c: Likewise.
41441         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41442         * debug/strcat_chk.c (__strcat_chk): Likewise.
41443         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41444         * debug/strncat_chk.c (__strncat_chk): Likewise.
41445         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41446         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41447         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41448         * debug/wcpncpy_chk.c: Likewise.
41449         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41450         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41451         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41452         * debug/wcsncpy_chk.c: Likewise.
41453         * debug/wcsnrtombs_chk.c: Likewise.
41454         * debug/wcsrtombs_chk.c: Likewise.
41455         * debug/wcstombs_chk.c: Likewise.
41456         * debug/wmemcpy_chk.c: Likewise.
41457         * debug/wmemmove_chk.c: Likewise.
41458         * debug/wmempcpy_chk.c: Likewise.
41459         * debug/wmemset_chk.c: Likewise.
41460         * dirent/scandirat.c (SCANDIRAT): Likewise.
41461         * dlfcn/dladdr1.c (dladdr1): Likewise.
41462         * dlfcn/dladdr.c (dladdr): Likewise.
41463         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41464         * dlfcn/dlerror.c (__dlerror): Likewise.
41465         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41466         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41467         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41468         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41469         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41470         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41471         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41472         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41473         Likewise.
41474         * elf/dl-conflict.c: Likewise.
41475         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41476         * elf/dl-dst.h: Likewise.
41477         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41478         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41480         * elf/dl-init.c (call_init, _dl_init): Likewise.
41481         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41482         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41483         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41484         Likewise.
41485         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41486         Likewise.
41487         * elf/dl-minimal.c (__libc_memalign): Likewise.
41488         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41489         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41490         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41491         * elf/dl-sym.c (do_sym): Likewise.
41492         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41493         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41494         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41495         * elf/dl-writev.h (_dl_writev): Likewise.
41496         * elf/ldconfig.c (search_dir): Likewise.
41497         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41498         (dl_main): Likewise.
41499         * elf/setup-vdso.h (setup_vdso): Likewise.
41500         * grp/compat-initgroups.c (compat_call): Likewise.
41501         * grp/fgetgrent.c (fgetgrent): Likewise.
41502         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41503         * grp/putgrent.c (putgrent): Likewise.
41504         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41505         Likewise.
41506         * hurd/hurdinit.c: Likewise.
41507         * iconvdata/8bit-gap.c (struct): Likewise.
41508         * iconvdata/ansi_x3.110.c : Likewise.
41509         * iconvdata/big5.c : Likewise.
41510         * iconvdata/big5hkscs.c : Likewise.
41511         * iconvdata/cp1255.c: Likewise.
41512         * iconvdata/cp1258.c : Likewise.
41513         * iconvdata/cp932.c : Likewise.
41514         * iconvdata/euc-cn.c: Likewise.
41515         * iconvdata/euc-jisx0213.c : Likewise.
41516         * iconvdata/euc-jp.c: Likewise.
41517         * iconvdata/euc-jp-ms.c : Likewise.
41518         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41519         * iconvdata/gb18030.c : Likewise.
41520         * iconvdata/gbbig5.c (const): Likewise.
41521         * iconvdata/gbgbk.c: Likewise.
41522         * iconvdata/gbk.c : Likewise.
41523         * iconvdata/ibm1364.c : Likewise.
41524         * iconvdata/ibm930.c : Likewise.
41525         * iconvdata/ibm932.c: Likewise.
41526         * iconvdata/ibm933.c : Likewise.
41527         * iconvdata/ibm935.c : Likewise.
41528         * iconvdata/ibm937.c : Likewise.
41529         * iconvdata/ibm939.c : Likewise.
41530         * iconvdata/ibm943.c: Likewise.
41531         * iconvdata/iso_11548-1.c: Likewise.
41532         * iconvdata/iso-2022-cn.c : Likewise.
41533         * iconvdata/iso-2022-cn-ext.c : Likewise.
41534         * iconvdata/iso-2022-jp-3.c: Likewise.
41535         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41536         * iconvdata/iso-2022-kr.c : Likewise.
41537         * iconvdata/iso646.c (gconv_end): Likewise.
41538         * iconvdata/iso_6937-2.c : Likewise.
41539         * iconvdata/iso_6937.c : Likewise.
41540         * iconvdata/iso8859-1.c: Likewise.
41541         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41542         * iconvdata/shift_jisx0213.c : Likewise.
41543         * iconvdata/sjis.c : Likewise.
41544         * iconvdata/t.61.c : Likewise.
41545         * iconvdata/tcvn5712-1.c : Likewise.
41546         * iconvdata/tscii.c: Likewise.
41547         * iconvdata/uhc.c : Likewise.
41548         * iconvdata/unicode.c (gconv_end): Likewise.
41549         * iconvdata/utf-16.c (gconv_end): Likewise.
41550         * iconvdata/utf-32.c (gconv_end): Likewise.
41551         * iconvdata/utf-7.c (base64): Likewise.
41552         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41553         * iconv/gconv_close.c (__gconv_close): Likewise.
41554         * iconv/gconv_open.c (__gconv_open): Likewise.
41555         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41556         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41557         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41558         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41559         (ucs4le_internal_loop_single): Likewise.
41560         * iconv/iconv.c (iconv): Likewise.
41561         * iconv/iconv_close.c: Likewise.
41562         * iconv/loop.c (SINGLE): Likewise.
41563         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41564         * include/atomic.h: Likewise.
41565         * inet/inet6_option.c (option_alloc): Likewise.
41566         * intl/bindtextdom.c (set_binding_values): Likewise.
41567         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41568         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41569         * intl/localealias.c (read_alias_file): Likewise.
41570         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41571         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41572         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41573         * libio/fmemopen.c (fmemopen): Likewise.
41574         * libio/iofgets.c (_IO_fgets): Likewise.
41575         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41576         * libio/iofgetws.c (fgetws): Likewise.
41577         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41578         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41579         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41580         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41581         * locale/findlocale.c (_nl_find_locale): Likewise.
41582         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41583         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41584         Likewise.
41585         * locale/setlocale.c (setlocale): Likewise.
41586         * login/programs/pt_chown.c (main): Likewise.
41587         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41588         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41589         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41590         (mmap, mmap64, mremap, munmap): Likewise.
41591         * math/e_exp2l.c: Likewise.
41592         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41593         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41594         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41595         * math/s_catan.c (__catan): Likewise.
41596         * math/s_catanf.c (__catanf): Likewise.
41597         * math/s_catanh.c (__catanh): Likewise.
41598         * math/s_catanhf.c (__catanhf): Likewise.
41599         * math/s_catanhl.c (__catanhl): Likewise.
41600         * math/s_catanl.c (__catanl): Likewise.
41601         * math/s_ccosh.c (__ccosh): Likewise.
41602         * math/s_ccoshf.c (__ccoshf): Likewise.
41603         * math/s_ccoshl.c (__ccoshl): Likewise.
41604         * math/s_cexp.c (__cexp): Likewise.
41605         * math/s_cexpf.c (__cexpf): Likewise.
41606         * math/s_cexpl.c (__cexpl): Likewise.
41607         * math/s_clog10.c (__clog10): Likewise.
41608         * math/s_clog10f.c (__clog10f): Likewise.
41609         * math/s_clog10l.c (__clog10l): Likewise.
41610         * math/s_clog.c (__clog): Likewise.
41611         * math/s_clogf.c (__clogf): Likewise.
41612         * math/s_clogl.c (__clogl): Likewise.
41613         * math/s_csin.c (__csin): Likewise.
41614         * math/s_csinf.c (__csinf): Likewise.
41615         * math/s_csinh.c (__csinh): Likewise.
41616         * math/s_csinhf.c (__csinhf): Likewise.
41617         * math/s_csinhl.c (__csinhl): Likewise.
41618         * math/s_csinl.c (__csinl): Likewise.
41619         * math/s_csqrt.c (__csqrt): Likewise.
41620         * math/s_csqrtf.c (__csqrtf): Likewise.
41621         * math/s_csqrtl.c (__csqrtl): Likewise.
41622         * math/s_ctan.c (__ctan): Likewise.
41623         * math/s_ctanf.c (__ctanf): Likewise.
41624         * math/s_ctanh.c (__ctanh): Likewise.
41625         * math/s_ctanhf.c (__ctanhf): Likewise.
41626         * math/s_ctanhl.c (__ctanhl): Likewise.
41627         * math/s_ctanl.c (__ctanl): Likewise.
41628         * math/w_pow.c: Likewise.
41629         * math/w_powf.c: Likewise.
41630         * math/w_powl.c: Likewise.
41631         * math/w_scalb.c (sysv_scalb): Likewise.
41632         * math/w_scalbf.c (sysv_scalbf): Likewise.
41633         * math/w_scalbl.c (sysv_scalbl): Likewise.
41634         * misc/error.c (error_tail): Likewise.
41635         * misc/pselect.c (__pselect): Likewise.
41636         * nis/nis_callback.c (__nis_create_callback): Likewise.
41637         * nis/nis_call.c (__nisfind_server): Likewise.
41638         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41639         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41640         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41641         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41642         * nis/nis_lookup.c (nis_lookup): Likewise.
41643         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41644         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41645         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41646         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41647         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41648         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41649         * nis/nss_compat/compat-initgroups.c (add_group)
41650         (internal_getgrent_r): Likewise.
41651         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41652         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41653         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41654         (internal_getspnam_r): Likewise.
41655         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41656         (_nss_nis_getaliasbyname_r): Likewise.
41657         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41658         (_nss_nis_getntohost_r): Likewise.
41659         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41660         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41661         (_nss_nis_getgrgid_r): Likewise.
41662         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41663         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41664         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41665         (_nss_nis_gethostbyname4_r): Likewise.
41666         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41667         (initgroups_netid): Likewise.
41668         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41669         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41670         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41671         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41672         (_nss_nis_getprotobynumber_r): Likewise.
41673         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41674         (_nss_nis_getsecretkey): Likewise.
41675         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41676         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41677         (_nss_nis_getpwuid_r): Likewise.
41678         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41679         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41680         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41681         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41682         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41683         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41684         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41685         Likewise.
41686         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41687         (_nss_nisplus_getntohost_r): Likewise.
41688         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41689         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41690         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41691         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41692         Likewise.
41693         * nis/nss_nisplus/nisplus-initgroups.c
41694         (_nss_nisplus_initgroups_dyn): Likewise.
41695         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41696         (_nss_nisplus_getnetbyaddr_r): Likewise.
41697         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41698         (_nss_nisplus_getprotobynumber_r): Likewise.
41699         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41700         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41701         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41702         Likewise.
41703         * nis/nss_nisplus/nisplus-service.c
41704         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41705         (_nss_nisplus_getservbyport_r): Likewise.
41706         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41707         (_nss_nisplus_getspnam_r): Likewise.
41708         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41709         Likewise.
41710         * nscd/aicache.c (addhstaiX): Likewise.
41711         * nscd/cache.c (cache_search, prune_cache): Likewise.
41712         * nscd/connections.c (register_traced_file, send_ro_fd)
41713         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41714         (main_loop_epoll): Likewise.
41715         * nscd/grpcache.c (addgrbyX): Likewise.
41716         * nscd/hstcache.c (addhstbyX): Likewise.
41717         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41718         * nscd/mem.c (gc, mempool_alloc): Likewise.
41719         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41720         (addinnetgrX): Likewise.
41721         * nscd/nscd-client.h (__nscd_acquire_maplock)
41722         (__nscd_drop_map_ref): Likewise.
41723         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41724         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41725         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41726         Likewise.
41727         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41729         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41730         (__nscd_get_map_ref): Likewise.
41731         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41732         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41733         Likewise.
41734         * nscd/pwdcache.c (addpwbyX): Likewise.
41735         * nscd/selinux.c (preserve_capabilities): Likewise.
41736         * nscd/servicescache.c (addservbyX): Likewise.
41737         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41738         * posix/fnmatch.c (fnmatch): Likewise.
41739         * posix/getopt.c (_getopt_internal_r): Likewise.
41740         * posix/glob.c (glob, glob_in_dir): Likewise.
41741         * posix/wordexp.c (exec_comm_child): Likewise.
41742         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41743         (getanswer_r, gaih_getanswer_slice): Likewise.
41744         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41745         * resolv/res_init.c: Likewise.
41746         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41747         * resolv/res_query.c (__libc_res_nquery): Likewise.
41748         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41749         Likewise.
41750         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41751         * stdio-common/perror.c (perror): Likewise.
41752         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41753         * stdio-common/tmpnam.c (tmpnam): Likewise.
41754         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41755         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41756         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41757         Likewise.
41758         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41759         * stdlib/putenv.c (putenv): Likewise.
41760         * stdlib/setenv.c (__add_to_environ): Likewise.
41761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41762         * stdlib/strtol_l.c (INTERNAL): Likewise.
41763         * string/memmem.c (memmem): Likewise.
41764         * string/strerror.c (strerror): Likewise.
41765         * string/strnlen.c (__strnlen): Likewise.
41766         * string/test-memmem.c (simple_memmem): Likewise.
41767         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41768         * sunrpc/pm_getport.c (__get_socket): Likewise.
41769         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41770         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41771         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41772         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41773         Likewise.
41774         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41775         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41776         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41777         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41778         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41779         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41780         Likewise.
41781         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41782         Likewise.
41783         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41784         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41785         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41786         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41787         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41789         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41790         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41791         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41792         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41793         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41794         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41795         Likewise.
41796         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41797         Likewise.
41798         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41799         Likewise.
41800         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41801         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41803         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41804         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41805         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41806         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41807         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41808         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41809         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41810         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41811         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41812         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41813         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41815         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41816         Likewise.
41817         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41818         Likewise.
41819         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41820         Likewise.
41821         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41822         Likewise.
41823         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41825         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41826         Likewise.
41827         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41828         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41829         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41830         * sysdeps/posix/sleep.c: Likewise.
41831         * sysdeps/posix/tempname.c: Likewise.
41832         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41833         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41834         Likewise.
41835         * sysdeps/powerpc/powerpc32/dl-machine.h
41836         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41837         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41839         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41840         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41841         Likewise.
41842         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41843         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41844         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41846         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41847         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41848         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41849         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41850         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41851         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41852         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41853         (elf_machine_lazy_rel): Likewise.
41854         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41856         (elf_machine_lazy_rel): Likewise.
41857         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41858         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41859         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41860         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41861         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41862         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41863         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41864         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41865         Likewise.
41866         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41867         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41868         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41869         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41870         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41872         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41873         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41874         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41875         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41876         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41877         Likewise.
41878         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41879         (__posix_fallocate64_l64): Likewise.
41880         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41881         (posix_fallocate): Likewise.
41882         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41883         Likewise.
41884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41885         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41886         (getifaddrs_internal): Likewise.
41887         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41888         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41889         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41890         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41891         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41892         (__posix_fallocate64_l64): Likewise.
41893         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41894         Likewise.
41895         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41896         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41897         (__get_clockfreq): Likewise.
41898         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41899         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41900         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41903         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41904         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41905         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41906         Likewise.
41907         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41908         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41909         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41911         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41912         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41913         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41914         Likewise.
41915         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41916         (posix_fallocate): Likewise.
41917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41918         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41919         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41920         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41921         (elf_machine_rela, elf_machine_rela_relative)
41922         (elf_machine_lazy_rel): Likewise.
41923         * time/asctime.c (asctime_internal): Likewise.
41924         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41925         * time/tzset.c (__tzset_parse_tz): Likewise.
41926         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41927         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41928         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41929         * wcsmbs/wcsmbsload.h: Likewise.
41931         [BZ #15894]
41932         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41934         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41935         (arena_get2): Remove THREAD_STATS conditionals.
41936         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41937         (__malloc_stats, int): Likewise.
41939 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41941         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41942         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41944         * manual/setjmp.texi: Fix typos/grammar errors.
41946         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41947         Only return early when n is <= 0.  Delete unused return statement.
41949         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41950         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41951         * debug/tst-longjmp_chk3.c: New file.
41953         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41954         (test_main): Replace code with set_fortify_handler call.
41955         * debug/test-strcpy_chk.c: Likewise.
41956         * debug/tst-chk1.c: Likewise.
41957         * debug/tst-longjmp_chk.c: Likewise.
41958         * test-skeleton.c: Include fcntl.h & paths.h
41959         (set_fortify_handler): Define.
41961         * debug/tst-longjmp_chk.c: Add header comment and include
41962         ../test-skeleton.c.
41963         (do_test): Mark static.
41964         (TEST_FUNCTION): Define.
41966         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41967         (IP_PMTUDISC_INTERFACE): Likewise.
41968         (IP_MULTICAST_IF): Likewise.
41969         (IP_MULTICAST_TTL): Likewise.
41970         (IP_MULTICAST_LOOP): Likewise.
41971         (IP_ADD_MEMBERSHIP): Likewise.
41972         (IP_DROP_MEMBERSHIP): Likewise.
41973         (IP_UNBLOCK_SOURCE): Likewise.
41974         (IP_BLOCK_SOURCE): Likewise.
41975         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41976         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41977         (IP_MSFILTER): Likewise.
41978         (MCAST_JOIN_GROUP): Likewise.
41979         (MCAST_BLOCK_SOURCE): Likewise.
41980         (MCAST_UNBLOCK_SOURCE): Likewise.
41981         (MCAST_LEAVE_GROUP): Likewise.
41982         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41983         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41984         (MCAST_MSFILTER): Likewise.
41985         (IP_MULTICAST_ALL): Likewise.
41986         (IP_UNICAST_IF): Likewise.
41988         * timezone/Makefile: Delete $(have-ksh) check.
41989         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41990         * timezone/tzselect.ksh: Add +x mode bits.
41992         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41993         (ANON_INODE_FS_MAGIC): Likewise.
41994         (BDEVFS_MAGIC): Likewise.
41995         (BINFMTFS_MAGIC): Likewise.
41996         (BTRFS_TEST_MAGIC): Likewise.
41997         (CRAMFS_MAGIC_WEND): Likewise.
41998         (DEBUGFS_MAGIC): Likewise.
41999         (ECRYPTFS_SUPER_MAGIC): Likewise.
42000         (EXT3_SUPER_MAGIC): Likewise.
42001         (EXT4_SUPER_MAGIC): Likewise.
42002         (FUTEXFS_SUPER_MAGIC): Likewise.
42003         (HOSTFS_SUPER_MAGIC): Likewise.
42004         (HUGETLBFS_MAGIC): Likewise.
42005         (MINIX3_SUPER_MAGIC): Likewise.
42006         (MTD_INODE_FS_MAGIC): Likewise.
42007         (NILFS_SUPER_MAGIC): Likewise.
42008         (OPENPROM_SUPER_MAGIC): Likewise.
42009         (PIPEFS_MAGIC): Likewise.
42010         (PSTOREFS_MAGIC): Likewise.
42011         (QNX6_SUPER_MAGIC): Likewise.
42012         (RAMFS_MAGIC): Likewise.
42013         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42014         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42015         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42016         (SECURITYFS_MAGIC): Likewise.
42017         (SELINUX_MAGIC): Likewise.
42018         (SMACK_MAGIC): Likewise.
42019         (SOCKFS_MAGIC): Likewise.
42020         (SQUASHFS_MAGIC): Likewise.
42021         (STACK_END_MAGIC): Likewise.
42022         (TMPFS_MAGIC): Likewise.
42023         (USBDEVICE_SUPER_MAGIC): Likewise.
42024         (V9FS_MAGIC): Likewise.
42025         (XENFS_SUPER_MAGIC): Likewise.
42026         (CRAMFS_MAGIC): Fix typo in comment.
42027         (EXT2_SUPER_MAGIC): Update comment.
42028         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42030 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42032         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42033         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42034         * sysdeps/unix/sysv/linux/arm: Move directory from
42035         ports/sysdeps/unix/sysv/linux/arm.
42036         * README: Update listing for arm-*-linux-gnueabi.
42038         * README: Remove mention of am33.
42040 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42042         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42043         than the comma operator, to avoid "rhs of comma has no effect"
42044         compiler warnings.
42045         (__sigfillset, __sigandset, __sigorset): Likewise.
42046         * include/signal.h (__sigemptyset): Likewise.
42047         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42049 2014-02-07  Allan McRae  <allan@archlinux.org>
42051         * version.h (RELEASE): Set to "development".
42052         (VERSION): Set to "2.19.90"
42053         * NEWS: Add 2.20 section.
42055 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42057         [BZ #16529]
42058         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42060 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42062         * manual/contrib.texi: Update entry for Carlos O'Donell,
42063         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42065 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42067         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42069         * sysdeps/unix/sysv/linux/kernel-features.h
42070         [__LINUX_KERNEL_VERSION >= 0x020621]
42071         (__ASSUME_PROC_PID_TASK_COMM): Define.
42073 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42075         [BZ #16398]
42076         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42077         conversion when destination buffer does not have enough space.
42078         * libio/tst-ftell-partial-wide.c: New test case.
42079         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42081         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42082         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42083         Leonard and Allan McRae.
42085 2014-02-04  David S. Miller  <davem@davemloft.net>
42087         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42088         32-bit.
42090 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42093         New file
42094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42095         New file
42096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42097         New file.
42098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42099         New file.
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42101         New file.
42102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42103         New file.
42104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42105         New file.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42107         New file.
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42109         New file.
42110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42111         New file.
42112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42113         New file.
42114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42115         New file.
42116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42117         New file.
42119 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42121         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42122         * shlib-versions: Likewise.
42124 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42125             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42127         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42128         (abilist-pattern): New variable, set to %-le.abilist.
42130         * Makerules (abilist-pattern): New variable.
42131         (vpath): Use $(abilist-pattern) in place of %.abilist.
42132         (check-abi-% pattern rule): Likewise.
42133         (check-abi, update-abi): Likewise.
42135 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42139 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42141         * manual/startup.texi: Add next, previous, and top entries for
42142         the `Program Arguments' and `Environment Variables' nodes.
42144 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42146         * manual/macros.texi: Add comments before MTASC-safety macros.
42148         * manual/users.texi: Document MTASC-safety properties.
42150         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42151         (pthread_getspecific, pthread_setspecific): Format with
42152         @deftypefun, and add @safety note.
42153         * manual/signal.texi: Move comments that analyze the above
42154         functions to their home place.
42156 2014-02-03  Allan McRae  <allan@archlinux.org>
42158         * po/sl.po: Update Slovenian translation from translation project.
42160 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42162         * manual/time.texi (timegm): Add missing blank after @c.
42163         Reported by Joseph Myers <joseph@codesourcery.com>.
42165 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42167         * manual/check-safety.sh: New.
42168         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42170         * manual/terminal.texi: Document MTASC-safety properties.
42172         * manual/filesys.texi: Document MTASC-safety properties.
42174         * manual/errno.texi: Document MTASC-safety properties.
42176         * manual/intro.texi: Document safety identifiers and
42177         conditionals.
42179         * manual/string.texi (wcstok): Fix prototype.
42180         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42182         * manual/time.texi: Document MTASC-safety properties.
42184         * manual/string.texi: Document MTASC-safety properties.
42186         * manual/threads.texi: Document MTASC-safety properties.
42188         * manual/stdio.texi: Document MTASC-safety properties.
42190         * manual/syslog.texi: Document MTASC-safety properties.
42192         * manual/sysinfo.texi: Document MTASC-safety properties.
42194         * manual/startup.texi: Document MTASC-safety properties.
42196         * manual/socket.texi: Document MTASC-safety properties.
42198         * manual/signal.texi: Document MTASC-safety properties.
42200 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42202         * manual/setjmp.texi: Document MTASC-safety properties.
42204         * manual/search.texi: Document MTASC-safety properties.
42206         * manual/resource.texi: Document MTASC-safety properties.
42208         * manual/process.texi: Document MTASC-safety properties.
42210         * manual/platform.texi: Document MTASC-safety properties.
42212         * manual/pipe.texi: Document MTASC-safety properties.
42214         * manual/pattern.texi: Document MTASC-safety properties.
42216         * manual/message.texi: Document MTASC-safety properties.
42218         [BZ #12751]
42219         * manual/memory.texi: Document MTASC-safety properties.
42221         * manual/math.texi: Document MTASC-safety properties.
42223         * manual/locale.texi: Document MTASC-safety properties.
42225         * manual/llio.texi: Document MTASC-safety properties.
42227         * manual/libdl.texi: New.
42229         * manual/lang.texi: Document MTASC-safety properties.
42231         * manual/job.texi: Document MTASC-safety properties.
42233         * manual/getopt.texi: Document MTASC-safety properties.
42235         * manual/ctype.texi: Document MTASC-safety properties.
42237 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42239         [BZ #16046]
42240         * csu/libc-tls.c (static_map): Remove variable.
42241         (__libc_setup_tls): Use main executable's link map for TLS data.
42242         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42243         casing for LM_ID_BASE and GL(dl_nns).
42244         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42245         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42246         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42247         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42248         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42249         member.
42250         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42251         l_phnum members.
42253 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42255         * manual/debug.texi: Document MTASC-safety properties.
42257 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42259         [BZ #16510]
42260         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42261         of __x86_64__ when disabling x87 inline functions.
42263 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42265         * manual/charset.texi: Document MTASC-safety properties.
42267         * manual/crypt.texi: Document MTASC-safety properties.
42269         * manual/conf.texi: Document MTASC-safety properties.
42271         * manual/arith.texi: Document MTASC-safety properties.
42273         * manual/argp.texi: Document MTASC-safety properties.
42275         * manual/macros.texi: Introduce macros to document multi
42276         thread, asynchronous signal and asynchronous cancellation
42277         safety properties.
42278         * manual/intro.texi: Introduce the properties themselves.
42280 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42282         * sysdeps/sh/sh4/Makefile: New file.
42284 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42286         * math/gen-libm-test.pl ($srcdir): New variable.
42287         ($auto_input): Use it.
42289 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42291         [BZ #16506]
42292         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42293         access beyond array bounds when parsing netgroups file.
42295         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42296         the old buffer before realloc.
42298 2014-01-27  Allan McRae  <allan@archlinux.org>
42300         * po/fr.po: Update French translation from translation project.
42302 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42304         * sysdeps/sh/libm-test-ulps: Regenerate.
42306 2014-01-24  David S. Miller  <davem@davemloft.net>
42308         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42310 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42312         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42313         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42315 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42317         [BZ #16474]
42318         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42319         string pointers after reallocation.
42321 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42323         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42324         __SH4A__ instead of __SH_FPU_ANY__.
42326 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42328         * sysdeps/sh/fpu_control.h: New file.
42329         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42330         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42331         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42332         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42333         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42334         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42335         * sysdeps/sh/sys/ucontext.h: Remove.
42336         * sysdeps/sh/sys: Remove directory.
42338 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42340         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42341         s390/sys/ucontext.h.
42342         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42343         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42345 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42347         [BZ #15605]
42348         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42350 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42352         [BZ#16431]
42353         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42354         Adjust the vDSO correctly for internal calls.
42355         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42357 2014-01-20  Allan McRae  <allan@archlinux.org>
42359         * po/ca.po: Update Catalan translation from translation project.
42361 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42363         * sysdeps/s390/sotruss-lib.c: New file.
42365 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42367         [BZ#16430]
42368         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42369         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42370         local calls issues by not having a PLT stub required for IFUNC calls.
42371         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42373 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42375         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42376         * math/test-fpucw-static.c: Likewise.
42378 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42380         [BZ #16453]
42381         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42383 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42385         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42386         implementation for powerpc.
42388 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42390         [BZ #14782]
42391         * sysdeps/posix/system.c (__libc_system): Do not enable
42392         asynchronous cancellation.
42394 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42396         [BZ #16427]
42397         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42398         handling only for numbers special also in the IEEE case.
42400 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42402         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42404 2014-01-11  Allan McRae  <allan@archlinux.org>
42406         * po/bg.po: Update Bulgarian translation from translation project.
42408         * po/de.po: Update German translation from translation project.
42410 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42412         * sysdeps/generic/gcc-compat.h: New file.
42414 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42416         * benchtests/asin-inputs: Correct slow inputs.
42417         * benchtests/acos-inputs: Likewise.
42419 2014-01-10  Allan McRae  <allan@archlinux.org>
42421         * po:sv.po: Update Swedish translation from translation project.
42423         * po/vi.po: Update Vietnamese translation from translation project.
42425         * po/eo.po: Update Esperanto translation from translation project.
42427         * po/cs.po: Update Czech translation from translation project.
42429         * po/nl.po: Update Dutch translation from translation project.
42431         * po/pl.po: Update Polish translation from translation project.
42433         * po/ru.po: Update Russian translation from translation project.
42435         * po/uk.po: Update Ukrainian translation from translation project.
42437 2014-01-08  Brooks Moses  <bmoses@google.com>
42439         * elf/dl-load.c: Fix comment typo.
42441 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42443         * po/header.pot: Rename to...
42444         * po/pot.header: ... this.
42445         * po/Makefile: Use pot.header.
42447 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42448             Maxim Kuvyrkov  <maxim@kugelworks.com>
42450         [BZ #16394]
42451         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42452         SRC and DEST against LEN.
42454 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42456         [BZ #16414]
42457         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42458         implementation.
42459         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42461 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42465 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42467         [BZ #16408]
42468         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42469         for large positive arguments.
42471 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42473         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42475         * math/auto-libm-test-in: Mark various tests with
42476         xfail-rounding:ldbl-128ibm.
42477         * math/auto-libm-test-out: Regenerated.
42479         [BZ #16407]
42480         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42481         Increase overflow threshold.
42483 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42485         [BZ #14286]
42486         * stdio-common/vfprintf.c: Check for integer overflow.
42488 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42490         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42491         the first argument and return value of __tls_get_addr_internal.
42493 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42495         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42496         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42498 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42500         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42501         * sysdeps/s390/rtld-global-offsets.sym: New file.
42502         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42503         GLIBC_2.19 symbol.
42504         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42505         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42506         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42507         ... this.
42508         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42509         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42510         ... this.
42511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42512         Regenerate.
42513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42514         Regenerate.
42515         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42516         halfs of GPRs for high_gprs contexts.
42517         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42518         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42519         field.
42520         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42521         uc_flags field.
42522         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42523         64 bit versions:
42524         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42525         for high GPRs (uc_high_gprs) and for future extensions
42526         (__reserved).
42527         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42528         for future extensions (__reserved).
42529         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42530         64 bit versions:
42531         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42532         SC_HIGHGPRS offset definition.
42533         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42534         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42536         * Versions.def: Add GLIBC_2.19 for libpthread.
42537         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42538         siglongjmp for libpthread with GLIBC_2.19 symver.
42539         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42540         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42541         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42542         * sysdeps/s390/__longjmp.c: New file.
42543         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42544         * sysdeps/s390/longjmp.c: New file.
42545         * sysdeps/s390/setjmp.S: New file.
42546         * sysdeps/s390/sigjmp.S: New file.
42547         * sysdeps/s390/v1-longjmp.c: New file.
42548         * sysdeps/s390/v1-setjmp.h: New file.
42549         * sysdeps/s390/v1-sigjmp.c: New file.
42550         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42551         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42552         GLIBC_2.19 version.
42553         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42554         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42555         versioned symbols for ____longjmp_chk.
42556         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42557         Likewise.
42558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42559         Regenerate.
42560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42561         Regenerate.
42562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42563         Regenerate.
42564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42565         Regenerate.
42566         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42567         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42568         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42569         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42570         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42571         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42572         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42573         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42574         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42575         * sysdeps/s390/rtld-__longjmp.c: New file.
42576         * sysdeps/s390/rtld-setjmp.S: New file.
42578 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42580         [BZ #16400]
42581         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42582         Return -__logl (x) for small positive arguments without evaluating
42583         a polynomial.
42585 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42587         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42588         Rename to ...
42589         (__ptrace_peeksiginfo_args): ... this.
42590         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42591         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42592         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42594 2014-01-06  Allan McRae  <allan@archlinux.org>
42596         * inet/netinet/in.h: Fix typo in comment.
42598 2014-01-05  Andreas Jaeger  <aj@suse.de>
42600         * sysdeps/i386/fpu/libm-test-ulps: Update.
42602 2014-01-05  Allan McRae  <allan@archlinux.org>
42604         * po/libc.pot: Regenerated.
42606         * malloc/memusagestat.c: Fix gettext call formatting.
42608 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42610         * nscd/nscd.c: Improve usage() output.
42612 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42614         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42615         * sysdeps/unix/sysv/linux/configure: Regenerated.
42616         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42617         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42619 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42621         [BZ #16390]
42622         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42623         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42625 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42627         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42628         extra tokens at end of #undef directive.
42629         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42630         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42631         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42633 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42635         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42637         * math/auto-libm-test-in: Mark various tests with
42638         xfail-rounding:ldbl-128ibm.
42639         * math/auto-libm-test-out: Regenerated.
42641 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42643         [BZ #16386]
42644         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42645         numbers with subnormal high part when calculating exponent.
42647         [BZ #16385]
42648         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42649         fabs.
42651         [BZ #16384]
42652         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42653         M_LN2l.
42654         (__ieee754_acoshl): Use __log1pl not __log1p.
42656 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42658         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42659         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42660         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42661         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42662         (reused_arena, arena_get2): Convert to GNU style.
42663         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42664         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42665         (memalign_check, __malloc_set_state): Likewise.
42666         * malloc/mallocbug.c (main): Likewise.
42667         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42668         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42669         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42670         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42671         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42672         (__posix_memalign, malloc_info): Likewise.
42673         * malloc/malloc.h: Likewise.
42674         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42675         (mallochook, memalignhook, reallochook, mabort): Likewise.
42676         * malloc/mcheck.h: Likewise.
42677         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42678         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42679         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42680         * malloc/morecore.c (__default_morecore): Likewise.
42681         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42682         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42683         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42684         (print_and_abort): Likewise.
42685         * malloc/obstack.h: Likewise.
42686         * malloc/set-freeres.c (__libc_freeres): Likewise.
42687         * malloc/tst-mallocstate.c (main): Likewise.
42688         * malloc/tst-mtrace.c (main): Likewise.
42689         * malloc/tst-realloc.c (do_test): Likewise.
42691 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42693         [BZ #16366]
42694         * nscd/netgroupcache.c (do_notfound): New function.
42695         (addgetnetgrentX): Use it.
42697         [BZ # 16365]
42698         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42699         NSS_STATUS_NOTFOUND.
42701 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42703         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42706 2014-01-01  Allan McRae  <allan@archlinux.org>
42708         * scripts/update-copyrights: Update configure input file suffix.
42710         * NEWS: Update copyright year.
42711         * catgets/gencat.c: Likewise.
42712         * csu/version.c: Likewise.
42713         * debug/catchsegv.sh: Likewise.
42714         * debug/pcprofiledump.c: Likewise.
42715         * debug/xtrace.sh: Likewise.
42716         * elf/ldconfig.c: Likewise.
42717         * elf/ldd.bash.in: Likewise.
42718         * elf/pldd.c: Likewise.
42719         * elf/sotruss.ksh: Likewise.
42720         * elf/sprof.c: Likewise.
42721         * iconv/iconv_prog.c: Likewise.
42722         * iconv/iconvconfig.c: Likewise.
42723         * locale/programs/locale.c: Likewise.
42724         * locale/programs/localedef.c: Likewise.
42725         * login/programs/pt_chown.c: Likewise.
42726         * malloc/memusage.sh: Likewise.
42727         * malloc/memusagestat.c: Likewise.
42728         * malloc/mtrace.pl: Likewise.
42729         * manual/libc.texinfo: Likewise.
42730         * nscd/nscd.c: Likewise.
42731         * nss/getent.c: Likewise.
42732         * nss/makedb.c: Likewise.
42733         * posix/getconf.c: Likewise.
42734         * scripts/test-installation.pl: Likewise.
42736         * All files with FSF copyright notices: Update copyright dates
42737         using scripts/update-copyrights.
42738         * intl/plural.c: Regenerated.
42739         * locale/programs/charmap-kw.h: Likewise.
42740         * locale/programs/locfile-kw.h: Likewise.
42742 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42744         * sysdeps/unix/sysv/linux/configure: Regenerated.
42745         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42746         the linux/fanotify.h header.
42747         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42748         HAVE_LINUX_FANOTIFY_H is defined.
42750 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42752         * benchtests/cos-inputs: New inputs.
42753         * benchtests/sin-inputs: Likewise.
42755         * benchtests/atan-inputs: New inputs. Fix name of multiple
42756         precision fallback inputs.
42758         * benchtests/atanh-inputs: New inputs.
42759         * benchtests/tanh-inputs: Likewise.
42761         * benchtests/acosh-inputs: New inputs.
42762         * benchtests/asinh-inputs: Likewise.
42764         * benchtests/cosh-inputs: New inputs.
42765         * benchtests/sinh-inputs: Likewise.
42767         * benchtests/acos-inputs: Add more inputs.
42768         * benchtests/asin-inputs: Likewise.
42770 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42772         [BZ #16375]
42773         * manual/arith.texi: Fix spelling.
42774         * manual/charset.texi: Likewise.
42775         * manual/errno.texi: Likewise.
42776         * manual/filesys.texi: Likewise.
42777         * manual/lang.texi: Likewise.
42778         * manual/llio.texi: Likewise.
42779         * manual/locale.texi: Likewise.
42780         * manual/message.texi: Likewise.
42781         * manual/resource.texi: Likewise.
42782         * manual/search.texi: Likewise.
42783         * manual/setjmp.texi: Likewise.
42784         * manual/stdio.texi: Likewise.
42785         * manual/string.texi: Likewise.
42786         * manual/sysinfo.texi: Likewise.
42787         * manual/time.texi: Likewise.
42789 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42791         * po/sl.po: New file.
42793 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42795         * .gitignore: Add core/.gdbinit/.gdb_history.
42797 2013-12-27  Allan McRae  <allan@archlinux.org>
42799         [BZ #16369]
42800         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42801         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42803 2013-12-24  Brooks Moses  <bmoses@google.com>
42805         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42806         all compilers that claim C++98 compliance, not just GCC.
42807         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42808         Likewise.
42810 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42812         * NEWS: Restore accidentally deleted bug-fix entries.
42814 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42815             Ondřej Bílka  <neleai@seznam.cz>
42817         [BZ #15073]
42818         * malloc/malloc.c (_int_free): Perform sanity check only if we
42819         have_lock.
42821 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42823         [BZ #12986]
42824         * manual/stdio.texi (String Input Conversions): Clarify that character
42825         classes are not supported.
42827 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42831 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42833         [BZ #16337]
42834         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42835         Calculate results for small negative arguments directly rather
42836         than using reflection formula with special underflow handling.
42838         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42839         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42840         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42841         (fchflags): Likewise.
42842         (revoke): Likewise.
42843         (setlogin): Likewise.
42844         (sigaltstack): Likewise.
42845         (wait4): Likewise.
42846         (sigblock): Remove.
42847         (sigsetmask): Likewise.
42848         (wait3): Likewise.
42849         (waitpid): Likewise.
42850         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42851         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42852         file.
42853         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42854         * sysdeps/unix/bsd/Makefile: ... here.
42855         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42856         * sysdeps/unix/bsd/Versions: ... here.
42857         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42858         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42859         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42860         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42861         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42862         * sysdeps/unix/bsd/sigblock.c: ... here.
42863         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42864         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42865         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42866         * sysdeps/unix/bsd/sigvec.c: ... here.
42867         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42868         * sysdeps/unix/bsd/tcdrain.c: ... here.
42869         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42870         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42871         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42872         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42873         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42874         * sysdeps/unix/bsd/wait.c: ... here.
42875         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42876         * sysdeps/unix/bsd/wait3.c: ... here.
42877         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42878         * sysdeps/unix/bsd/waitpid.c: ... here.
42880 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42882         [BZ #16356]
42883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42884         round-to-nearest for [!USE_AS_EXPM1L].
42885         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42886         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42887         more tests of exp and exp10.  Expect some exp10 tests to miss
42888         exceptions or fail in directed rounding modes.
42889         * math/auto-libm-test-out: Regenerated.
42890         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42891         (exp10_test_tonearest): New function.
42892         (exp10_towardzero_test_data): New array.
42893         (exp10_test_towardzero): New function.
42894         (exp10_downward_test_data): New array.
42895         (exp10_test_downward): New function.
42896         (exp10_upward_test_data): New array.
42897         (exp10_test_upward): New function.
42898         (main): Call the new functions.
42899         * sysdeps/i386/fpu/libm-test-ulps: Update.
42900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42902 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42904         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42905         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42906         * math/auto-libm-test-out: Regenerated.
42907         * math/libm-test.inc (acosh_test_data): Add more tests.
42908         (atanh_test_data): Likewise.
42909         (ceil_test_data): Likewise.
42910         (copysign_test_data): Likewise.
42911         * sysdeps/i386/fpu/libm-test-ulps: Update.
42912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42914         * timezone/checktab.awk: Update from tzcode 2013i.
42915         * timezone/private.h: Likewise.
42916         * timezone/scheck.c: Likewise.
42917         * timezone/tzfile.h: Likewise.
42918         * timezone/tzselect.ksh: Likewise.
42919         * timezone/zdump.c: Likewise.
42920         * timezone/zic.c: Likewise.
42922         * math/auto-libm-test-in: Add tests of cpow.
42923         * math/auto-libm-test-out: Regenerated.
42924         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42925         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42926         mpc_cc_c.
42927         (func_calc_desc): Add mpc_cc_c union field.
42928         (test_functions): Add cpow.
42929         (special_fill_2pi): New function.
42930         (special_real_inputs): Add 2pi.
42931         (calc_generic_results): Handle mpc_cc_c.
42932         * sysdeps/i386/fpu/libm-test-ulps: Update.
42933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42935         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42936         csqrt, ctan and ctanh.
42937         * math/auto-libm-test-out: Regenerated.
42938         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42939         (TEST_COND_x86): Likewise.
42940         (ccos_test_data): Use AUTO_TESTS_c_c.
42941         (ccosh_test_data): Likewise.
42942         (cexp_test_data): Likewise.
42943         (clog_test_data): Likewise.
42944         (csqrt_test_data): Likewise.
42945         (ctan_test_data): Likewise.
42946         (ctan_tonearest_test_data): Likewise.
42947         (ctan_towardzero_test_data): Likewise.
42948         (ctan_downward_test_data): Likewise.
42949         (ctan_upward_test_data): Likewise.
42950         (ctanh_test_data): Likewise.
42951         (ctanh_tonearest_test_data): Likewise.
42952         (ctanh_towardzero_test_data): Likewise.
42953         (ctanh_downward_test_data): Likewise.
42954         (ctanh_upward_test_data): Likewise.
42955         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42956         mpc_c_c.
42957         (func_calc_desc): Add mpc_c_c union field.
42958         (FUNC_mpc_c_c): New macro.
42959         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42960         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42961         ctanh.
42962         (special_fill_min_subnorm_p120): New function.
42963         (special_real_inputs): Add min_subnorm_p120.
42964         (calc_generic_results): Handle mpc_c_c.
42965         * sysdeps/i386/fpu/libm-test-ulps: Update.
42966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42968 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42970         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42971         (do_sin_slow): New functions.
42972         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42973         (cslow2, csloww1, csloww2): Use the new functions.
42975         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42976         Use M to change sign of result instead of X.  Assume X is
42977         positive.
42978         (csloww1): Likewise.
42979         (__sin): Adjust.
42980         (__cos): Adjust.
42982         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42983         arguments A and DA.
42984         (__sin): Adjust.
42985         (__cos): Likewise.
42987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42988         (__cos): Likewise.
42989         (sloww1): Don't adjust sign of DX.
42990         (csloww1): Likewise.
42991         (sloww2): Use X directly and don't adjust sign of DX.
42992         (csloww2): Likewise.
42994 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42996         * math/auto-libm-test-in: Add tests of cabs and carg.
42997         * math/auto-libm-test-out: Regenerated.
42998         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42999         (carg_test_data): Likewise.
43000         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43001         mpc_c_f.
43002         (func_calc_desc): Add mpc_c_f union field.
43003         (test_functions): Add cabs and carg.
43004         (calc_generic_results): Handle mpc_c_f.
43006         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43007         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43008         as a macro and a compat symbol.
43009         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43010         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43011         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43012         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43013         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43014         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43015         not use .hidden.
43016         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43017         Likewise.
43018         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43019         Likewise.
43020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43021         Likewise.
43022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43023         Likewise.
43024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43025         Likewise.
43026         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43027         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43028         from GLIBC_2.3.2.
43030 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43034 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43036         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43037         trailing whitespace removed.
43038         * scripts/config.guess: Update to version 2013-11-29.
43039         * scripts/config.sub: Update to version 2013-10-01.
43041         * math/auto-libm-test-in: Add tests of sincos.
43042         * math/auto-libm-test-out: Regenerated.
43043         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43044         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43045         mpfr_f_11.
43046         (func_calc_desc): Add mpfr_f_11 union field.
43047         (test_functions): Add sincos.
43048         (calc_generic_results): Handle mpfr_f_11.
43049         * sysdeps/i386/fpu/libm-test-ulps: Update.
43050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43052 2013-12-19  Andreas Schwab  <schwab@suse.de>
43054         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43055         CALL_MCOUNT.
43056         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43057         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43058         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43060 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43062         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43063         * sysdeps/i386/fpu/libm-test-ulps: Update.
43064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43066         [BZ #16293]
43067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43068         round-to-nearest mode when using frndint.
43069         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43070         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43071         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43072         Likewise.
43073         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43074         sinh test to fail.
43075         * math/auto-libm-test-out: Regenerated.
43076         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43077         (TEST_COND_x86): Likewise.
43078         (expm1_tonearest_test_data): New array.
43079         (expm1_test_tonearest): New function.
43080         (expm1_towardzero_test_data): New array.
43081         (expm1_test_towardzero): New function.
43082         (expm1_downward_test_data): New array.
43083         (expm1_test_downward): New function.
43084         (expm1_upward_test_data): New array.
43085         (expm1_test_upward): New function.
43086         (main): Run the new test functions.
43087         * sysdeps/i386/fpu/libm-test-ulps: Update.
43088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43090         * include/features.h: Update comment documenting feature test
43091         macros.  Mention _DEFAULT_SOURCE in comment.
43092         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43093         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43094         _BSD_SOURCE and _SVID_SOURCE.
43095         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43096         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43097         !_SVID_SOURCE]: Likewise.
43098         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43099         (__USE_POSIX_IMPLICITLY): Define.
43100         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43101         (_POSIX_SOURCE): Undefine and redefine.
43102         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43103         (_POSIX_C_SOURCE): Likewise.
43104         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43105         (Feature Test Macros): Update documentation of default features.
43107 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43109         * benchtests/Makefile: Add bench-strtok.
43110         * benchtests/bench-strtok.c: New file: strtok benchtest.
43112 2013-12-19  Allan McRae  <allan@archlinux.org>
43114         * manual/install.texi: Suppress menu for plain text output.
43115         * INSTALL: Regenerated.
43117 2013-12-18  Brooks Moses  <bmoses@google.com>
43119         [BZ #15846]
43120         * misc/getauxval.c: Include errno.h.
43121         (__getauxval): Set errno to ENOENT if the requested type is not
43122         found.
43123         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43124         don't declare with __attribute_const__.
43125         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43126         * manual/startup.texi: Document that getauxval sets errno.
43128 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43130         * math/auto-libm-test-in: Add tests of jn and yn.
43131         * math/auto-libm-test-out: Regenerated.
43132         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43133         (yn_test_data): Likewise.
43134         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43135         mpfr_if_f.
43136         (func_calc_desc): Add mpfr_if_f union field.
43137         (FUNC_mpfr_if_f): New macro.
43138         (test_functions): Add jn and yn.
43139         (calc_generic_results): Assert type of second input for
43140         mpfr_ff_f.  Handle mpfr_if_f.
43141         (output_for_one_input_case): Disable all checking for arguments
43142         fitting floating-point types in case of an integer argument.
43143         * sysdeps/i386/fpu/libm-test-ulps: Update.
43144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43147         Don't expect fegetround reference in libm.so.
43149 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43151         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43152         $(config-cflags-nofma).
43154 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43156         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43157         * math/auto-libm-test-out: Regenerated.
43159         [BZ #16338]
43160         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43161         to determine exponent and adjust argument to have exponent of -1.
43162         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43163         log2.
43164         * math/auto-libm-test-out: Regenerated.
43165         * sysdeps/i386/fpu/libm-test-ulps: Update.
43166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43168 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43170         * manual/probes.texi: Remove cases when per-thread arenas are
43171         disabled.
43173 2013-12-18  Andreas Schwab  <schwab@suse.de>
43175         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43176         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43177         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43178         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43179         * sysdeps/i386/i686/multiarch/Makefile: Update.
43180         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43182 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43184         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43185         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43187 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43189         [BZ #15968]
43190         Support TZ transition times < 00:00:00.
43191         This is needed for version-3 tz-format files; it supports time
43192         stamps past 2037 for America/Godthab (the only entry in the tz
43193         database for which this change is relevant).
43194         * manual/time.texi (TZ Variable): Document transition times
43195         from -167:59:59 through -00:00:01.
43196         * time/tzset.c (tz_rule): Time of day is now signed.
43197         (__tzset_parse_tz): Parse negative time of day.
43199         Document TZ transition times >= 25:00:00.
43200         * manual/time.texi (TZ Variable): Document transition times from
43201         25:00:00 through 167:59:59.  These are already supported, and this
43202         support will help with version-3 tz-format files.
43204         * manual/time.texi (TZ Variable): Modernize North America example
43205         to reflect current (i.e., 2007-and-later) daylight saving rules.
43207         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43209 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43211         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43212         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43215         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43216         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43217         * sysdeps/unix/bsd/clock.c: Likewise.
43218         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43219         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43220         * sysdeps/unix/bsd/init-posix.c: Likewise.
43221         * sysdeps/unix/bsd/poll.c: Likewise.
43222         * sysdeps/unix/bsd/ptsname.c: Likewise.
43223         * sysdeps/unix/bsd/seekdir.c: Likewise.
43224         * sysdeps/unix/bsd/setegid.c: Likewise.
43225         * sysdeps/unix/bsd/seteuid.c: Likewise.
43226         * sysdeps/unix/bsd/setgid.c: Likewise.
43227         * sysdeps/unix/bsd/setrgid.c: Likewise.
43228         * sysdeps/unix/bsd/setruid.c: Likewise.
43229         * sysdeps/unix/bsd/setsid.c: Likewise.
43230         * sysdeps/unix/bsd/setuid.c: Likewise.
43231         * sysdeps/unix/bsd/sigaction.c: Likewise.
43232         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43233         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43234         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43235         * sysdeps/unix/bsd/telldir.c: Likewise.
43236         * sysdeps/unix/bsd/times.c: Likewise.
43237         * sysdeps/unix/bsd/usleep.c: Likewise.
43239         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43240         ($(objpfx)libbsd-compat.a): Remove rule.
43242         * include/features.h (__FAVOR_BSD): Do not define.
43243         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43244         features conflicting with POSIX.
43245         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43246         (_BSD_SOURCE): Remove description of not being a subset of other
43247         feature test macros.
43248         * manual/job.texi (getpgrp): Do not document BSD version.
43249         (getpgid): Do not document by reference to BSD getpgrp.
43250         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43251         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43252         * signal/signal.h [__FAVOR_BSD]: Likewise.
43253         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43254         instead of making contents conditional on [__FAVOR_BSD].
43255         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43257 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43261 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43263         [BZ #16314]
43264         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43265         values below 2**-450, not 2**-500.
43266         * math/auto-libm-test-in: Don't allow spurious underflow from
43267         hypot.
43268         * math/auto-libm-test-out: Regenerated.
43270         [BZ #16316]
43271         [BZ #16330]
43272         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43273         values of ha and hb and sort them after adjusting subnormal
43274         arguments.
43275         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43276         Likewise.
43277         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43278         values of ea and eb and sort them after adjusting subnormal
43279         arguments.
43280         * math/auto-libm-test-in: Do not expect some hypot tests of
43281         subnormals to fail.  Add more hypot tests.
43282         * math/auto-libm-test-out: Regenerated.
43284 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43286         [BZ #13304]
43287         * sysdeps/sh/s_fma.c: New file.
43288         * sysdeps/sh/s_fmaf.c: New file.
43289         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43290         version.
43291         * sysdeps/sh/Implies: Add sh/soft-fp.
43293 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43295         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43296         level of indirection to members `objname', `errstring', `malloced'.
43297         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43298         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43299         it as the __longjmp argument (just pass 1 instead).
43300         (_dl_catch_error): Initialize C with argument pointers and address of
43301         volatile local ERRCODE rather than copying values out of C at return.
43303 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43305         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43306         * math/auto-libm-test-out: Regenerated.
43307         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43308         (hypot_test_data): Likewise.
43309         (pow_test_data): Likewise.
43310         (pow_tonearest_test_data): Likewise.
43311         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43312         mpfr_ff_f.
43313         (func_calc_desc): Add mpfr_ff_f union field.
43314         (FUNC_mpfr_ff_f): New macro.
43315         (test_functions): Add atan2, hypot and pow.
43316         (special_fill_min): New function.
43317         (special_fill_minus_min): Likewise.
43318         (special_fill_min_subnorm): Likewise.
43319         (special_fill_minus_min_subnorm): Likewise.
43320         (special_real_inputs): Add min, -min, min_subnorm and
43321         -min_subnorm.
43322         (calc_generic_results): Handle mpfr_ff_f.
43323         * sysdeps/i386/fpu/libm-test-ulps: Update.
43324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43326 2013-12-16  Will Newton  <will.newton@linaro.org>
43328         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43329         (Aligned Memory Blocks): Add documentation for aligned_alloc
43330         and suggest it as an alternative to posix_memalign.
43331         (Hooks for Malloc): Document __memalign_hook is also called
43332         for aligned_alloc.  (Summary of Malloc): Add summary for
43333         aligned alloc.  Document __memalign_hook is also called
43334         for aligned_alloc.
43336 2013-12-16  Will Newton  <will.newton@linaro.org>
43338         * manual/memory.texi (Malloc Examples): Clarify default
43339         alignment documentation.  Suggest posix_memalign rather
43340         than memalign or valloc.
43341         (Aligned Memory Blocks): Remove suggestion to use memalign
43342         or valloc.  Remove obsolete comment about BSD.
43343         Document memalign errno values and mark the function obsolete.
43344         Document posix_memalign returned error codes.  Mark valloc
43345         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43346         called for posix_memalign and valloc.
43347         (Summary of Malloc): Add posix_memalign to function summary.
43348         __memalign_hook is also called for posix_memalign and valloc.
43350 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43352         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43353         TAYLOR_SIN.
43354         (__sin): Adjust.
43355         (__cos): Likewise.
43356         (sloww): Use mynumber union.  Expand ternary operator into
43357         if-else statements.
43358         (cslow): use mynumber union.
43360 2013-12-16  Allan McRae  <allan@archlinux.org>
43362         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43363         * configure: Regenerated.
43365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43367         [BZ #14120]
43368         * configure.ac: Added --enable-maintainer-mode. Check for
43369         autoconf when enabled.
43370         * configure: Regenerated.
43372         * nscd/nscd.service: New file.
43373         * nscd/nscd.tmpfiles: New file.
43375 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43377         [BZ #12100]
43378         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43379         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43380         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43381         (strstr): Add __strstr_sse2_unaligned ifunc.
43382         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43383         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43384         (strcasestr): Remove __strcasestr_sse42 ifunc.
43385         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43389 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43391         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43392         * sysdeps/sh/bits/fenv.h: ... here.
43393         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43395 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43397         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43400         hypotf multiarch implementations.
43401         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43402         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43403         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43404         multiarch hypot for PPC64.
43405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43408         multiarch hypotf for PPC64.
43410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43411         modff multiarch implementations.
43412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43415         multiarch modf for PPC64.
43416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43419         multiarch modff for PPC64.
43421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43422         and logl multiarch implementations.
43423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43426         multiarch logb for PPC64.
43427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43430         multiarch logb for PPC64.
43431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43434         multiarch logb for PPC64.
43436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43437         isinff multiarch implementation.
43438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43439         file.
43440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43442         multiarch isinf for PPC64.
43443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43444         file.
43445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43446         multiarch isinff for PPC64.
43448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43449         finitef multiarch implementation.
43450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43451         file.
43452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43454         multiarch finite for PPC64.
43455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43456         file.
43457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43458         multiarch finitef for PPC64.
43460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43461         lrint multiarch implementation.
43462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43463         file.
43464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43466         multiarch llrint for PPC64.
43467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43468         multiarch lrint for PPC64.
43470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43471         copysignf multiarch implementation.
43472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43473         file.
43474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43475         file.
43476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43477         multiarch copysign for PPC64.
43478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43479         multiarch copysignf for PPC64.
43481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43482         multiarch implementation.
43483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43484         file.
43485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43486         file.
43487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43488         file.
43489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43490         file.
43491         multiarch llround for PPC64.
43492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43493         multiarch trunc for PPC64.
43494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43495         multiarch truncf for PPC64.
43497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43498         multiarch implementation.
43499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43500         file.
43501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43502         file.
43503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43504         file.
43505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43506         file.
43507         multiarch llround for PPC64.
43508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43509         multiarch round for PPC64.
43510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43511         multiarch roundf for PPC64.
43513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43514         multiarch implementation.
43515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43516         file.
43517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43518         file.
43519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43520         file.
43521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43522         file.
43523         multiarch llround for PPC64.
43524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43525         multiarch floor for PPC64.
43526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43527         multiarch floorf for PPC64.
43529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43530         multiarch implementation.
43531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43532         file.
43533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43534         file.
43535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43536         file.
43537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43538         file.
43539         multiarch llround for PPC64.
43540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43541         multiarch ceil for PPC64.
43542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43543         multiarch ceilf for PPC64.
43545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43546         multiarch implementation.
43547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43548         file.
43549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43550         file.
43551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43552         file.
43553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43554         multiarch llround for PPC64.
43555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43556         multiarch lround for PPC64.
43558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43559         multiarch implementation.
43560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43563         file.
43564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43567         multiarch isnan for PPC64.
43568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43569         multiarch isnanf for PPC64.
43571         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43572         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43573         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43574         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43575         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43578         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43579         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43580         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43584         multiarch implementations.
43585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43586         (__libc_ifunc_impl_list): Likewise.
43587         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43588         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43590         multiarch stpcpy for PPC64.
43592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43593         multiarch implementations.
43594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43595         (__libc_ifunc_impl_list): Likewise.
43596         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43597         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43598         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43599         multiarch strcpy for PPC64.
43601         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43602         redefine function name.
43603         (_wordcopy_fwd_dest_aligned): Likewise.
43604         (_wordcopy_bwd_aligned): Likewise.
43605         (_wordcopy_bwd_dest_aligned): Likewise.
43606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43607         multiarch implementations.
43608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43609         (__libc_ifunc_impl_list): Likewise.
43610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43611         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43612         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43614         multiarch wcscpy for PPC64.
43616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43617         multiarch implementations.
43618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43619         (__libc_ifunc_impl_list): Likewise.
43620         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43621         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43622         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43623         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43624         multiarch wcscpy for PPC64.
43626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43627         multiarch implementations.
43628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43629         (__libc_ifunc_impl_list): Likewise.
43630         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43631         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43632         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43633         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43634         multiarch wcsrchr for PPC64.
43636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43637         multiarch implementations.
43638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43639         (__libc_ifunc_impl_list): Likewise.
43640         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43641         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43642         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43643         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43644         multiarch wcschr for PPC64.
43646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43647         multiarch implementations.
43648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43649         (__libc_ifunc_impl_list): Likewise.
43650         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43651         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43652         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43653         multiarch strchrnul for PPC64.
43655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43656         implementations.
43657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43658         (__libc_ifunc_impl_list): Likewise.
43659         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43660         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43661         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43662         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43663         strchr for PPC64.
43665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43666         implementations.
43667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43668         (__libc_ifunc_impl_list): Likewise.
43669         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43670         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43671         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43672         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43673         strncmp for PPC64.
43675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43676         multiarch implementations.
43677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43678         (__libc_ifunc_impl_list): Likewise.
43679         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43680         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43681         strncasecmp for PPC64.
43682         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43683         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43684         multiarch strncasecmp_l for PPC64.
43686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43687         multiarch implementations.
43688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43689         (__libc_ifunc_impl_list): Likewise.
43690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43691         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43692         multiarch strcasecmp for PPC64.
43693         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43694         file.
43695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43696         multiarch strcasecmp_l for PPC64.
43698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43699         implementations.
43700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43701         (__libc_ifunc_impl_list): Likewise.
43702         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43703         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43704         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43705         strnlen for PPC64.
43707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43708         implementations.
43709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43710         (__libc_ifunc_impl_list): Likewise.
43711         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43712         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43713         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43714         strlen for PPC64.
43716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43717         implementations.
43718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43719         (__libc_ifunc_impl_list): Likewise.
43720         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43721         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43722         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43723         rawmemrchr for PPC64.
43725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43726         implementation.
43727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43728         (__libc_ifunc_impl_list): Likewise.
43729         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43730         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43731         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43732         memrchr for PPC64.
43734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43735         implementation.
43736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43737         (__libc_ifunc_impl_list): Likewise.
43738         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43739         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43740         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43741         memchr for PPC64.
43743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43744         implementation.
43745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43746         (__libc_ifunc_impl_list): Likewise.
43747         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43748         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43749         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43750         mempcpy for PPC64.
43752         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43753         avoid cretion of __bzero symbol.
43754         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43755         Likewise.
43756         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43757         Likewise.
43758         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43759         Likewise.
43760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43761         multiarch implementations.
43762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43763         (__libc_ifunc_impl_list): Likewise.
43764         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43765         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43766         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43767         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43768         bzero for PPC32.
43769         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43770         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43771         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43772         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43773         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43774         memset for PPC64.
43775         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43777         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43779         implementations.
43780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43781         (__libc_ifunc_impl_list): Likewise.
43782         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43783         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43784         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43785         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43786         memcmp for PPC64.
43788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43789         multiarch for POWER/PPC64.
43790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43791         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43792         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43793         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43794         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43795         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43798         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43799         memcpy for PPC64.
43801         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43802         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43803         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43804         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43805         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43806         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43807         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43808         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43809         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43810         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43811         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43812         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43813         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43814         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43815         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43824 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43828 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43830         * benchtests/Makefile (bench): Add exp2 and log2.
43831         (LDLIBS-bench-exp2): Add -lm.
43832         (LDLIBS-bench-log2): Likewise.
43833         * benchtests/exp2-inputs: New inputs file.
43834         * benchtests/log2-inputs: New inputs file.
43835         * benchtests/log-inputs: Add new inputs.
43836         * benchtests/tan-inputs: Likewise.
43838 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43840         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43841         definition...
43842         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43843         (csloww2): ... from here.
43845         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43846         instead of structures.
43847         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43848         (POLYNOMIAL): Likewise.
43849         (TAYLOR_SLOW): Likewise.
43850         (__sin): Likewise.
43851         (__cos): Likewise.
43852         (slow1): Likewise.
43853         (slow2): Likewise.
43854         (sloww): Likewise.
43855         (sloww1); Likewise.
43856         (sloww2): Likewise.
43857         (bsloww1): Likewise.
43858         (bsloww2): Likewise.
43859         (cslow2): Likewise.
43860         (csloww): Likewise.
43861         (csloww1): Likewise.
43862         (csloww2): Likewise.
43864 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43866         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43867         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43868         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43869         * malloc/hooks.c (realloc_check): Likewise.
43871         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43872         * malloc/arena.c: Remove PER_THREAD conditional.
43873         [!PER_THREAD]: Remove code.
43874         (ptmalloc_unlock_all2): Likewise.
43875         (ptmalloc_init): Likewise.
43876         (_int_new_arena): Likewise.
43877         (arena_get2): Likewise.
43878         * malloc/hooks.c (__malloc_get_state): Likewise.
43879         (__malloc_set_state): Likewise.
43880         * malloc/malloc.c: Likewise.
43881         (struct malloc_state): Likewise.
43882         (struct malloc_par): Likewise.
43883         (__libc_realloc): Likewise.
43884         (__libc_mallopt): Likewise.
43886 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43888         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43890 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43892         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43893         macro to a function.  Check for zero perturb_byte.
43894         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43896         * malloc/malloc.c: (force_reg): Remove.
43897         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43898         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43899         force_reg by atomic_forced_read.
43900         * malloc/arena.c (ptmalloc_init): Likewise.
43901         * malloc/hooks.c (top_check): Likewise.
43903 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43907 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43911 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43913         * math/auto-libm-test-in: Add tests of lgamma.
43914         * math/auto-libm-test-out: Regenerated.
43915         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43916         (M_LOG_2_SQRT_PIl): Likewise.
43917         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43918         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43919         mpfr_f_f1.
43920         (func_calc_desc): Add mpfr_f_f1 union field.
43921         (ARGS1): New macro.
43922         (ARGS2): Likewise.
43923         (ARGS3): Likewise.
43924         (ARGS4): Likewise.
43925         (RET1): Likewise.
43926         (RET2): Likewise.
43927         (CALC): Likewise.
43928         (FUNC): Likewise.
43929         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43930         (test_functions): Add lgamma.
43931         (calc_generic_results): Handle mpfr_f_f1.
43932         * sysdeps/i386/fpu/libm-test-ulps: Update.
43933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43935 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43937         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43938         __mpn_add_n for PowerPC64/POWER7.
43939         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43940         __mpn_sub_n for PowerPC64/POWER7.
43942         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43943         __mpn_addmul_1 for PowerPC64.
43944         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43945         __mpn_submul_1 for PowerPC64.
43946         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43947         for PowerPC64.
43948         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43949         for PowerPC64.
43951 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43953         [BZ #15089]
43954         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43956 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43958         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43960         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43961         add multiarch folders.
43962         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43963         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43964         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43965         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43966         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43967         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43968         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43969         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43970         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43971         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43972         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43981         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43983         New file.
43984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43985         New file.
43986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43987         multiarch __ieee754_hypot for PowerPC32.
43988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43989         New file.
43990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43991         New file.
43992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43993         multiarch __ieee754_hypotf for PowerPC32.
43995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43996         long_double_symbol only if __logbl is defined.
43997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43998         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43999         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44000         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44002         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44003         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44004         path for implementation.
44005         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44006         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44008         logb, and logbl multiarch implementations for PowerPC32.
44009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44010         file.
44011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44012         file.
44013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44014         multiarch logb for PowerPC32.
44015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44016         file.
44017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44018         file.
44019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44020         multiarch logbf for PowerPC32.
44021         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44023         file.
44024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44025         multiarch logbl implementation for PowerPC32.
44027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44028         and modff multiarch implementations.
44029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44030         New file.
44031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44032         New file.
44033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44034         multiarch modf for PowerPC32.
44035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44036         New file.
44037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44038         New file.
44039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44040         multiarch modff for PowerPC32.
44042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44043         and lrintf multiarch implementations.
44044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44045         New file.
44046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44047         New file.
44048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44049         multiarch lrint for PowerPC32.
44050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44051         file: multiarch lrintf for PowerPC32.
44053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44054         and lroundf multiarch implementations.
44055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44056         New file.
44057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44058         New file.
44059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44060         New file.
44061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44062         multiarch lround for PowerPC32.
44063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44064         file: multiarch lroundf for PowerPC32.
44066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44067         copysign and copysignf multiarch implementations.
44068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44069         New file.
44070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44071         New file.
44072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44073         file: multiarch copysign for PowerPC32.
44074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44075         file: multiarch copysignf for PowerPC32.
44077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44078         and truncf multiarch implementations.
44079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44080         New file.
44081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44082         file.
44083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44084         multiarch trunc for PowerPC32.
44085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44086         New file.
44087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44088         New file.
44089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44090         multiarch truncf for PowerPC32.
44092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44093         and roundf multiarch implementations.
44094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44095         New file.
44096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44097         file.
44098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44099         multiarch round for PowerPC32.
44100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44101         New file.
44102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44103         New file.
44104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44105         multiarch roundf for PowerPC32.
44107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44108         and floorf multiarch implementations.
44109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44110         New file.
44111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44112         file.
44113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44114         multiarch floor for PowerPC32.
44115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44116         New file.
44117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44118         New file.
44119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44120         multiarch floorf for PowerPC32.
44122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44123         and ceilf multiarch implementations.
44124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44125         New file.
44126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44127         file.
44128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44129         multiarch ceil for PowerPC32.
44130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44131         New file.
44132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44133         file.
44134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44135         multiarch ceilf for PowerPC32.
44137         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44138         is defined.
44139         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44140         FINITEF is defined.
44141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44142         and finitef multiarch implementations.
44143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44144         New file.
44145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44146         file.
44147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44148         multiarch finite for PowerPC32.
44149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44150         New file.
44151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44152         file: multiarch finitef for PowerPC32.
44154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44155         and isinff multiarch implementations.
44156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44157         file.
44158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44159         file.
44160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44161         multiarch isinf for PowerPC32.
44162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44163         New file.
44164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44165         multiarch isinff for PowerPC32.
44167         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44168         alias when __isnan is defined.
44169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44170         and isnanf multiarch implementations.
44171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44172         file.
44173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44174         file.
44175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44176         file.
44177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44178         file.
44179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44180         multiarch isnan for PowerPC32.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44182         New file.
44183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44184         New file.
44185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44186         multiarch isnanf for PowerPC32.
44188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44189         and sqrtf multiarch implementations.
44190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44191         file.
44192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44193         file.
44194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44195         multiarch sqrt for PowerPC32.
44196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44197         file.
44198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44199         file.
44200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44201         multiarch sqrtf for PowerPC32.
44203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44204         and llroundf multiarch implementations.
44205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44206         New file.
44207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44208         New file.
44209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44210         New file.
44211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44212         file: multiarch llround for PowerPC32.
44213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44214         file: multiarch llroundf for PowerPC32.
44216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44217         multiarch PowerPC32 fpu implementations.
44218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44219         New file.
44220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44221         New file.
44222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44223         multiarch llrint for PowerPC32.
44224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44225         New file.
44226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44227         New file.
44228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44229         file.
44231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44233         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44234         file.
44235         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44236         file.
44237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44238         file.
44239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44240         multiarch wordcopy for PPC32.
44241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44242         wordcopy objects.
44243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44244         (__libc_ifunc_impl_list): Likewise.
44245         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44246         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44247         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44248         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44249         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44250         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44252         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44254         file.
44255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44256         file.
44257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44258         file.
44259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44260         multiarch wcscpy for PPC32.
44261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44262         multiarch objects.
44263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44264         (__libc_ifunc_impl_list): Likewise.
44265         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44266         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44267         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44268         sysdeps/powerpc/power6/wcscpy.c.
44270         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44272         file.
44273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44274         file.
44275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44276         file.
44277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44278         multiarch wcsrchr for PPC32.
44279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44280         multiarch objects.
44281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44282         (__libc_ifunc_impl_list): Likewise.
44283         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44284         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44285         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44286         sysdeps/powerpc/power6/wcsrchr.c.
44288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44289         file.
44290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44291         file.
44292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44294         multiarch wcschr for PPc32.
44295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44296         multiarch objects.
44297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44298         (__libc_ifunc_impl_list): Likewise.
44299         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44300         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44301         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44302         sysdeps/powerpc/power6/wcschr.c.
44304         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44305         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44306         file.
44307         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44308         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44309         file: multiarch strchr for PPC32.
44310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44311         multiarch objects.
44312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44313         (__libc_ifunc_impl_list): Likewise.
44315         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44316         name.
44317         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44318         file.
44319         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44320         file.
44321         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44322         multiarch strchrnul for PPC32.
44323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44324         multiarch objects.
44325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44326         (__libc_ifunc_impl_list): Likewise.
44328         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44329         file.
44330         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44331         multiarch strncasecmp for PPC32.
44332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44333         file.
44334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44335         multiarch strncasecmp_l for PPC32.
44336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44337         strncasecmp multiarch objects.
44338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44339         (__libc_ifunc_impl_list): Likewise.
44341         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44342         file.
44343         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44344         multiarch strncasecmp for PPC32.
44345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44346         New file.
44347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44348         multiarch strcasecmp_l for PPC32.
44349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44350         multiarch objects.
44351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44352         (__libc_ifunc_impl_list): Likewise.
44354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44355         file.
44356         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44357         file.
44358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44359         multiarch strncmp for PPC32.
44360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44361         multiarch objects.
44362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44363         (__libc_ifunc_impl_list): Likewise.
44365         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44366         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44367         file.
44368         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44369         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44371         multiarch objects.
44372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44373         (__libc_ifunc_impl_list): Likewise.
44375         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44376         file.
44377         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44378         file.
44379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44381         multiarch objects.
44382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44383         (__libc_ifunc_impl_list): Likewise.
44385         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44386         file.
44387         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44388         file.
44389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44390         multiarch rawmemchr for PPC32.
44391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44392         multiarch objects.
44393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44394         (__libc_ifunc_impl_list): Likewise.
44396         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44397         file.
44398         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44399         file.
44400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44401         file: memrchr multiarch for PPC32.
44402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44403         multiarch objects.
44404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44405         (__libc_ifunc_impl_list): Likewise.
44407         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44408         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44409         file.
44410         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44412         multiarch memchr for PPC32.
44413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44414         multiarch objects.
44415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44416         (__libc_ifunc_impl_list): Likewise.
44418         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44419         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44420         file.
44421         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44422         file.
44423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44424         file: multiarch mempcpy for PPC32.
44425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44426         multiarch objects.
44427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44428         (__libc_ifunc_impl_list): Likewise.
44430         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44431         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44432         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44433         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44434         multiarch bzero for PPC32.
44435         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44436         file.
44437         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44438         file.
44439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44440         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44441         file: multiarch memset for PPC32.
44442         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44444         memset multiarch objects.
44445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44446         (__libc_ifunc_impl_list): Likewise.
44448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44449         file.
44450         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44452         memcmp for PPC32.
44453         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44455         multiarch objects.
44456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44457         (__libc_ifunc_impl_list): Likewise.
44459         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44462         file.
44463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44464         file.
44465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44466         file.
44467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44468         multiarch memcpy for PPC32.
44469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44470         multiarch objects.
44471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44472         (__libc_ifunc_impl_list): Likewise.
44474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44475         support multiarch for POWER/PPC32.
44476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44477         Likewise.
44478         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44480         Implies file to make multiarch folder appers before the fpu and
44481         default folder for power4 configuration.
44483 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44485         * scripts/bench.pl: Append volatile keyword to type.
44487 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44489         * sysdeps/sh/sotruss-lib.c: New file.
44490         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44492 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44496 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44498         [BZ #6810]
44499         * math/w_tgamma.c: Include <errno.h>.
44500         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44501         * math/w_tgammaf.c: Include <errno.h>.
44502         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44503         * math/w_tgammal.c: Include <errno.h>.
44504         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44505         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44506         underflow.  Add more tgamma tests.
44507         * math/auto-libm-test-out: Regenerated.
44508         * sysdeps/i386/fpu/libm-test-ulps: Update.
44509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44511         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44512         sin, sinh, tan, tanh, tgamma, y0 and y1.
44513         * math/auto-libm-test-out: Regenerated.
44514         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44515         (TEST_COND_x86): Likewise.
44516         (M_E2l): Remove macro.
44517         (M_E3l): Likewise.
44518         (M_2_SQRT_PIl): Likewise.
44519         (M_SQRT_PIl): Likewise.
44520         (M_1_DIV_El): Likewise.
44521         (log_test_data): Use AUTO_TESTS_f_f.
44522         (log10_test_data): Likewise.
44523         (log1p_test_data): Likewise.
44524         (log2_test_data): Likewise.
44525         (sin_test_data): Likewise.
44526         (sin_tonearest_test_data): Likewise.
44527         (sin_towardzero_test_data): Likewise.
44528         (sin_downward_test_data): Likewise.
44529         (sin_upward_test_data): Likewise.
44530         (sinh_test_data): Likewise.
44531         (sinh_tonearest_test_data): Likewise.
44532         (sinh_towardzero_test_data): Likewise.
44533         (sinh_downward_test_data): Likewise.
44534         (sinh_upward_test_data): Likewise.
44535         (tan_test_data): Likewise.
44536         (tan_tonearest_test_data): Likewise.
44537         (tan_towardzero_test_data): Likewise.
44538         (tan_downward_test_data): Likewise.
44539         (tan_upward_test_data): Likewise.
44540         (tanh_test_data): Likewise.
44541         (tgamma_test_data): Likewise.
44542         (y0_test_data): Likewise.
44543         (y1_test_data): Likewise.
44544         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44545         (special_real_inputs): Add pi/4.
44546         * sysdeps/i386/fpu/libm-test-ulps: Update.
44547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44549 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44551         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44552         "longjmp_target" static probes.
44553         (__longjmp): Rename to __longjmp_symbol.
44554         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44555         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44556         on which longjmp to generate.
44557         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44558         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44559         probe.
44560         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44561         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44562         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44563         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44564         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44565         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44567         __longjmp_symbol based on which __longjmp to generate.
44568         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44569         probe.
44570         (setjmp): Rename to setjmp_symbol.
44571         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44572         (_setjmp): Rename to _setjmp_symbol.
44573         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44574         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44575         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44576         which setjmp to generate.
44577         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44578         "longjmp_target" static probes.
44580 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         * benchtests/README: Add note about output arguments.
44583         * benchtests/bench-sincos.c: Remove file.
44584         * benchtests/sincos-inputs: New file.
44585         * scripts/bench.pl: Identify output arguments and define
44586         static variables for them.
44588         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44590         [BZ #15941]
44591         * Makefile (INSTALL): Add install-plain.texi as the primary
44592         dependency.
44593         * manual/install-plain.texi: New file.
44594         * manual/install.texi: Include node directive only for
44595         non-plaintext output.
44597 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44599         * stdlib/longlong.h: Update from GCC.
44601         [BZ #6807]
44602         [BZ #15901]
44603         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44604         * math/w_j0f.c (y0f): Likewise.
44605         * math/w_j0l.c (__y0l): Likewise.
44606         * math/w_j1.c (y1): Likewise.
44607         * math/w_j1f.c (y1f): Likewise.
44608         * math/w_j1l.c (__y1l): Likewise.
44609         * math/w_jn.c (yn): Likewise.
44610         * math/w_jnf.c (ynf): Likewise.
44611         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44612         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44613         value for Bessel function domain errors outside _SVID_ mode.
44614         Adjust sign of return value for yn (negative integer, 0).
44615         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44616         by zero in return for negative x and set sign appropriately for
44617         negative n.
44618         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44619         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44620         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44621         expectations in error cases.
44622         (y1_test_data): Likewise.
44623         (yn_test_data): Likewise.
44624         * sysdeps/i386/fpu/libm-test-ulps: Update.
44625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44627 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44629         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44630         "64" to "64-v1".  Add "64-v2".
44631         (abi-64-options): Rename to ...
44632         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44633         (abi-64-condition): Rename to ...
44634         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44635         (abi-64-ld-soname): Rename to ...
44636         (abi-64-v1-ld-soname): ... this.
44637         (abi-64-v2-options): Define.
44638         (abi-64-v2-condition): Likewise.
44639         (abi-64-v2-ld-soname): Likewise.
44640         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44641         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44646 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44647             Alan Modra  <amodra@gmail.com>
44649         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44650         New versions for use with the ELFv2 ABI.
44651         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44652         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44653         declaration.
44654         (struct La_ppc64v2_retval): Likewise.
44655         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44656         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44657         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44658         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44659         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44660         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44661         Do not save or restore CR.
44662         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44663         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44664         return values for ELFv2 ABI.  Fix location of FPR return registers.
44665         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44666         updated values for _CALL_ELF == 2.
44667         (La_regs, La_retval, int_retval): Likewise.
44669 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44671         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44672         (FRAME_MIN_SIZE_PARM): Likewise.
44673         (FRAME_BACKCHAIN): Likewise.
44674         (FRAME_CR_SAVE): Likewise.
44675         (FRAME_LR_SAVE): Likewise.
44676         (FRAME_TOC_SAVE): Likewise.
44677         (FRAME_PARM_SAVE): Likewise.
44678         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44679         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44680         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44681         (call_mcount_parm_offset): New macro.
44682         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44683         (PROF): Use symbolic stack frame offsets.
44684         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44685         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44686         Redefine in terms of FRAME_MIN_SIZE.
44687         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44688         (_dl_profile_resolve): Likewise.  Update comment.
44689         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44690         symbols stack frame offsets.
44691         (__sigsetjmp): Likewise.
44692         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44693         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44694         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44695         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44698         (FRAME_BACKCHAIN): Remove.
44699         (FRAME_CR_SAVE): Likewise.
44700         (FRAME_LR_SAVE): Likewise.
44701         (FRAME_COMPILER_DW): Likewise.
44702         (FRAME_LINKER_DW): Likewise.
44703         (FRAME_TOC_SAVE): Likewise.
44704         (FRAME_PARM_SAVE): Likewise.
44705         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44706         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44707         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44709         (CHECK_SP): Use symbolic stack frame offsets.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44711         zone" instead of caller's parameter save area for temp storage.
44712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44713         Likewise.  Also, use symbolic stack frame offsets.
44714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44715         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44716         our own stack frame instead of the caller's.
44717         (__socket): Use symbolic stack frame offsets.
44719 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44720             Alan Modra  <amodra@gmail.com>
44722         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44723         Define.
44724         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44725         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44726         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44727         New function.
44728         (elf_machine_fixup_plt): Call it.
44729         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44730         reloc arguments.
44731         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44733         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44734         r2 before calling target.
44736 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44737             Alan Modra  <amodra@gmail.com>
44739         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44740         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44741         versions of macros to support ELFv2 ABI.
44742         (LOCALENTRY): New macro.
44743         (ENTRY, EALIGN): Use it.
44744         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44745         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44746         fall through into ENTRY entry point.
44747         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44748         Only define if _CALL_ELF != 2.
44750         (elf_machine_matches_host): Verify ABI version matches.
44751         (RTLD_START): Use LOCALENTRY.
44752         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44753         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44754         (PLT_ENTRY_WORDS): New macro.
44755         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44756         (elf_machine_runtime_setup): Support ELFv2 ABI.
44757         (elf_machine_fixup_plt): Likewise.
44758         (elf_machine_plt_conflict): Likewise.
44759         (resolve_ifunc): Likewise.
44760         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44762         Likewise.
44763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44764         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44766         (makecontext): Support ELFv2 ABI.
44767         * elf/elf.h (EF_PPC64_ABI): Define.
44769 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44771         * sysdeps/powerpc/powerpc64/sysdep.h
44772         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44773         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44774         (ENTRY) [ASSEMBLER]: ... but instead here ...
44775         (EALIGN) [ASSEMBLER]: ... and here.
44776         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44777         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44778         (ENTRY_2) [!ASSEMBLER]: Use it.
44779         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44780         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44781         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44782         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44783         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44785         Use PPC64_LOAD_FUNCPTR.
44787         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44789 2013-12-04  Alan Modra  <amodra@gmail.com>
44791         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44792         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44793         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44794         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44797         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44798         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44799         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44800         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44801         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44803 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44806         (__makecontext): Fix incorrect CFI when backtracing out of
44807         context created via makecontext.
44808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44809         (__setcontext): Fix incorrect CFI during switch to new context.
44810         (__novec_setcontext): Likewise.
44812 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44814         [BZ #4772]
44815         * time/strptime_l.c (__strptime_internal): Allow modifiers
44816         in strptime.
44817         * time/tst-strptime.c (day_tests): Add testcase.
44819 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44821         * scripts/bench.pl: Skip over blank lines.
44823 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44825         [BZ #926]
44826         * manual/time.texi (Calendar Time): Clarify what timezone functions
44827         use.
44829 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44833 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44835         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44836         implementation.
44837         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44838         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44839         * debug/memset_chk.c (__memset_chk): Likewise.
44840         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44841         * debug/strncpy_chk.c: Likewise.
44843 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44845         [BZ #15268]
44846         [BZ #15425]
44847         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44848         (__ieee754_exp): For possibly underflowing results, check size of
44849         result and force underflow exception if required.
44850         * math/auto-libm-test-in: Add more tests of exp.
44851         * math/auto-libm-test-out: Regenerated.
44852         * sysdeps/i386/fpu/libm-test-ulps: Update.
44853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44855         [BZ #16283]
44856         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44857         * math/w_exp2f.c (__exp2f): Likewise.
44858         * math/w_exp2l.c (__exp2l): Likewise.
44859         * math/auto-libm-test-in: Do not allow missing errno on exp2
44860         underflow.
44861         * math/auto-libm-test-out: Regenerated.
44863 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44865         [BZ #16274]
44866         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44867         handle filename validation.
44868         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44869         (do_open): Delete.
44871 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44873         [BZ #6786]
44874         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44875         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44876         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44877         <float.h>.
44878         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44880         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44882         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44883         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44885         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44886         Add more erfc tests.
44887         * math/auto-libm-test-out: Regenerated.
44888         * sysdeps/i386/fpu/libm-test-ulps: Update.
44889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44891         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44892         exp2, expm1, j0 and j1.
44893         * math/auto-libm-test-out: Regenerated.
44894         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44895         (erfc_test_data): Likewise.
44896         (exp_test_data): Likewise.
44897         (exp_tonearest_test_data): Likewise.
44898         (exp_towardzero_test_data): Likewise.
44899         (exp_downward_test_data): Likewise.
44900         (exp_upward_test_data): Likewise.
44901         (exp10_test_data): Likewise.
44902         (exp2_test_data): Likewise.
44903         (expm1_test_data): Likewise.
44904         (j0_test_data): Likewise.
44905         (j1_test_data): Likewise.
44906         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44907         (input_flag_type): Add flag_xfail_rounding.
44908         (input_flags): Add xfail-rounding.
44909         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44910         (output_for_one_input_case): Handle flag_xfail_rounding.
44911         * sysdeps/i386/fpu/libm-test-ulps: Update.
44912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44914 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44916         [BZ #16289]
44917         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44918         division by 0.
44920 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44922         [BZ #16195]
44923         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44924         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44925         (STAP_PROBE0): New macro.
44926         (STAP_PROBE1): Likewise.
44927         (STAP_PROBE2): Likewise.
44928         (STAP_PROBE3): Likewise.
44929         (STAP_PROBE4): Likewise.
44931 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44933         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44935 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44937         * benchtests/Makefile (bench): Add sqrt.
44938         (LDLIBS-bench-sqrt): New.
44939         * benchtests/sqrt-input: New.
44941 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44943         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44944         (GAIH_EAI): Likewise.
44945         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44946         (gaih_inet): Likewise.
44947         (getaddrinfo): Don't use GAIH_EAI.
44949         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44950         (struct gaih): Remove definition.
44952 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44954         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44955         Use HERRNOP directly.
44957 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44961 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44963         * math/gen-auto-libm-tests.c (test_functions): Add more
44964         single-argument functions.
44965         (special_fill_pi_2): New function.
44966         (special_fill_minus_pi_2): Likewise.
44967         (special_fill_pi_6): Likewise.
44968         (special_fill_minus_pi_6): Likewise.
44969         (special_fill_pi_3): Likewise.
44970         (special_fill_2pi_3): Likewise.
44971         (special_fill_e): Likewise.
44972         (special_fill_1_e): Likewise.
44973         (special_fill_e_minus_1): Likewise.
44974         (special_real_inputs): Add more special inputs.
44975         (output_for_one_input_case): Do not require ERANGE on underflow to
44976         zero if round-to-nearest result does not underflow to zero, unless
44977         exact results required.
44978         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44979         atan, atanh, cbrt, cos and cosh.
44980         * math/auto-libm-test-out: Regenerated.
44981         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44982         (acos_tonearest_test_data): Likewise.
44983         (acos_towardzero_test_data): Likewise.
44984         (acos_downward_test_data): Likewise.
44985         (acos_upward_test_data): Likewise.
44986         (acosh_test_data): Likewise.
44987         (asin_test_data): Likewise.
44988         (asin_tonearest_test_data): Likewise.
44989         (asin_towardzero_test_data): Likewise.
44990         (asin_upward_test_data): Likewise.
44991         (asinh_test_data): Likewise.
44992         (atan_test_data): Likewise.
44993         (atanh_test_data): Likewise.
44994         (cbrt_test_data): Likewise.
44995         (cos_test_data): Likewise.
44996         (cos_tonearest_test_data): Likewise.
44997         (cos_towardzero_test_data): Likewise.
44998         (cos_downward_test_data): Likewise.
44999         (cos_upward_test_data): Likewise.
45000         (cosh_test_data): Likewise.
45001         (cosh_tonearest_test_data): Likewise.
45002         (cosh_towardzero_test_data): Likewise.
45003         (cosh_downward_test_data): Likewise.
45004         (cosh_upward_test_data): Likewise.
45005         * sysdeps/i386/fpu/libm-test-ulps: Update.
45006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45008 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45010         [BZ #6787]
45011         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45012         * math/w_exp10f.c (__exp10f): Likewise.
45013         * math/w_exp10l.c (__exp10l): Likewise.
45014         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45015         errno settings in existing tests.
45017         [BZ #14032]
45018         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45019         precision control set to double precision.
45020         * sysdeps/i386/fpu/w_sqrt.c: New file.
45021         * math/auto-libm-test-in: Add more tests.
45022         * math/auto-libm-test-out: Update.
45024         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45025         (sqrt_test_tonearest): New function.
45026         (sqrt_towardzero_test_data): New variable.
45027         (sqrt_test_towardzero): New function.
45028         (sqrt_downward_test_data): New variable.
45029         (sqrt_test_downward): New function.
45030         (sqrt_upward_test_data): New variable.
45031         (sqrt_test_upward): New function.
45032         (main): Call the new functions.
45034         * math/gen-auto-libm-tests.c: New file.
45035         * math/auto-libm-test-in: Likewise.
45036         * math/auto-libm-test-out: New generated file.
45037         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45038         variables.
45039         (%beautify): Add generated representations of zero.
45040         (top level): Set $auto_input and call parse_auto_input.
45041         (beautify): Remove trailing "f" from hex float constants.
45042         (parse_args): Handle XFAIL_TEST.
45043         (convert_condition): New function.
45044         (or_value): Likewise.
45045         (or_cond_value): Likewise.
45046         (generate_testfile): Handle AUTO_TESTS_* lines.
45047         (parse_auto_input): New function.
45048         * math/libm-test.inc (XFAIL_TEST): New macro.
45049         (ERRNO_UNCHANGED): Update value.
45050         (ERRNO_EDOM): Likewise.
45051         (ERRNO_ERANGE): Likewise.
45052         (IGNORE_RESULT): Likewise.
45053         (TEST_COND_flt_32): New macro.
45054         (TEST_COND_dbl_64): Likewise.
45055         (TEST_COND_ldbl_96_intel): Likewise.
45056         (TEST_COND_ldbl_96_m68k): Likewise.
45057         (TEST_COND_ldbl_128): Likewise.
45058         (TEST_COND_ldbl_128ibm): Likewise.
45059         (TEST_COND_long32): Likewise.
45060         (TEST_COND_long64): Likewise.
45061         (TEST_COND_before_rounding): Likewise.
45062         (TEST_COND_after_rounding): Likewise.
45063         (enable_test): Handle XFAIL_TEST flag.
45064         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45065         with finite results.
45066         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45067         auto-libm-test-out.
45069 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45070             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45072         [BZ #16214]
45073         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45074         __tls_get_addr_internal instead of __tls_get_offset in order to
45075         avoid GOT pointer dependency.  Make rtld export
45076         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45077         __tls_get_addr since we are a __tls_get_offset platform.
45078         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45079         GOT pointer being set up before.
45080         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45082 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45084         * manual/math.texi (Errors in Math Functions): Document accuracy
45085         goals.
45087         [BZ #15004]
45088         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45089         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45092         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45105         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45106         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45107         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45108         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45109         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45110         Likewise.
45111         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45112         Likewise.
45113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45114         Likewise.
45115         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45116         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45117         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45118         atomic-feupdateenv and flt-rounds.
45119         * sysdeps/powerpc/nofpu/Versions (libc): Add
45120         __atomic_feholdexcept, __atomic_feclearexcept,
45121         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45122         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45123         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45124         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45125         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45126         here.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45128         Update.
45130         * manual/arith.texi (FP Exceptions): Document that exceptions may
45131         not be raised when matherr is used.
45132         (Math Error Reporting): Document overflow in directed rounding
45133         modes.  Document that errno may not be set when finite values are
45134         returned on overflow.  Document intent to set errno on underflow
45135         only for underflow to zero.
45137         [BZ #16271]
45138         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45139         round-to-nearest then adjust result for other rounding modes.
45140         * include/fenv.h (fegetround): Use libm_hidden_proto.
45141         * math/fegetround.c (fegetround): Use libm_hidden_def.
45142         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45143         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45144         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45145         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45146         Likewise.
45147         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45148         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45149         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45150         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45152 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45154         [BZ #16077]
45155         * nss/Versions (libnss_files): Add
45156         _nss_files_gethostbyname3_r.
45157         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45158         New function.
45159         (HOST_DB_LOOKUP): Remove macro.
45160         (_nss_files_gethostbyname_r): Implement function without the
45161         HOST_DB_LOOKUP macro.
45162         (_nss_files_gethostbyname2_r): Likewise.
45164 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45166         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45168 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45170         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45171         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45172         warning.
45174 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45176         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45177         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45178         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45179         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45180         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45181         __fe_nomask_env_priv and attribute_hidden.
45182         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45183         (libc_feupdateenv_test_ppc): Likewise.
45184         (libc_feresetround_ppc): Likewise.
45185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45186         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45187         compat_symbol macro.
45188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45189         (__fe_nomask_env): Likewise.
45190         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45192 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45194         * string/Makefile: Remove ifunc tests.
45195         * string/test-string.h: Define TEST_IFUNC.
45196         * string/test-bcopy-ifunc.c: Remove.
45197         * string/test-bzero-ifunc.c: Likewise.
45198         * string/test-memccpy-ifunc.c: Likewise.
45199         * string/test-memchr-ifunc.c: Likewise.
45200         * string/test-memcmp-ifunc.c: Likewise.
45201         * string/test-memcpy-ifunc.c: Likewise.
45202         * string/test-memmem-ifunc.c: Likewise.
45203         * string/test-memmove-ifunc.c: Likewise.
45204         * string/test-mempcpy-ifunc.c: Likewise.
45205         * string/test-memrchr-ifunc.c: Likewise.
45206         * string/test-memset-ifunc.c: Likewise.
45207         * string/test-rawmemchr-ifunc.c: Likewise.
45208         * string/test-stpcpy-ifunc.c: Likewise.
45209         * string/test-stpncpy-ifunc.c: Likewise.
45210         * string/test-strcasecmp-ifunc.c: Likewise.
45211         * string/test-strcasestr-ifunc.c: Likewise.
45212         * string/test-strcat-ifunc.c: Likewise.
45213         * string/test-strchr-ifunc.c: Likewise.
45214         * string/test-strchrnul-ifunc.c: Likewise.
45215         * string/test-strcmp-ifunc.c: Likewise.
45216         * string/test-strcpy-ifunc.c: Likewise.
45217         * string/test-strcspn-ifunc.c: Likewise.
45218         * string/test-strlen-ifunc.c: Likewise.
45219         * string/test-strncasecmp-ifunc.c: Likewise.
45220         * string/test-strncat-ifunc.c: Likewise.
45221         * string/test-strncmp-ifunc.c: Likewise.
45222         * string/test-strncpy-ifunc.c: Likewise.
45223         * string/test-strnlen-ifunc.c: Likewise.
45224         * string/test-strpbrk-ifunc.c: Likewise.
45225         * string/test-strrchr-ifunc.c: Likewise.
45226         * string/test-strspn-ifunc.c: Likewise.
45227         * string/test-strstr-ifunc.c: Likewise.
45229 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45231         * benchtests/Makefile: Remove ifunc tests.
45232         * benchtests/bench-string.h: Define TEST_IFUNC.
45233         * benchtests/bench-bcopy-ifunc.c: Remove.
45234         * benchtests/bench-bzero-ifunc.c: Likewise.
45235         * benchtests/bench-memccpy-ifunc.c: Likewise.
45236         * benchtests/bench-memchr-ifunc.c: Likewise.
45237         * benchtests/bench-memcmp-ifunc.c: Likewise.
45238         * benchtests/bench-memcpy-ifunc.c: Likewise.
45239         * benchtests/bench-memmem-ifunc.c: Likewise.
45240         * benchtests/bench-memmove-ifunc.c: Likewise.
45241         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45242         * benchtests/bench-memrchr-ifunc.c: Likewise.
45243         * benchtests/bench-memset-ifunc.c: Likewise.
45244         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45245         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45246         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45247         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45248         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45249         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45250         * benchtests/bench-strcat-ifunc.c: Likewise.
45251         * benchtests/bench-strchr-ifunc.c: Likewise.
45252         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45253         * benchtests/bench-strcmp-ifunc.c: Likewise.
45254         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45255         * benchtests/bench-strcpy-ifunc.c: Likewise.
45256         * benchtests/bench-strcspn-ifunc.c: Likewise.
45257         * benchtests/bench-strlen-ifunc.c: Likewise.
45258         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45259         * benchtests/bench-strncat-ifunc.c: Likewise.
45260         * benchtests/bench-strncmp-ifunc.c: Likewise.
45261         * benchtests/bench-strncpy-ifunc.c: Likewise.
45262         * benchtests/bench-strnlen-ifunc.c: Likewise.
45263         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45264         * benchtests/bench-strrchr-ifunc.c: Likewise.
45265         * benchtests/bench-strsep-ifunc.c: Likewise.
45266         * benchtests/bench-strspn-ifunc.c: Likewise.
45267         * benchtests/bench-strstr-ifunc.c: Likewise.
45269 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45271         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45275         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45276         * rt/aio.h: Likewise.
45277         * sysdeps/gnu/bits/utmp.h: Likewise.
45278         * sysdeps/gnu/bits/utmpx.h: Likewise.
45279         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45280         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45281         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45282         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45283         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45284         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45285         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45286         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45287         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45288         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45289         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45290         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45291         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45293         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45294         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45295         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45296         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45297         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45298         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45299         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45300         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45301         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45302         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45303         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45305         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45306         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45307         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45308         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45309         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45310         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45311         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45312         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45313         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45314         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45315         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45316         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45317         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45318         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45319         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45320         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45322 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45324         [BZ #16245]
45325         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45326         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45328 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45330         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45331         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45332         Likewise.
45334 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45337         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45338         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45339         (__fesetround): Remove define.
45340         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45341         rounding and exceptions handling.
45342         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45343         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45344         (__fe_nomask_env): Likewise.
45345         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45346         __fegetround instead of fegetround.
45347         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45348         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45350 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45352         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45353         it's there.
45355         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45357 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45359         [BZ #11157]
45360         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45361         (encrypt_r): Likewise.
45362         * malloc/obstack.h (obstack_free): Likewise.
45363         * posix/unistd.h (encrypt): Likewise.
45365 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45367         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45368         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45369         DL_CALL_DT_FINI() that call the functions directly.
45370         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45371         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45372         * elf/dl-fini.c: Likewise.
45374 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45376         * malloc/hooks.c (memalign_check): Add alignment rounding.
45377         * malloc/malloc.c (_mid_memalign): New function.
45378         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45379         Implement by calling _mid_memalign.
45380         * manual/probes.texi (Memory Allocation Probes): Remove
45381         memory_valloc_retry and memory_pvalloc_retry.
45383 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45385         * locale/programs/locarchive.c (open_archive): Add const
45386         qualifier to ARCHIVEFNAME and copy default fname to
45387         DEFAULT_FNAME.
45389         [BZ #15601]
45390         * libio/tst-widetext.input: Rename Oriya to Odia.
45391         * locale/iso-639.def: Likewise.
45393         * manual/probes.texi (Mathematical Function Probes): Add
45394         documentation for sin, cos, asin and acos probes.
45395         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45396         (__sin32): Add slowasin probe.
45397         (__cos32): Add slowacos probe.
45398         (__mpsin): Add slowsin probe.
45399         (__mpcos): Add slowcos probe.
45401 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45403         [BZ #15483]
45404         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45405         thread-local __sim_exceptions_thread and global
45406         __sim_exceptions_global.
45407         (__sim_disabled_exceptions): Change to thread-local
45408         __sim_disabled_exceptions_thread and global
45409         __sim_disabled_exceptions_global.
45410         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45411         and global __sim_round_mode_global.
45412         (__simulate_exceptions): Use thread-local floating-point state and
45413         set global state from it as needed.
45414         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45415         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45416         __sim_round_mode_thread.
45417         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45418         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45419         and global __sim_exceptions_global.
45420         (__sim_disabled_exceptions): Change to thread-local
45421         __sim_disabled_exceptions_thread and global
45422         __sim_disabled_exceptions_global.
45423         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45424         and global __sim_round_mode_global.
45425         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45426         (SIM_SET_GLOBAL): Likewise.
45427         * sysdeps/powerpc/soft-fp/sfp-machine.h
45428         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45429         __sim_round_mode_thread.
45430         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45431         __sim_disabled_exceptions_thread.
45432         (__sim_exceptions): Change to __sim_exceptions_thread.
45433         (__sim_disabled_exceptions): Change to
45434         __sim_disabled_exceptions_thread.
45435         (__sim_round_mode): Change to __sim_round_mode_thread.
45436         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45437         thread-local floating-point state and set global state from it as
45438         needed.
45439         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45440         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45441         (__sim_disabled_exceptions): Remove extern declaration.
45442         (feenableexcept): Use thread-local floating-point state and set
45443         global state from it as needed.
45444         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45445         extern declaration.
45446         (__sim_disabled_exceptions): Likewise.
45447         (__sim_round_mode): Likewise.
45448         (__fegetenv): Use thread-local floating-point state.
45449         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45450         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45451         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45452         floating-point state and set global state from it as needed.
45453         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45454         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45455         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45456         Likewise.
45457         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45458         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45459         Likewise.
45460         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45461         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45462         Use __sim_round_mode_thread.
45463         * math/test-fenv-tls.c: New file.
45464         * math/Makefile (tests): Add test-fenv-tls.
45465         ($(objpfx)test-fenv-tls): Depend on
45466         $(common-objpfx)nptl/libpthread.so.
45468 2013-11-19  Andreas Schwab  <schwab@suse.de>
45470         * locale/programs/locale.c (show_info): Decode wordarray elements.
45471         * locale/categories.def (LC_MONETARY): Add element for
45472         _NL_MONETARY_CRNCYSTR.
45473         * locale/C-monetary.c (conversion_rate): New variable.
45474         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45475         element.
45477 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45479         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45480         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45482 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45484         * elf/Makefile (tst-auxv): New test.
45485         * elf/tst-auxv.c: New
45486         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45488 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45490         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45491         (hidden_proto): Caller changed.
45492         (hidden_tls_proto): New macro.
45493         (libc_hidden_tls_proto): Likewise.
45494         (rtld_hidden_tls_proto): Likewise.
45495         (libm_hidden_tls_proto): Likewise.
45496         (libresolv_hidden_tls_proto): Likewise.
45497         (librt_hidden_tls_proto): Likewise.
45498         (libdl_hidden_tls_proto): Likewise.
45499         (libnss_files_hidden_tls_proto): Likewise.
45500         (libnsl_hidden_tls_proto): Likewise.
45501         (libnss_nisplus_hidden_tls_proto): Likewise.
45502         (libutil_hidden_tls_proto): Likewise.
45504 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45506         [BZ #10253]
45507         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45508         (decompose_rpath): Defer expansion to fillin_rpath.
45509         (_dl_init_paths): Pass linkmap to fillin_rpath.
45511 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45513         * benchtests/Makefile: Add strsep.
45514         * benchtests/bench-strsep.c: New file: strsep benchtest.
45515         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45517 2013-11-18  Andreas Schwab  <schwab@suse.de>
45519         * locale/programs/locale.c (show_info) [case byte]: Check for
45520         '\377' instead of '\177'.
45521         * locale/C-monetary.c (not_available): Always use "\377".
45522         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45523         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45524         detect unavailable sign_posn locale elements.
45525         * locale/localeconv.c (__localeconv): For grouping and
45526         mon_grouping handle "\177" and "\377" like no grouping.
45527         (INT_ELEM): New macro.  Use it to set all numeric members.
45528         * locale/programs/ld-monetary.c (monetary_read)
45529         <tok_mon_grouping>: Normalize single -1 to the empty string.
45530         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45531         Likewise.
45533 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45535         [BZ #16055]
45536         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45537         when we match (nil).
45538         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45540 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45542         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45543         (NO_TEST_INLINE): Update value.
45544         (ERRNO_UNCHANGED): Likewise.
45545         (ERRNO_EDOM): Likewise.
45546         (ERRNO_ERANGE): Likewise.
45547         (IGNORE_RESULT): Likewise.
45548         (check_float_internal): Check signs of NaN results if
45549         TEST_NAN_SIGN used.
45550         (check_complex): Pass TEST_NAN_SIGN flag through to second
45551         check_float_internal call.
45552         (copysign_test_data): Add tests with quiet NaNs as second
45553         argument.  Use TEST_NAN_SIGN.
45554         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45555         TEST_NAN_SIGN.
45556         (signbit_test_data): Add tests of quiet NaN argument.
45557         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45559         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45560         $ignore_result.
45561         (parse_args): Handle function results specified as IGNORE.
45562         * math/libm-test.inc (IGNORE_RESULT): New macro.
45563         (check_float_internal): Do not check numerical result if flag
45564         IGNORE_RESULT set.
45565         (check_complex): Pass through IGNORE_RESULT to second
45566         check_float_internal call.
45567         (check_int): Do not check numerical result if flag IGNORE_RESULT
45568         set.
45569         (check_long): Likewise.
45570         (check_bool): Likewise.
45571         (check_longlong): Likewise.
45572         (lrint_test_data): Add tests of infinite and NaN arguments.
45573         (lrint_tonearest_test_data): Likewise.
45574         (lrint_towardzero_test_data): Likewise.
45575         (lrint_downward_test_data): Likewise.
45576         (lrint_upward_test_data): Likewise.
45577         (llrint_test_data): Likewise.
45578         (llrint_tonearest_test_data): Likewise.
45579         (llrint_towardzero_test_data): Likewise.
45580         (llrint_downward_test_data): Likewise.
45581         (llrint_upward_test_data): Likewise.
45582         (lround_test_data): Likewise.
45583         (llround_test_data): Likewise.
45585         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45586         (ERRNO_UNCHANGED): Update value.
45587         (ERRNO_EDOM): Likewise.
45588         (ERRNO_ERANGE): Likewise.
45589         (NO_TEST_INLINE_FLOAT): New macro.
45590         (NO_TEST_INLINE_DOUBLE): Likewise.
45591         (enable_test): New function.
45592         (RUN_TEST_f_f): Check enable_test before running test.
45593         (RUN_TEST_2_f): Likewise.
45594         (RUN_TEST_fff_f): Likewise.
45595         (RUN_TEST_c_f): Likewise.
45596         (RUN_TEST_f_f1): Likewise.
45597         (RUN_TEST_fF_f1): Likewise.
45598         (RUN_TEST_fI_f1): Likewise.
45599         (RUN_TEST_ffI_f1): Likewise.
45600         (RUN_TEST_c_c): Likewise.
45601         (RUN_TEST_cc_c): Likewise.
45602         (RUN_TEST_f_i): Likewise.
45603         (RUN_TEST_f_i_tg): Likewise.
45604         (RUN_TEST_ff_i_tg): Likewise.
45605         (RUN_TEST_f_b): Likewise.
45606         (RUN_TEST_f_b_tg): Likewise.
45607         (RUN_TEST_f_l): Likewise.
45608         (RUN_TEST_f_L): Likewise.
45609         (RUN_TEST_fFF_11): Likewise.
45610         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45611         conditionals.
45612         (cosh_test_data): Likewise.
45613         (exp_test_data): Likewise.
45614         (expm1_test_data): Likewise.
45615         (hypot_test_data): Likewise.
45616         (pow_test_data): Likewise.
45617         (sinh_test_data): Likewise.
45618         (tanh_test_data): Likewise.
45619         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45620         flags argument.
45622         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45623         tests with quiet NaN input and output.
45624         (acosh_test_data): Likewise.
45625         (asin_test_data): Likewise.
45626         (asinh_test_data): Likewise.
45627         (atan_test_data): Likewise.
45628         (atanh_test_data): Likewise.
45629         (atan2_test_data): Likewise.
45630         (cbrt_test_data): Likewise.
45631         (cos_test_data): Likewise.
45632         (cosh_test_data): Likewise.
45633         (erf_test_data): Likewise.
45634         (erfc_test_data): Likewise.
45635         (exp_test_data): Likewise.
45636         (exp10_test_data): Likewise.
45637         (exp2_test_data): Likewise.
45638         (expm1_test_data): Likewise.
45639         (hypot_test_data): Likewise.
45640         (j0_test_data): Likewise.
45641         (j1_test_data): Likewise.
45642         (jn_test_data): Likewise.
45643         (lgamma_test_data): Likewise.
45644         (log_test_data): Likewise.
45645         (log10_test_data): Likewise.
45646         (log1p_test_data): Likewise.
45647         (log2_test_data): Likewise.
45648         (pow_test_data): Likewise.
45649         (scalb_test_data): Likewise.
45650         (sin_test_data): Likewise.
45651         (sincos_test_data): Likewise.
45652         (sinh_test_data): Likewise.
45653         (tan_test_data): Likewise.
45654         (tanh_test_data): Likewise.
45655         (tgamma_test_data): Likewise.
45656         (y0_test_data): Likewise.
45657         (y1_test_data): Likewise.
45658         (yn_test_data): Likewise.
45660         [BZ #16167]
45661         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45662         argument being NaN and avoid computations with second argument in
45663         that case.
45664         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45665         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45668 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45670         * locale/iso-639.def: Add Chitwani Tharu (the).
45672 2013-11-14  Andreas Schwab  <schwab@suse.de>
45674         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45675         word instead of empty string.
45677 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45680         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45682         (__fe_nomask_env): Likewise.
45684 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45686         * benchtests/bench-timing.h: Include time.h.
45688 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45690         [BZ #15997]
45691         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45692         to 3.4.0 for x32.
45693         * sysdeps/unix/sysv/linux/configure: Regenerated.
45695 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45697         [BZ #16151]
45698         * stdlib/strtod_l.c (round_and_return): Do not consider
45699         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45700         exponent one less than half the least subnormal exponent.
45701         * stdlib/test-strtod-round-data: Add more tests.
45702         * stdlib/tst-strtod-round.c (tests): Regenerated.
45704 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45706         [BZ #14143]
45707         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45708         (__fe_mask_env): Likewise.
45709         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45710         libm_hidden_proto and add function prototype.
45711         (__fe_mask_env): Add function prototype.
45712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45713         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45715         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45717         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45719 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45721         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45722         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45724 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45726         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45727         of htab_find_slot().
45729 2013-11-11  David S. Miller  <davem@davemloft.net>
45731         [BZ #16150]
45732         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45733         symbol in the non-vis3 case in static builds.
45734         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45735         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45736         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45737         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45739 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45741         [BZ #387]
45742         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45743         it is empty.
45745 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45747         * benchtests/Makefile: Add bench-strtod.
45748         * benchtests/bench-strtod.c: New file: strtod benchtest
45750 2013-11-11  Andreas Schwab  <schwab@suse.de>
45752         [BZ #16153]
45753         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45754         terminating NUL in key length.
45756 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45758         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45759         Add artificial ODP entry for vDSO symbol for PPC64.
45760         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45761         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45763 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45765         [BZ #15374]
45766         * nss/getent.c (services_keys): Recognize services starting with digit.
45768 2013-11-06  David S. Miller  <davem@davemloft.net>
45770         [BZ #15985]
45771         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45772         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45774 2013-11-06  Will Newton  <will.newton@linaro.org>
45776         * manual/memory.texi (Malloc Examples): Remove register
45777         keyword from examples.
45779 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45781         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45783 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45785         [BZ #6981]
45786         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45787         depending on [__GCC_IEC_559 > 0].
45788         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45789         depending on [__GCC_IEC_559_COMPLEX > 0].
45791 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45793         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45794         to iso-639.def.
45796 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45798         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45800 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45802         [BZ #16112]
45803         * malloc/malloc (malloc_info): Do not handle first bin as
45804         special case.
45806 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45808         * locale/iso-639.def: Add Central Nahuatl (nhn).
45810 2013-11-01  Bruno Haible  <bruno@clisp.org>
45812         [BZ #7003]
45813         * manual/math.texi (BSD Random): Specify range upper bound as
45814         in POSIX.
45816 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45818         * locale/iso-639.def: Add Meadow Mari (mhr).
45820 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45822         [BZ #14752], [BZ #15763]
45823         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45824         Validate name.
45825         * rt/tst_shm.c: Add test for escaping directory.
45827 2013-10-31  Andreas Schwab  <schwab@suse.de>
45829         [BZ #15917]
45830         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45831         followed by 'x' as part of digit sequence.
45832         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45834 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45836         [BZ #16037]
45837         * configure.ac: allow GNU Make 4.0 and greater.
45838         * configure: Regenerated.
45840 2013-10-30  Will Newton  <will.newton@linaro.org>
45842         [BZ #16038]
45843         * malloc/hooks.c (memalign_check): Limit alignment to the
45844         maximum representable power of two.
45845         * malloc/malloc.c (__libc_memalign): Likewise.
45846         * malloc/tst-memalign.c (do_test): Add test for very
45847         large alignment values.
45848         * malloc/tst-posix_memalign.c (do_test): Likewise.
45850 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45852         [BZ #11087]
45853         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45854         (munmap_chunk): Likewise.
45855         (mremap_chunk): Likewise.
45857 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45859         [BZ #15799]
45860         * stdlib/div.c (div): Remove obsolete code.
45861         * stdlib/ldiv.c (ldiv): Likewise.
45862         * stdlib/lldiv.c (lldiv): Likewise.
45864 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45866         [BZ #16071]
45867         * nss/nss_files/files-XXX.c (get_contents_ret): New
45868         enumerator.
45869         (get_contents): New function.
45870         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45872 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45874         * configure.in: Moved to ...
45875         * configure.ac: ... here. Change reference to configure.in
45876         to configure.ac.
45877         * sysdeps/arm/preconfigure.ac: ... here.
45878         configure.in to configure.ac.
45879         * sysdeps/gnu/configure.in: Moved to ...
45880         * sysdeps/gnu/configure.ac: ... here.
45881         * sysdeps/i386/configure.in: Moved to ...
45882         * sysdeps/i386/configure.ac: ... here.
45883         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45884         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45885         * sysdeps/mach/configure.in: Moved to ...
45886         * sysdeps/mach/configure.ac: ... here.
45887         * sysdeps/mach/hurd/configure.in: Moved to ...
45888         * sysdeps/mach/hurd/configure.ac: ... here.
45889         * sysdeps/powerpc/configure.in: Moved to ...
45890         * sysdeps/powerpc/configure.ac: ... here.
45891         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45892         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45893         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45894         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45895         * sysdeps/s390/s390-32/configure.in: Moved to ...
45896         * sysdeps/s390/s390-32/configure.ac: ... here.
45897         * sysdeps/s390/s390-64/configure.in: Moved to ...
45898         * sysdeps/s390/s390-64/configure.ac: ... here.
45899         * sysdeps/sh/configure.in: Moved to ...
45900         * sysdeps/sh/configure.ac: ... here.
45901         * sysdeps/sparc/configure.in: Moved to ...
45902         * sysdeps/sparc/configure.ac: ... here.
45903         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45904         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45905         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45906         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45907         * sysdeps/x86_64/configure.in: Moved to ...
45908         * sysdeps/x86_64/configure.ac: ... here.
45909         * sysdeps/x86_64/preconfigure.in: Moved to ...
45910         * sysdeps/x86_64/preconfigure.ac: ... here.
45911         * aclocal.m4: Change reference to configure.in to configure.ac.
45912         * config.h.in: Likewise.
45913         * manual/install.texi: Likewise.
45914         * manual/maint.texi: Likewise.
45915         * Makefile: Likewise.
45916         * malloc/Makefile: Likewise.
45917         * nscd/Makefile: Likewise.
45918         * Makeconfig: Change reference to configure.in and
45919         preconfigure.in to configure.ac and preconfigure.ac
45920         respectively.
45921         * INSTALL: Regenerated.
45922         * configure: Likewise.
45923         * sysdeps/gnu/configure: Likewise.
45924         * sysdeps/i386/configure: Likewise.
45925         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45926         * sysdeps/mach/configure: Likewise.
45927         * sysdeps/mach/hurd/configure: Likewise.
45928         * sysdeps/powerpc/configure: Likewise.
45929         * sysdeps/powerpc/powerpc32/configure: Likewise.
45930         * sysdeps/powerpc/powerpc64/configure: Likewise.
45931         * sysdeps/s390/s390-32/configure: Likewise.
45932         * sysdeps/s390/s390-64/configure: Likewise.
45933         * sysdeps/sh/configure: Likewise.
45934         * sysdeps/sparc/configure: Likewise.
45935         * sysdeps/unix/sysv/linux/configure: Likewise.
45936         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45937         * sysdeps/x86_64/configure: Likewise.
45938         * sysdeps/x86_64/preconfigure: Likewise.
45940 2013-10-29  Andreas Schwab  <schwab@suse.de>
45942         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45944 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45946         * benchtests/pow-inputs: Add new inputs.
45948         * benchtests/exp-inputs: Add new inputs.
45950         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45951         conditional check for return value.
45952         (__cos32): Likewise.
45954 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45956         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45957         to provide a boost for large inputs with word alignment.
45958         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45959         implementation based on optimized PPC64 strcpy.
45960         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45961         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45962         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45963         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45965 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45967         [BZ #2801]
45968         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45970 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45972         [BZ #14876]
45973         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45974         * time/tst-strptime.c (day_tests): Add testcase.
45976 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45978         [BZ #14029]
45979         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45981 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45983         [BZ #16074]
45984         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45985         MAP_FAILED on error.
45987 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45989         [BZ #16072]
45990         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45991         heap for large requests.
45993 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45995         [BZ #9954]
45996         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45997         result if the result has no associated interface.
45998         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45999         interface for all 127.X.Y.Z addresses.
46001 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46003         * locale/iso-639.def: Add Ligurian (lij)
46005 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46007         [BZ #15825]
46008         * sunrpc/rpc_main.c: Document rpcgen -5.
46010 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46012         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46014 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46016         [BZ #10278]
46017         * posix/glob.c: Match only directories when trailing slash is present.
46018         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46019         (main): Add testcase.
46021 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46023         [BZ #15670]
46024         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46026 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46028         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46029         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46030         AUTH_DES and cindex for FIPS 140-2.
46031         (DES Encryption): Add cindex FIPS 46-3.
46033         * locale/locarchive.h (struct locarhandle): Add fname.
46034         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46035         if an optional argument was specified to --list-archive,
46036         otherwise NULL.
46037         * locale/programs/locarchive.c (show_archive_content): Take new
46038         argument fname and pass it via ah.fname to open_archive.
46039         * locale/programs/localedef.h: Update decl.
46040         (open_archive): If AH->fname is non-null, open that file
46041         rather than the default file name, and don't ignore ENOENT.
46042         (create_archive): Set AH.fname to NULL.
46043         (delete_locales_from_archive): Likewise.
46044         (add_locales_to_archive): Likewise.
46045         * locale/programs/locfile.c (write_all_categories): Likewise.
46047 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46048             Aldy Hernandez  <aldyh@redhat.com>
46050         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46051         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46052         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46053         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46054         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46055         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46056         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46057         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46058         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46059         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46060         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46061         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46062         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46063         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46064         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46065         Likewise.
46066         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46067         Likewise.
46068         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46069         Likewise.
46070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46071         Likewise.
46072         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46073         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46074         Likewise.
46075         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46076         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46077         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46078         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46079         Likewise.
46080         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46081         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46082         * sysdeps/powerpc/preconfigure: Likewise.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46084         Likewise.
46085         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46086         Replace contents of file by #include of <fenv_libc.h>.
46087         * sysdeps/powerpc/soft-fp/sfp-machine.h
46088         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46089         and <sys/prctl.h>.
46090         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46091         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46092         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46093         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46100         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46103         Allow copysignl PLT reference to be missing.
46105 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46106             Joseph Myers  <joseph@codesourcery.com
46108         [BZ #15948]
46109         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46110         single character.
46111         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46113 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46115         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46116         * elf/tst-tls1.c: Likewise.
46117         * elf/tst-tls10.h: Likewise.
46118         * elf/tst-tls14.c: Likewise.
46119         * elf/tst-tls2.c: Likewise.
46120         * elf/tst-tls3.c: Likewise.
46121         * elf/tst-tls4.c: Likewise.
46122         * elf/tst-tls5.c: Likewise.
46123         * elf/tst-tls6.c: Likewise.
46124         * elf/tst-tls7.c: Likewise.
46125         * elf/tst-tls8.c: Likewise.
46126         * elf/tst-tls9.c: Likewise.
46127         * elf/tst-tlsmod1.c: Likewise.
46128         * elf/tst-tlsmod13.c: Likewise.
46129         * elf/tst-tlsmod13a.c: Likewise.
46130         * elf/tst-tlsmod14a.c: Likewise.
46131         * elf/tst-tlsmod16a.c: Likewise.
46132         * elf/tst-tlsmod16b.c: Likewise.
46133         * elf/tst-tlsmod2.c: Likewise.
46134         * elf/tst-tlsmod3.c: Likewise.
46135         * elf/tst-tlsmod4.c: Likewise.
46136         * elf/tst-tlsmod5.c: Likewise.
46137         * elf/tst-tlsmod6.c: Likewise.
46139 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46141         [BZ #12486]
46142         * malloc/malloc.c: remove checks for statistics.
46144 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46146         [BZ #15277]
46147         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46148         * inet/tst-network.c: Add testcase.
46150 2013-10-17  Andreas Schwab  <schwab@suse.de>
46152         [BZ #15218]
46153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46154         to determine canonical name.
46156 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46158         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46159         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46160         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46161         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46162         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46163         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46164         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46165         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46166         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46167         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46168         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46169         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46170         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46171         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46172         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46173         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46175         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46176         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46177         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46178         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46179         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46180         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46181         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46182         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46183         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46184         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46185         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46186         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46187         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46188         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46189         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46190         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46191         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46192         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46193         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46194         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46195         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46196         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46198         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46199         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46200         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46201         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46202         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46203         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46204         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46205         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46209         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46210         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46211         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46212         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46213         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46214         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46215         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46217 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46219         [BZ #16041]
46220         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46221         make result into a quiet NaN.
46223 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46225         * soft-fp/adddf3.c: Fix horizontal whitespace.
46226         * soft-fp/addsf3.c: Likewise.
46227         * soft-fp/addtf3.c: Likewise.
46228         * soft-fp/divdf3.c: Likewise.
46229         * soft-fp/divsf3.c: Likewise.
46230         * soft-fp/divtf3.c: Likewise.
46231         * soft-fp/double.h: Likewise.
46232         * soft-fp/eqdf2.c: Likewise.
46233         * soft-fp/eqsf2.c: Likewise.
46234         * soft-fp/eqtf2.c: Likewise.
46235         * soft-fp/extenddftf2.c: Likewise.
46236         * soft-fp/extended.h: Likewise.
46237         * soft-fp/extendsfdf2.c: Likewise.
46238         * soft-fp/extendsftf2.c: Likewise.
46239         * soft-fp/extendxftf2.c: Likewise.
46240         * soft-fp/fixdfdi.c: Likewise.
46241         * soft-fp/fixdfsi.c: Likewise.
46242         * soft-fp/fixdfti.c: Likewise.
46243         * soft-fp/fixsfdi.c: Likewise.
46244         * soft-fp/fixsfsi.c: Likewise.
46245         * soft-fp/fixsfti.c: Likewise.
46246         * soft-fp/fixtfdi.c: Likewise.
46247         * soft-fp/fixtfsi.c: Likewise.
46248         * soft-fp/fixtfti.c: Likewise.
46249         * soft-fp/fixunsdfdi.c: Likewise.
46250         * soft-fp/fixunsdfsi.c: Likewise.
46251         * soft-fp/fixunsdfti.c: Likewise.
46252         * soft-fp/fixunssfdi.c: Likewise.
46253         * soft-fp/fixunssfsi.c: Likewise.
46254         * soft-fp/fixunssfti.c: Likewise.
46255         * soft-fp/fixunstfdi.c: Likewise.
46256         * soft-fp/fixunstfsi.c: Likewise.
46257         * soft-fp/fixunstfti.c: Likewise.
46258         * soft-fp/floatdidf.c: Likewise.
46259         * soft-fp/floatdisf.c: Likewise.
46260         * soft-fp/floatditf.c: Likewise.
46261         * soft-fp/floatsidf.c: Likewise.
46262         * soft-fp/floatsisf.c: Likewise.
46263         * soft-fp/floatsitf.c: Likewise.
46264         * soft-fp/floattidf.c: Likewise.
46265         * soft-fp/floattisf.c: Likewise.
46266         * soft-fp/floattitf.c: Likewise.
46267         * soft-fp/floatundidf.c: Likewise.
46268         * soft-fp/floatundisf.c: Likewise.
46269         * soft-fp/floatunditf.c: Likewise.
46270         * soft-fp/floatunsidf.c: Likewise.
46271         * soft-fp/floatunsisf.c: Likewise.
46272         * soft-fp/floatunsitf.c: Likewise.
46273         * soft-fp/floatuntidf.c: Likewise.
46274         * soft-fp/floatuntisf.c: Likewise.
46275         * soft-fp/floatuntitf.c: Likewise.
46276         * soft-fp/fmadf4.c: Likewise.
46277         * soft-fp/fmasf4.c: Likewise.
46278         * soft-fp/fmatf4.c: Likewise.
46279         * soft-fp/gedf2.c: Likewise.
46280         * soft-fp/gesf2.c: Likewise.
46281         * soft-fp/getf2.c: Likewise.
46282         * soft-fp/ledf2.c: Likewise.
46283         * soft-fp/lesf2.c: Likewise.
46284         * soft-fp/letf2.c: Likewise.
46285         * soft-fp/muldf3.c: Likewise.
46286         * soft-fp/mulsf3.c: Likewise.
46287         * soft-fp/multf3.c: Likewise.
46288         * soft-fp/negdf2.c: Likewise.
46289         * soft-fp/negsf2.c: Likewise.
46290         * soft-fp/negtf2.c: Likewise.
46291         * soft-fp/op-1.h: Likewise.
46292         * soft-fp/op-2.h: Likewise.
46293         * soft-fp/op-4.h: Likewise.
46294         * soft-fp/op-8.h: Likewise.
46295         * soft-fp/op-common.h: Likewise.
46296         * soft-fp/quad.h: Likewise.
46297         * soft-fp/single.h: Likewise.
46298         * soft-fp/soft-fp.h: Likewise.
46299         * soft-fp/sqrtdf2.c: Likewise.
46300         * soft-fp/sqrtsf2.c: Likewise.
46301         * soft-fp/sqrttf2.c: Likewise.
46302         * soft-fp/subdf3.c: Likewise.
46303         * soft-fp/subsf3.c: Likewise.
46304         * soft-fp/subtf3.c: Likewise.
46305         * soft-fp/truncdfsf2.c: Likewise.
46306         * soft-fp/trunctfdf2.c: Likewise.
46307         * soft-fp/trunctfsf2.c: Likewise.
46308         * soft-fp/trunctfxf2.c: Likewise.
46309         * soft-fp/unorddf2.c: Likewise.
46310         * soft-fp/unordsf2.c: Likewise.
46311         * soft-fp/unordtf2.c: Likewise.
46313 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46315         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46316         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46318 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46320         * elf/dl-libc.c: Clear initfini list after freeing.
46322 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46324         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46325         * soft-fp/addsf3.c: Likewise.
46326         * soft-fp/addtf3.c: Likewise.
46327         * soft-fp/divdf3.c: Likewise.
46328         * soft-fp/divsf3.c: Likewise.
46329         * soft-fp/divtf3.c: Likewise.
46330         * soft-fp/double.h: Likewise.
46331         * soft-fp/eqdf2.c: Likewise.
46332         * soft-fp/eqsf2.c: Likewise.
46333         * soft-fp/eqtf2.c: Likewise.
46334         * soft-fp/extenddftf2.c: Likewise.
46335         * soft-fp/extended.h: Likewise.
46336         * soft-fp/extendsfdf2.c: Likewise.
46337         * soft-fp/extendsftf2.c: Likewise.
46338         * soft-fp/extendxftf2.c: Likewise.
46339         * soft-fp/fixdfdi.c: Likewise.
46340         * soft-fp/fixdfsi.c: Likewise.
46341         * soft-fp/fixdfti.c: Likewise.
46342         * soft-fp/fixsfdi.c: Likewise.
46343         * soft-fp/fixsfsi.c: Likewise.
46344         * soft-fp/fixsfti.c: Likewise.
46345         * soft-fp/fixtfdi.c: Likewise.
46346         * soft-fp/fixtfsi.c: Likewise.
46347         * soft-fp/fixtfti.c: Likewise.
46348         * soft-fp/fixunsdfdi.c: Likewise.
46349         * soft-fp/fixunsdfsi.c: Likewise.
46350         * soft-fp/fixunsdfti.c: Likewise.
46351         * soft-fp/fixunssfdi.c: Likewise.
46352         * soft-fp/fixunssfsi.c: Likewise.
46353         * soft-fp/fixunssfti.c: Likewise.
46354         * soft-fp/fixunstfdi.c: Likewise.
46355         * soft-fp/fixunstfsi.c: Likewise.
46356         * soft-fp/fixunstfti.c: Likewise.
46357         * soft-fp/floatdidf.c: Likewise.
46358         * soft-fp/floatdisf.c: Likewise.
46359         * soft-fp/floatditf.c: Likewise.
46360         * soft-fp/floatsidf.c: Likewise.
46361         * soft-fp/floatsisf.c: Likewise.
46362         * soft-fp/floatsitf.c: Likewise.
46363         * soft-fp/floattidf.c: Likewise.
46364         * soft-fp/floattisf.c: Likewise.
46365         * soft-fp/floattitf.c: Likewise.
46366         * soft-fp/floatundidf.c: Likewise.
46367         * soft-fp/floatundisf.c: Likewise.
46368         * soft-fp/floatunsidf.c: Likewise.
46369         * soft-fp/floatunsisf.c: Likewise.
46370         * soft-fp/floatuntidf.c: Likewise.
46371         * soft-fp/floatuntisf.c: Likewise.
46372         * soft-fp/floatuntitf.c: Likewise.
46373         * soft-fp/fmadf4.c: Likewise.
46374         * soft-fp/fmasf4.c: Likewise.
46375         * soft-fp/fmatf4.c: Likewise.
46376         * soft-fp/gedf2.c: Likewise.
46377         * soft-fp/gesf2.c: Likewise.
46378         * soft-fp/getf2.c: Likewise.
46379         * soft-fp/ledf2.c: Likewise.
46380         * soft-fp/lesf2.c: Likewise.
46381         * soft-fp/letf2.c: Likewise.
46382         * soft-fp/muldf3.c: Likewise.
46383         * soft-fp/mulsf3.c: Likewise.
46384         * soft-fp/multf3.c: Likewise.
46385         * soft-fp/negdf2.c: Likewise.
46386         * soft-fp/negsf2.c: Likewise.
46387         * soft-fp/negtf2.c: Likewise.
46388         * soft-fp/op-1.h: Likewise.
46389         * soft-fp/op-2.h: Likewise.
46390         * soft-fp/op-4.h: Likewise.
46391         * soft-fp/op-8.h: Likewise.
46392         * soft-fp/op-common.h: Likewise.
46393         * soft-fp/quad.h: Likewise.
46394         * soft-fp/single.h: Likewise.
46395         * soft-fp/soft-fp.h: Likewise.
46396         * soft-fp/sqrtdf2.c: Likewise.
46397         * soft-fp/sqrtsf2.c: Likewise.
46398         * soft-fp/sqrttf2.c: Likewise.
46399         * soft-fp/subdf3.c: Likewise.
46400         * soft-fp/subsf3.c: Likewise.
46401         * soft-fp/subtf3.c: Likewise.
46402         * soft-fp/truncdfsf2.c: Likewise.
46403         * soft-fp/trunctfdf2.c: Likewise.
46404         * soft-fp/trunctfsf2.c: Likewise.
46405         * soft-fp/trunctfxf2.c: Likewise.
46406         * soft-fp/unorddf2.c: Likewise.
46407         * soft-fp/unordsf2.c: Likewise.
46408         * soft-fp/unordtf2.c: Likewise.
46410 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46412         [BZ #15672]
46413         * misc/error.c (error_tail): Fix possible buffer overflow.
46415 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46417         [BZ #13028]
46418         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46419         address.
46421 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46423         [BZ #832]
46424         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46425         testing pipefail option.
46427 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46429         * soft-fp/double.h: Indent preprocessor directives inside #if.
46430         * soft-fp/extended.h: Likewise.
46431         * soft-fp/op-2.h: Likewise.
46432         * soft-fp/op-4.h: Likewise.
46433         * soft-fp/op-common.h: Likewise.
46434         * soft-fp/quad.h: Likewise.
46435         * soft-fp/single.h: Likewise.
46436         * soft-fp/soft-fp.h: Likewise.
46438 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46440         * iconv/iconv_prog.c: Fix typos.
46441         * stdio-common/psiginfo-data.h: Likewise.
46443 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46445         [BZ #15764]
46446         * locale/setlocale.c: Fix typo.
46448 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46450         [BZ #16036]
46451         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46452         signaling NaN arguments.
46453         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46454         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46456         [BZ #14910]
46457         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46458         unordered operands.
46459         * soft-fp/gesf2.c (__gesf2): Likewise.
46460         * soft-fp/getf2.c (__getf2): Likewise.
46461         * soft-fp/ledf2.c (__ledf2): Likewise.
46462         * soft-fp/lesf2.c (__lesf2): Likewise.
46463         * soft-fp/letf2.c (__letf2): Likewise.
46465         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46466         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46467         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46468         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46469         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46470         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46471         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46472         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46473         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46474         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46475         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46476         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46477         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46478         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46479         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46480         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46481         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46482         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46483         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46484         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46485         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46486         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46487         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46488         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46489         * soft-fp/floattidf.c (__floattidf): Likewise.
46490         * soft-fp/floattisf.c (__floattisf): Likewise.
46491         * soft-fp/floattitf.c (__floattitf): Likewise.
46492         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46493         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46494         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46495         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46496         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46497         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46498         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46499         * soft-fp/gesf2.c (__gesf2): Likewise.
46500         * soft-fp/getf2.c (__getf2): Likewise.
46501         * soft-fp/ledf2.c (__ledf2): Likewise.
46502         * soft-fp/lesf2.c (__lesf2): Likewise.
46503         * soft-fp/letf2.c (__letf2): Likewise.
46505         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46506         Undefine and redefine.
46507         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46508         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46509         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46510         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46511         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46512         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46513         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46514         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46515         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46516         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46517         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46518         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46519         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46520         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46521         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46523         [BZ #16032]
46524         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46525         without decrementing exponent if mantissa >= that for the
46526         denominator, not >.
46527         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46528         denominator, not >.  Decrement exponent in < case instead of
46529         incrementing in >= case.
46530         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46531         without decrementing exponent if mantissa >= that for the
46532         denominator, not >.
46534         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46535         computing saturated result for unsigned overflow.
46537 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46538             Jeff Law  <law@redhat.com>
46540         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46541         (atan2Mp): Add systemtap probe marker.
46542         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46543         (__ieee754_log): Add systemtap probe marker.
46544         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46545         (atanMp): Add systemtap probe marker.
46546         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46547         (tanMp): Add systemtap probe marker.
46548         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46549         (__slowexp): Add systemtap probe marker.
46550         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46551         (__slowpow): Add systemtap probe marker.
46552         * manual/probes.texi: Document probes.
46554 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46556         [BZ #15362]
46557         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46558         written.
46559         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46560         written.
46561         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46562         written to buffer but not flushed.
46563         * libio/iofwrite_u.c:  Likewise.
46564         * libio/iopadn.c:  Return bytes returned even if EOF was
46565         encountered.
46566         * libio/iowpadn.c:  Likewise.
46567         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46568         if _IO_padn does not write the whole buffer.
46569         [!COMPILE_WPRINTF] (PAD): Likewise.
46571 2013-10-10  David S. Miller  <davem@davemloft.net>
46573         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46574         directory block.
46576 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46578         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46579         instead of FSF address.
46580         * soft-fp/fixdfti.c: Likewise.
46581         * soft-fp/fixsfti.c: Likewise.
46582         * soft-fp/fixtfti.c: Likewise.
46583         * soft-fp/fixunsdfti.c: Likewise.
46584         * soft-fp/fixunssfti.c: Likewise.
46585         * soft-fp/fixunstfti.c: Likewise.
46586         * soft-fp/floattidf.c: Likewise.
46587         * soft-fp/floattisf.c: Likewise.
46588         * soft-fp/floattitf.c: Likewise.
46589         * soft-fp/floatuntidf.c: Likewise.
46590         * soft-fp/floatuntisf.c: Likewise.
46591         * soft-fp/floatuntitf.c: Likewise.
46592         * soft-fp/trunctfxf2.c: Likewise.
46594         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46595         * soft-fp/fixdfti.c: Likewise.
46596         * soft-fp/fixsfti.c: Likewise.
46597         * soft-fp/fixtfti.c: Likewise.
46598         * soft-fp/fixunsdfti.c: Likewise.
46599         * soft-fp/fixunssfti.c: Likewise.
46600         * soft-fp/fixunstfti.c: Likewise.
46601         * soft-fp/floattidf.c: Likewise.
46602         * soft-fp/floattisf.c: Likewise.
46603         * soft-fp/floattitf.c: Likewise.
46604         * soft-fp/floatuntidf.c: Likewise.
46605         * soft-fp/floatuntisf.c: Likewise.
46606         * soft-fp/floatuntitf.c: Likewise.
46607         * soft-fp/trunctfxf2.c: Likewise.
46609 2013-10-10  David S. Miller  <davem@davemloft.net>
46611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46613 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46615         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46616         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46617         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46618         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46619         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46620         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46621         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46624         for NaNs before doing comparisons on argument.
46625         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46626         Likewise.
46628 2013-10-10  Will Newton  <will.newton@linaro.org>
46630         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46631         passed to _int_memalign does not overflow.
46633 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46635         * scripts/bench.pl: Add include-sources directive.
46636         * benchtests/README: Update documentation.
46638 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46640         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46641         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46642         instead of FP_INIT_ROUNDMODE.
46643         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46644         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46646         [BZ #16034]
46647         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46648         copy class of input value.
46649         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46650         not handle exceptions.
46651         * soft-fp/negsf2.c (__negsf2): Likewise.
46652         * soft-fp/negtf2.c (__negtf2): Likewise.
46653         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46655 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46657         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46658         semicolon.  From Linux kernel.
46660 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46662         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46664 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46666         [BZ #156]
46667         * manual/socket.texi: Added statement about buffer
46668         for gethostbyname2_r.
46670 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46672         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46673         Use .p2align directive instead, throughout.
46674         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46675         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46676         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46678         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46679         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46680         * sysdeps/x86_64/strchr.S: Likewise.
46681         * sysdeps/x86_64/strrchr.S: Likewise.
46683 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46685         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46687         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46689         * sysdeps/generic/math_private.h (__mpsin1): Remove
46690         declaration.
46691         (__mpcos1): Likewise.
46692         (__mpsin): New argument __range_reduce.
46693         (__mpcos): Likewise.
46694         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46695         (slow): Use __mpsin and __mpcos.
46696         (slow1): Likewise.
46697         (slow2): Likewise.
46698         (sloww): Likewise.
46699         (sloww1): Likewise.
46700         (sloww2): Likewise.
46701         (bsloww): Likewise.
46702         (bsloww1): Likewise.
46703         (bsloww2): Likewise.
46704         (cslow2): Likewise.
46705         (csloww): Likewise.
46706         (csloww1): Likewise.
46707         (csloww2): Likewise.
46708         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46709         range_reduce.  Merge in __mpsin1.
46710         (__mpcos): Likewise.
46711         (__mpsin1): Remove.
46712         (__mpcos1): Likewise.
46714 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46716         * locale/loadlocale.c (_nl_intern_locale_data): Use
46717         LOCFILE_ALIGNED_P.
46718         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46719         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46720         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46721         obstack data is appropriately aligned.
46722         (obstack_int32_grow_fast): Likewise.
46723         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46724         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46725         (add_locale_uint32_array): Likewise.
46727 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46729         * benchtests/Makefile: Remove ARGLIST and RET variables.
46730         ($(objpfx)bench-%.c): Pass only function name to the script.
46731         * benchtests/README: Update documentation.
46732         * benchtests/acos-inputs: Add new directives.
46733         * benchtests/acosh-inputs: Likewise.
46734         * benchtests/asin-inputs: Likewise.
46735         * benchtests/asinh-inputs: Likewise.
46736         * benchtests/atan-inputs: Likewise.
46737         * benchtests/atanh-inputs: Likewise.
46738         * benchtests/cos-inputs: Likewise.
46739         * benchtests/cosh-inputs: Likewise.
46740         * benchtests/exp-inputs: Likewise.
46741         * benchtests/log-inputs: Likewise.
46742         * benchtests/pow-inputs: Likewise.
46743         * benchtests/rint-inputs: Likewise.
46744         * benchtests/sin-inputs: Likewise.
46745         * benchtests/sinh-inputs: Likewise.
46746         * benchtests/tan-inputs: Likewise.
46747         * benchtests/tanh-inputs: Likewise.
46748         * scripts/bench.pl: Add support for new directives.
46750 2013-10-07  Alan Modra  <amodra@gmail.com>
46752         * README: Fix careless merge.
46754 2013-10-05  Alan Modra  <amodra@gmail.com>
46756         * NEWS: Mention powerpc64le support and bugs fixed.
46757         * README: Both big-endian and little-endian powerpc64 supported.
46759 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46761         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46762         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46763         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46764         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46766 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46768         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46769         match prototype.
46771 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46773         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46774         Move -mhard-float appending from
46775         ports/sysdeps/powerpc/powerpc32/Makefile.
46776         [$(with-fp) = yes] (ASFLAGS): Likewise.
46777         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46778         * sysdeps/powerpc/nofpu: Move directory from
46779         ports/sysdeps/powerpc/nofpu.
46780         * sysdeps/powerpc/soft-fp: Move directory from
46781         ports/sysdeps/powerpc/soft-fp.
46782         * sysdeps/powerpc/powerpc32/405: Move directory from
46783         ports/sysdeps/powerpc/powerpc32/405.
46784         * sysdeps/powerpc/powerpc32/440: Move directory from
46785         ports/sysdeps/powerpc/powerpc32/440.
46786         * sysdeps/powerpc/powerpc32/464: Move directory from
46787         ports/sysdeps/powerpc/powerpc32/464.
46788         * sysdeps/powerpc/powerpc32/476: Move directory from
46789         ports/sysdeps/powerpc/powerpc32/476.
46790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46791         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46793         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46795         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46800         * README: Update for powerpc-*-linux-gnu software floating point
46801         support in libc.
46803         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46804         case to powerpc/powerpc32*.
46805         * sysdeps/unix/sysv/linux/configure: Regenerated.
46807         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46808         (_FPU_MASK_OM): Define as 0x04.
46809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46811         0x00c10080.
46812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46813         0x0000003c.
46814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46817         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46818         getcontext_e500.
46819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46820         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46821         setcontext_e500.
46822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46823         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46824         and setcontext_e500.
46826 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46828         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46830 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46832         * manual/threads.texi (Default Thread Attributes): Fix typo.
46834 2013-10-04  Will Newton  <will.newton@linaro.org>
46836         * malloc/Makefile: Add tst-memalign.
46837         * malloc/tst-memalign.c: New file.
46839         * malloc/tst-posix_memalign.c: Add comments.
46840         (do_test): Add comments and call free on all potentially
46841         allocated pointers. Add space after cast.
46843         * malloc/tst-pvalloc.c: Add comments.
46844         (do_test): Add comments and call free on all potentially
46845         allocated pointers. Remove duplicate check for NULL pointer.
46846         Add space after cast.
46848         * malloc/tst-valloc.c: Add comments.
46849         (do_test): Add comments and call free on all potentially
46850         allocated pointers. Remove duplicate check for NULL pointer.
46851         Add space after cast.
46853 2013-10-04  Alan Modra  <amodra@gmail.com>
46855         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46856         Use stdint types in rather than __attribute__((mode())).
46857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46859 2013-10-04  Alan Modra  <amodra@gmail.com>
46861         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46862         Correct handling of unaligned relocs for little-endian.
46863         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46865 2013-10-04  Alan Modra  <amodra@gmail.com>
46867         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46868         * configure: Regenerate.
46869         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46870         * shlib-versions: Likewise.
46872 2013-10-04  Alan Modra  <amodra@gmail.com>
46874         * string/tester.c (test_memrchr): Increment reported test cycle.
46876 2013-10-04  Alan Modra  <amodra@gmail.com>
46878         * string/test-memcpy.c (do_one_test): When reporting errors, print
46879         string address and don't overrun end of string.
46881 2013-10-04  Alan Modra  <amodra@gmail.com>
46883         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46884         insrdi.  Make better use of reg selection to speed exit slightly.
46885         Schedule entry path a little better.  Remove useless "are we done"
46886         checks on entry to main loop.  Handle wrapping around zero address.
46887         Correct main loop count.  Handle single left-over word from main
46888         loop inline rather than by using loop_small.  Remove extra word
46889         case in loop_small caused by wrong loop count.  Add little-endian
46890         support.
46891         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46892         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46893         cache hint.
46894         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46895         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46896         support.  Avoid rlwimi.
46897         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46899 2013-10-04  Alan Modra  <amodra@gmail.com>
46901         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46902         insrdi.  Formatting.
46903         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46904         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46905         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46906         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46907         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46908         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46910 2013-10-04  Alan Modra  <amodra@gmail.com>
46912         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46913         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46914         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46915         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46916         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46917         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46919         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46920         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46921         use of regs.  Use power7 mtocrf.  Tidy function tails.
46923 2013-10-04  Alan Modra  <amodra@gmail.com>
46925         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46926         Formatting.  Consistently use rXXX register defines or rN defines.
46927         Use early exit labels that avoid restoring unused non-volatile regs.
46928         Make cr field use more consistent with rWORDn compares.  Rename
46929         regs used as shift registers for unaligned loop, using rN defines
46930         for short lifetime/multiple use regs.
46931         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46933         addi 1,1,64 to pop stack frame.  Simplify return value code.
46934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46936 2013-10-04  Alan Modra  <amodra@gmail.com>
46938         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46939         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46940         rather than rlwimi.
46941         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46942         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46943         little-endian support.  Correct typos.
46944         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46945         rather than rlwimi.
46946         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46947         in loop and entry code to keep "and." results.
46948         (strchr): Add little-endian support.  Comment.  Move cntlzd
46949         earlier in tail.
46950         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46952 2013-10-04  Alan Modra  <amodra@gmail.com>
46954         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46955         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46956         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46957         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46959 2013-10-04  Alan Modra  <amodra@gmail.com>
46961         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46962         (rTMP): Define as r11.
46963         (strcmp): Add little-endian support.  Optimise tail.
46964         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46965         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46966         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46967         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46968         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46972 2013-10-04  Alan Modra  <amodra@gmail.com>
46974         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46975         little-endian support.  Remove unnecessary "are we done" tests.
46976         Handle "s" wrapping around zero and extremely large "size".
46977         Correct main loop count.  Handle single left-over word from main
46978         loop inline rather than by using small_loop.  Correct comments.
46979         Delete "zero" tail, use "end_max" instead.
46980         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46982 2013-10-04  Alan Modra  <amodra@gmail.com>
46984         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46985         support.  Don't branch over align.
46986         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46987         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46988         support.  Rearrange tmp reg use to suit.  Comment.
46989         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46991 2013-10-04  Alan Modra  <amodra@gmail.com>
46993         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46995 2013-10-04  Alan Modra  <amodra@gmail.com>
46997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46998         conditional form of branch and link when obtaining pc.
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47001 2013-10-04  Alan Modra  <amodra@gmail.com>
47003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47004         HIWORD/LOWORD.
47005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47008 2013-10-04  Alan Modra  <amodra@gmail.com>
47010         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47011         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47012         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47013         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47014         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47015         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47016         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47017         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47018         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47019         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47021 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47022             Alistair Popple <alistair@ozlabs.au.ibm.com>
47023             Alan Modra <amodra@gmail.com>
47025         [BZ #15723]
47026         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47028         _dl_hwcap access for little-endian.
47029         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47030         destroy vmx regs when saving unaligned.
47031         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47032         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47033         destroy vmx regs when saving unaligned.
47035 2013-10-04  Alan Modra  <amodra@gmail.com>
47037         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47038         Don't use a union to pack hi/low value.
47040 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47042         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47043         for little-endian.
47044         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47045         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47046         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47047         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47048         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47050 2013-10-04  Alan Modra  <amodra@gmail.com>
47052         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47053         constants to usual value for .cst8 section, and remove redundant
47054         high address load.
47055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47056         constant for 0x1p52.  Load little-endian words of double from
47057         correct stack offsets.
47059 2013-10-04  Alan Modra  <amodra@gmail.com>
47061         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47062         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47063         words of double from correct stack offsets.
47064         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47065         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47066         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47067         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47068         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47069         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47070         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47071         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47072         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47073         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47074         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47075         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47076         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47077         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47078         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47079         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47080         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47082 2013-10-04  Alan Modra  <amodra@gmail.com>
47084         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47085         64-bit int/double union.
47086         (_FPU_SETCW): Likewise.
47087         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47088         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47090 2013-10-04  Alan Modra  <amodra@gmail.com>
47092         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47093         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47095 2013-10-04  Alan Modra  <amodra@gmail.com>
47097         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47098         use vector int constants.
47099         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47101 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47103         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47104         array with long long.
47105         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47106         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47107         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47108         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47109         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47110         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47111         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47112         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47113         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47114         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47115         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47116         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47117         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47119 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47121         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47122         (__signbit): Likewise.  Correct for little-endian.
47123         (__signbitl): Call __signbit.
47124         (lrint): Correct for little-endian.
47125         (lrintf): Call lrint.
47127 2013-10-04  Alan Modra  <amodra@gmail.com>
47129         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47130         union 32-bit int array member with 64-bit int array.
47131         (t515, tm256): Double rather than long double.
47132         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47134 2013-10-04  Alan Modra  <amodra@gmail.com>
47136         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47137         Delete.
47138         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47140         version of math_ldbl.h.
47142 2013-10-04  Alan Modra  <amodra@gmail.com>
47144         [BZ #15734], [BZ #15735]
47145         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47146         all uses of ieee875 long double macros and unions.  Simplify test
47147         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47148         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47149         normalize after ldbl_extract_mantissa, and don't add hidden bit
47150         already handled.  Don't treat low word of ieee854 mantissa like
47151         low word of IBM long double and mask off bit when testing for
47152         zero.
47153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47154         all uses of ieee875 long double macros and unions.  Simplify tests
47155         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47156         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47157         two1022, instead use their values.  Recognise that tests for large
47158         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47159         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47160         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47161         test for 0.0L and nan.  Correct negation.
47162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47163         ieee875 long double macros and unions.  Correct output for large
47164         magnitude x.  Correct absolute value calculation.
47165         (__erfcl): Likewise.
47166         * math/libm-test.inc: Add tests for errors discovered in IBM long
47167         double versions of fmodl, remainderl, erfl and erfcl.
47169 2013-10-04  Alan Modra  <amodra@gmail.com>
47171         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47172         all uses of ieee854 long double macros and unions.  Simplify tests
47173         for long doubles that are fully specified by the high double.
47174         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47175         Likewise.
47176         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47177         Remove dead code too.
47178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47179         (__ieee754_ynl): Likewise.
47180         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47183         Remove dead code too.
47184         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47185         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47187         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47188         Simplify.
47189         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47190         Simplify.
47191         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47192         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47193         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47194         Comment on variable precision.
47195         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47196         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47197         Likewise.
47198         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47199         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47201         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47202         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47204 2013-10-04  Alan Modra  <amodra@gmail.com>
47206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47207         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47208         all uses of ieee854 long double macros and unions.
47209         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47215         Likewise.
47216         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47222         Simplify sign and nan test too.
47223         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47227         Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47229         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47230         Likewise.
47231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47238 2013-10-04  Alan Modra  <amodra@gmail.com>
47240         * stdio-common/printf_size.c (__printf_size): Don't use
47241         union ieee854_long_double in fpnum union.
47242         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47243         signbit macro to retrieve sign from long double.
47244         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47245         retrieve sign from long double.
47246         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47247         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47248         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47249         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47250         * math/test-misc.c (main): Don't use union ieee854_long_double.
47252 2013-10-04  Alan Modra  <amodra@gmail.com>
47254         [BZ #15680]
47255         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47256         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47257         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47258         calculation.  Remove unnecessary test for denormal exponent.
47259         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47260         Correct handling of denormals.  Avoid undefined shift behaviour.
47261         Correct normalisation of low mantissa when low double is denormal.
47262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47263         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47264         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47265         Correct normalisation of low mantissa.  Test for overflow of high
47266         mantissa and normalise.
47267         (ldbl_nearbyint): Use more readable constant for two52.
47268         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47269         (__mpn_construct_long_double): Fix test for overflow of high
47270         mantissa and correct normalisation.  Avoid undefined shift.
47272 2013-10-04  Alan Modra  <amodra@gmail.com>
47274         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47275         (union ibm_extended_long_double): Define as an array of ieee754_double.
47276         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47277         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47278         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47279         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47280         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47285         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47286         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47288 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47290         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47291         page size instead of calling getpagesize.
47293         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47294         (LOCFILE_ALIGN_MASK): Likewise.
47295         (LOCFILE_ALIGN_UP): Likewise.
47296         (LOCFILE_ALIGNED_P): Likewise.
47297         * locale/programs/ld-collate.c (collate_output): Use the new
47298         macros instead of __alignof__ (int32_t).
47299         * locale/weight.h (findidx): Likewise.
47301 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47303         [BZ #431]
47304         * manual/string.texi: Fix strncat and wcsncat.
47306 2013-10-03  Brooks Moses  <bmoses@google.com>
47308         [BZ #15915]
47309         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47310         * Makerules: ...here, and adjust associated comments.
47312 2013-10-02  Will Newton  <will.newton@linaro.org>
47314         * malloc/Makefile: Add tst-pvalloc.
47315         * malloc/tst-pvalloc.c: New file.
47317 2013-10-02  Will Newton  <will.newton@linaro.org>
47319         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47320         improve test coverage.
47322 2013-10-02  Will Newton  <will.newton@linaro.org>
47324         * malloc/Makefile: Add tst-posix_memalign.
47325         * malloc/tst-posix_memalign.c: New file.
47327 2013-10-01  Eric Blake  <eblake@redhat.com>
47329         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47330         Use __THROWNL rather than __THROW on static functions.
47332 2013-09-30  Petr Machata  <pmachata@redhat.com>
47334         * elf/elf.h (R_AARCH64_ABS16): New macro.
47335         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47336         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47337         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47338         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47339         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47340         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47341         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47342         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47343         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47344         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47345         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47346         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47347         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47348         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47349         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47350         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47351         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47352         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47353         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47354         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47355         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47356         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47357         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47358         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47359         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47360         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47361         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47362         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47363         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47364         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47365         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47366         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47367         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47368         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47369         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47370         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47371         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47372         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47373         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47374         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47375         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47376         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47377         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47378         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47379         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47380         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47381         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47382         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47383         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47384         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47385         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47386         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47387         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47388         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47389         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47390         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47391         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47392         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47393         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47394         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47395         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47396         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47397         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47398         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47399         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47400         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47401         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47402         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47403         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47404         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47405         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47406         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47407         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47408         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47409         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47410         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47411         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47412         (R_AARCH64_TLSDESC_LDR): Likewise.
47413         (R_AARCH64_TLSDESC_ADD): Likewise.
47414         (R_AARCH64_TLSDESC_CALL): Likewise.
47416 2013-09-30  Andreas Schwab  <schwab@suse.de>
47418         [BZ #15048]
47419         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47420         the nss database lookup.
47421         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47424 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47426         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47428 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47430         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47431         ${Bash-specific parameter/pattern/string} parameter expansion.
47432         * sysdeps/unix/make-syscalls.sh: Likewise.
47434 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47436         * sysdeps/sh/stackguard-macros.h: New file.
47438 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47442         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47443         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47444         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47445         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47447 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47449         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47450         Fix thread ID register.
47452 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47454         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47455         [POSIX || UNIX98]: Require rather than permitting all symbols from
47456         <time.h>.
47457         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47458         element of struct sched_param.
47459         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47460         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47461         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47462         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47463         constant.
47465 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47467         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47468         argument calculation.
47470 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47472         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47473         Expect macro.
47474         [POSIX] (pthread_attr_t): Do not require type.
47475         [POSIX] (pthread_cond_t): Likewise.
47476         [POSIX] (pthread_condattr_t): Likewise.
47477         [POSIX] (pthread_key_t): Likewise.
47478         [POSIX] (pthread_mutex_t): Likewise.
47479         [POSIX] (pthread_mutexattr_t): Likewise.
47480         [POSIX] (pthread_once_t): Likewise.
47481         [POSIX] (pthread_t): Likewise.
47482         [POSIX-based standards] (pthread_atfork): Expect function.
47484 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47485             Richard Sandiford  <richard@codesourcery.com>
47487         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47488         (swap_endianness_p): New extern variable.
47489         (set_big_endian): New inline function.
47490         (maybe_swap_uint32): Likewise.
47491         (maybe_swap_uint32_array): Likewise.
47492         (maybe_swap_uint32_obstack): Likewise.
47493         * locale/programs/locfile.c: Include <stdbool.h>.
47494         (swap_endianness_p): New variable.
47495         (add_locale_uint32): Call maybe_swap_uint32.
47496         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47497         (write_locale_data): Call maybe_swap_uint32_array.
47498         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47499         maybe_swap_uint32.
47500         (obstack_int32_grow_fast): Likewise.
47501         (output_weightwc): Call maybe_swap_uint32_obstack.
47502         (collate_output): Likewise.
47503         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47504         (OPT_LITTLE_ENDIAN): Likewise.
47505         (options): Add --little-endian and --big-endian options.
47506         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47507         * locale/programs/locarchive.c: Include "locfile.h".
47508         (GET): New macro.
47509         (SET): Likewise.
47510         (INC): Likewise.
47511         (create_archive): Use the new macros to access fields of
47512         structures directly mapped from or written to locale archives.
47513         (oldlocrecentcmp): Likewise.
47514         (enlarge_archive): Likewise.
47515         (insert_name): Likewise.
47516         (add_alias): Likewise.
47517         (add_locale): Likewise.
47518         (delete_locales_from_archive): Likewise.
47519         (show_archive_content): Likewise.
47520         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47521         locale data.
47523 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47525         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47526         http://www.gnu.org/doc/freemanuals.texi.
47527         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47529 2013-09-24  Will Newton  <will.newton@linaro.org>
47531         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47532         macro.
47534 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47536         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47537         unsigned char.
47539 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47541         * manual/threads.texi (POSIX Threads): Fix a typo.
47543 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         [BZ #14547]
47546         * string/tst-strcoll-overflow.c: New test case.
47547         * string/Makefile (xtests): Add tst-strcoll-overflow.
47548         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47549         cache if string sizes may cause integer overflow.
47551         [BZ #14547]
47552         * string/strcoll_l.c (coll_seq): New members rule, idx,
47553         save_idx and back_us.
47554         (get_next_seq_nocache): New function.
47555         (do_compare_nocache): New function.
47556         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47557         when malloc fails.
47559 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47561         [BZ #15754]
47562         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47563         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47564         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47566         [BZ #15754]
47567         * elf/Makefile (tests): Add tst-ptrguard1.
47568         (tests-static): Add tst-ptrguard1-static.
47569         (tst-ptrguard1-ARGS): Define.
47570         (tst-ptrguard1-static-ARGS): Define.
47571         * elf/tst-ptrguard1.c: New file.
47572         * elf/tst-ptrguard1-static.c: New file.
47573         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47574         * sysdeps/i386/stackguard-macros.h: Likewise.
47575         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47576         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47577         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47578         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47579         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47580         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47582 2013-09-23  Hector Marco  <hecmargi@upv.es>
47583             Ismael Ripoll  <iripoll@disca.upv.es>
47584             Carlos O'Donell  <carlos@redhat.com>
47586         [BZ #15754]
47587         * sysdeps/generic/stackguard-macros.h: Define
47588         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47589         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47590         Define __pointer_chk_guard_local.
47591         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47592         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47594 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47596         [BZ #15859]
47597         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47599 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47601         * include/string.h (__ffs): Declare as hidden.
47602         * string/ffs.c (__ffs): Define as hidden.
47603         * sysdeps/i386/ffs.c (__ffs): Likewise.
47604         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47605         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47606         * sysdeps/s390/ffs.c (__ffs): Likewise.
47607         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47609 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47611         * NEWS: Mention malloc probes.
47613         * malloc/arena.c (new_heap): New memory_heap_new probe.
47614         (grow_heap): New memory_heap_more probe.
47615         (shrink_heap): New memory_heap_less probe.
47616         (heap_trim): New memory_heap_free probe.
47617         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47618         (systrim): New memory_sbrk_less probe.
47619         * manual/probes.texi: Document them.
47621         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47622         * manual/probes.texi: Document it.
47624         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47625         (__libc_realloc): Add memory_realloc_retry probe.
47626         (__libc_memalign): Add memory_memalign_retry probe.
47627         (__libc_valloc): Add memory_valloc_retry probe.
47628         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47629         (__libc_calloc): Add memory_calloc_retry probe.
47630         * manual/probes.texi: Document them.
47632         * malloc/arena.c (get_free_list): Add probe
47633         memory_arena_reuse_free_list.
47634         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47635         and memory_arena_reuse.
47636         (arena_get2) [!PER_THREAD]: Likewise.
47637         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47638         memory_arena_reuse_realloc.
47639         * manual/probes.texi: Document them.
47641         * malloc/malloc.c (__libc_free): Add
47642         memory_mallopt_free_dyn_thresholds probe.
47643         (__libc_mallopt): Add multiple memory_mallopt probes.
47644         * manual/probes.texi: Document them.
47646         * malloc/malloc.c: Include stap-probe.h.
47647         (__libc_mallopt): Add memory_mallopt probe.
47648         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47649         * manual/probes.texi: New.
47650         * manual/Makefile (chapters): Add probes.
47651         * manual/threads.texi: Set next node.
47653 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47655         [BZ #15963, #13985]
47656         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47657         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47658         Add `Chinese' to `nan' entry name.
47660 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47662         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47663         (POLYNOMIAL): Likewise.
47664         (TAYLOR_SINCOS): Likewise.
47665         (TAYLOR_SLOW): Likewise.
47666         (__sin): Use TAYLOR_SINCOS.
47667         (__cos): Likewise.
47668         (slow): Use TAYLOR_SLOW.
47669         (sloww): Likewise.
47670         (bsloww): Likewise.
47671         (csloww): Likewise.
47673 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47675         * stdlib/strtod_l.c: Fix buffer overrun.
47677 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47679         * benchtests/Makefile (bench): Add sincos.
47680         * benchtests/bench-sincos.c: New file.
47682         * math/libm-test.inc (cos_test_data): New test inputs.
47683         (sin_test_data): Likewise.
47685         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47686         macro.
47687         (__sin): Use it.
47688         (__cos): Likewise.
47689         (slow1): Likewise.
47690         (slow2): Likewise.
47691         (sloww1): Likewise.
47692         (sloww2): Likewise.
47693         (bsloww1): Likewise.
47694         (bsloww2): Likewise.
47695         (cslow2): Likewise.
47696         (csloww1): Likewise.
47697         (csloww2): Likewise.
47699         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47700         function.
47701         (__sin): Use it.
47702         (__cos): Likewise.
47704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47705         gotos.
47706         (__cos): Likewise.
47708 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47710         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47711         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47712         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47713         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47714         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47715         * elf/cache.c (print_entry): Handle the new cache flags.
47717 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47718             Aldy Hernandez  <aldyh@redhat.com>
47720         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47721         Change condition to [_SOFT_FLOAT].
47722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47724         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47734         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47737         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47738         declaration.
47740 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47742         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47743         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47744         (__longjmp): Use LOAD_GP to load saved GPRs.
47745         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47746         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47747         (__sigsetjmp): Use SAVE_GP to save GPRs.
47749         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47750         Do not append -msoft-float.
47751         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47753 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47755         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47757 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47759         [BZ #15966]
47760         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47761         (_FPU_GETCW): Use initial "__" on variable and field names but not
47762         on macro parameter name.
47763         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47764         parentheses around reference to macro parameter.
47766 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47768         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47769         prototype.
47770         (ctype_startup): Use uint32_t in cast and sizeof for
47771         ctype->charnames.
47773 2013-09-11  Jia Liu  <proljc@gmail.com>
47775         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47776         __daddr_t_defined.
47777         [__FreeBSD__]: Likewise.
47779 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47782         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47783         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47784         (strchr): Remove __strchr_sse42 ifunc selection.
47785         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47786         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47788 2013-09-11  Will Newton  <will.newton@linaro.org>
47790         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47791         parameter to RES. Remove hardcoded 1000 value.
47792         * benchtests/bench-skeleton.c (main): Pass RES parameter
47793         to TIMING_INIT and multiply result by 1000.
47795 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47799 2013-09-11  Andreas Schwab  <schwab@suse.de>
47801         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47802         if not defined.
47803         (O_TMPFILE) [__USE_GNU]: Define.
47804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47805         Define.
47807 2013-09-11  Will Newton  <will.newton@linaro.org>
47809         [BZ #15857]
47810         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47811         does not overflow.
47813 2013-09-11  Will Newton  <will.newton@linaro.org>
47815         [BZ #15856]
47816         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47817         does not overflow.
47819 2013-09-11  Will Newton  <will.newton@linaro.org>
47821         [BZ #15855]
47822         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47823         does not overflow.
47825 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47827         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47828         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47829         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47831         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47833 2013-09-10  Allan McRae  <allan@archlinux.org>
47835         [BZ #15748]
47836         * manual/arith.texi (Parsing of Floats): Clarify
47837         cross-reference.
47839         [BZ #15849]
47840         * manual/install.texi (Running make install): Mention
47841         --enable-pt-chown.
47842         * INSTALL: Regenerated.
47844 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47846         * csu/init-first.c (_init): Remove the !SHARED condition around
47847         FPU control word initialization.
47848         * elf/dl-support.c (_dl_fpu_control): New variable.
47849         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47850         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47851         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47852         * math/test-fpucw-static.c: New file.
47853         * math/test-fpucw-ieee.c: New file.
47854         * math/test-fpucw-ieee-static.c: New file.
47855         * math/Makefile (tests): Add `test-fpucw-ieee' and
47856         `$(tests-static)'.
47857         (tests-static): New variable.
47858         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47859         dependency to...
47860         [($(build-shared),yes)]
47861         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47862         ... this.
47863         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47864         New dependency.
47866 2013-09-09  Allan McRae  <allan@archlinux.org>
47868         [BZ #15939]
47869         * manual/string.texi (Collation Functions): Fix typo in
47870         strcoll example.
47871         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47873         [BZ #15893]
47874         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47876         [BZ #15892]
47877         * libio/memstream.c (open_memstream): Fix memory leak.
47878         * libio/wmemstream.c (open_wmemstream): Likewise.
47880         [BZ #15895]
47881         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47883 2013-09-09  Will Newton  <will.newton@linaro.org>
47885         * malloc/Makefile: Add tst-realloc to tests.
47886         * malloc/tst-realloc.c: New file.
47888 2013-09-09  Allan McRae  <allan@archlinux.org>
47890         [BZ #15844]
47891         * COPYING: Update from GNU website to fix FSF address.
47892         * COPYING.LIB: Likewise.
47894 2013-09-06  David S. Miller  <davem@davemloft.net>
47896         * po/zh_TW.po: Update Chinese (traditional) translation from
47897         translation project.
47899 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47900             Joseph Myers  <joseph@codesourcery.com>
47902         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47903         "localeinfo.h".
47904         (obstack_chunk_alloc): New macro.
47905         (obstack_chunk_free): Likewise.
47906         (record_offset): New function.
47907         (init_locale_data): Likewise.
47908         (align_locale_data): Likewise.
47909         (add_locale_empty): Likewise.
47910         (add_locale_raw_data): Likewise.
47911         (add_locale_raw_obstack): Likewise.
47912         (add_locale_string): Likewise.
47913         (add_locale_wstring): Likewise.
47914         (add_locale_uint32): Likewise.
47915         (add_locale_uint32_array): Likewise.
47916         (add_locale_char): Likewise.
47917         (start_locale_structure): Likewise.
47918         (end_locale_structure): Likewise.
47919         (start_locale_prelude): Likewise.
47920         (end_locale_prelude): Likewise.
47921         (write_locale_data): Take locale_file structure rather than an
47922         iovec.
47923         * locale/programs/locfile.h: Include "obstack.h".
47924         (struct locale_file): Change to store locale file contents instead
47925         of header.
47926         (init_locale_data): New prototype.
47927         (align_locale_data): Likewise.
47928         (add_locale_empty): Likewise.
47929         (add_locale_raw_data): Likewise.
47930         (add_locale_raw_obstack): Likewise.
47931         (add_locale_string): Likewise.
47932         (add_locale_wstring): Likewise.
47933         (add_locale_uint32): Likewise.
47934         (add_locale_uint32_array): Likewise.
47935         (add_locale_char): Likewise.
47936         (start_locale_structure): Likewise.
47937         (end_locale_structure): Likewise.
47938         (start_locale_prelude): Likewise.
47939         (end_locale_prelude): Likewise.
47940         (write_locale_data): Update prototype.
47941         * locale/programs/3level.h (struct TABLE): Remove result field.
47942         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47943         Use new locale_file interface.
47944         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47945         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47946         * locale/programs/ld-address.c (address_output): Use new
47947         locale_file interface.
47948         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47949         NO_ADD_LOCALE.
47950         (collate_finish): Don't call collseq_table_finalize.
47951         (collate_output): Use new locale_file interface.
47952         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47953         in file.
47954         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47955         (TABLE): Move defines earlier in file.
47956         (ELEMENT): Likewise.
47957         (DEFAULT): Likewise.
47958         (wctrans_table_add): Move macro and inline function earlier in
47959         file.
47960         (struct wctype_table): Move type earlier in file.
47961         (add_locale_wctype_table): New static prototype.
47962         (struct locale_ctype_t): Use logical types instead of struct iovec
47963         pointers for members.
47964         (ctype_output): Use new locale_file interface.
47965         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47966         new locale_file interface.
47967         (allocate_arrays): Update for use of new locale_file interface.
47968         * locale/programs/ld-identification.c (identification_output): Use
47969         new locale_file interface.
47970         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47971         * locale/programs/ld-messages.c (messages_output): Likewise.
47972         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47973         * locale/programs/ld-name.c (name_output): Likewise.
47974         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47975         * locale/programs/ld-paper.c (paper_output): Likewise.
47976         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47977         * locale/programs/ld-time.c (time_output): Likewise.
47979 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47981         * benchtests/Makefile: Add memrchr benchmark.
47982         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47983         benchmark as memrchr.
47984         * benchtests/bench-memrchr-ifunc.c: New file.
47985         * benchtests/bench-memrchr.c: New file.
47987 2013-09-06   Will Newton  <will.newton@linaro.org>
47989         * benchtests/Makefile (string-bench): Add memcpy.
47991 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47992             Cong Wang  <amwang@redhat.com>
47994         [BZ #15850]
47995         * sysdeps/unix/sysv/linux/bits/in.h
47996         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47997         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47998         before __USE_KERNEL_IPV6_DEFS uses.
47999         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48000         IPPROTO_BEETPH.
48001         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48002         sockaddr_in6, or ipv6_mreq.
48004 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48006         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48007         memory access for final bytes in some large inputs.
48008         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48010 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48012         * string/test-memrchr.c: New file.
48013         * string/test-memrchr-ifunc.c: New file.
48014         * string/Makefile: Add new memrchr testcase.
48016 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48018         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48019         fanotify_init returns EPERM.
48021 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48023         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48024         errors.
48025         (top level): Treat second token from macro or constant entries for
48026         allowed headers as allowed.
48027         * include/complex.h: Condition internal declarations on
48028         [!_ISOMAC].
48029         * include/fenv.h: Condition include of <stdbool.h> and internal
48030         declarations on [!_ISOMAC].
48032 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48034         [BZ #15923]
48035         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48037 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48039         * configure.in (--enable-versioning): Remove configure option.
48040         (libc_cv_asm_symver_directive): Remove configure test.
48041         (libc_cv_ld_version_script_option): Likewise.
48042         (VERSIONING): Remove variable and AC_SUBST.
48043         (DO_VERSIONING): Remove AC_DEFINE.
48044         * configure: Regenerated.
48045         * config.h.in (DO_VERSIONING): Remove macro.
48046         * Makerules [$(versioning) = yes]: Change conditionals to
48047         [$(build-shared) = yes].
48048         * config.make.in (versioning): Remove variable.
48049         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48050         [$(build-shared) = yes].
48051         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48052         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48053         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48054         [$(build-shared) = yes].
48055         * extra-lib.mk [$(versioning) = yes]: Likewise.
48056         * hurd/Makefile [$(versioning) = yes]: Likewise.
48057         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48058         [SHARED].
48059         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48060         [SHARED].
48061         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48062         [SHARED && !NO_HIDDEN].
48063         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48064         [SHARED].
48065         [SHARED && DO_VERSIONING]: Likewise..
48066         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48067         [$(build-shared) = yes].
48068         * manual/install.texi (--disable-versioning): Remove
48069         documentation.
48070         * INSTALL: Regenerated.
48071         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48072         to [SHARED].
48073         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48074         [$(build-shared) = yes].
48075         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48076         * sysdeps/i386/i686/multiarch/strstr-c.c
48077         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48078         [SHARED && !NO_HIDDEN].
48079         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48080         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48081         * sysdeps/powerpc/powerpc32/dl-machine.c
48082         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48083         * sysdeps/powerpc/powerpc32/sysdep.h
48084         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48085         to [SHARED && PIC && !NO_HIDDEN].
48086         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48087         conditional to [SHARED].
48089 2013-09-04   Will Newton  <will.newton@linaro.org>
48091         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48092         * benchtests/bench-string.h: Include bench-timing.h instead
48093         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48094         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48095         call to HP_TIMING_DIFF_INIT.
48096         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48097         instead of hp-timing.h macros.
48098         * benchtests/bench-memchr.c: Likewise.
48099         * benchtests/bench-memcmp.c: Likewise.
48100         * benchtests/bench-memcpy.c: Likewise.
48101         * benchtests/bench-memmem.c: Likewise.
48102         * benchtests/bench-memmove.c: Likewise.
48103         * benchtests/bench-memset.c: Likewise.
48104         * benchtests/bench-rawmemchr.c: Likewise.
48105         * benchtests/bench-strcasecmp.c: Likewise.
48106         * benchtests/bench-strcasestr.c: Likewise.
48107         * benchtests/bench-strcat.c: Likewise.
48108         * benchtests/bench-strchr.c: Likewise.
48109         * benchtests/bench-strcmp.c: Likewise.
48110         * benchtests/bench-strcpy.c: Likewise.
48111         * benchtests/bench-strcpy_chk.c: Likewise.
48112         * benchtests/bench-strlen.c: Likewise.
48113         * benchtests/bench-strncasecmp.c: Likewise.
48114         * benchtests/bench-strncat.c: Likewise.
48115         * benchtests/bench-strncmp.c: Likewise.
48116         * benchtests/bench-strncpy.c: Likewise.
48117         * benchtests/bench-strnlen.c: Likewise.
48118         * benchtests/bench-strpbrk.c: Likewise.
48119         * benchtests/bench-strrchr.c: Likewise.
48120         * benchtests/bench-strspn.c: Likewise.
48121         * benchtests/bench-strstr.c: Likewise.
48123 2013-09-04  Will Newton  <will.newton@linaro.org>
48125         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48127 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48129         [BZ #15427]
48130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48131         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48132         * math/libm-test.inc (lgamma_test_data): Add more tests.
48133         * sysdeps/i386/fpu/libm-test-ulps: Update.
48134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48136 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48138         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48140         Add ifunc.
48141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48142         Add strcmp-sse2-unaligned
48143         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48145 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48147         * Versions.def (libc): Add GLIBC_2.19.
48149 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48151         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48152         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48154 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48156         [BZ #14155]
48157         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48158         intermediate calculations in recurrence.
48159         (__ieee754_ynf): Likewise.
48160         * math/libm-test.inc (jn_test_data): Do not allow spurious
48161         underflow exception.  Add more tests.
48162         (yn_test_data): Add more tests.
48163         * sysdeps/i386/fpu/libm-test-ulps: Update.
48164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48166 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48170 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48172         * csu/init-first.c: Fix then/than typos.
48173         * locale/programs/ld-collate.c: Likewise.
48174         * locale/programs/linereader.h: Likewise.
48175         * manual/charset.texi: Likewise.
48176         * manual/filesys.texi: Likewise.
48177         * manual/stdio.texi: Likewise.
48178         * manual/string.texi: Likewise.
48179         * stdlib/fmtmsg.c: Likewise.
48180         * sysdeps/i386/stpncpy.S: Likewise.
48181         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48182         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48183         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48184         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48186 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48188         * elf/dl-open.c: Fix typos.
48189         * iconvdata/gbbig5.c: Likewise.
48190         * iconvdata/iso-2022-jp.c: Likewise.
48191         * iconv/gconv_int.h: Likewise.
48192         * iconv/loop.c: Likewise.
48193         * nis/rpcsvc/nis.h: Likewise.
48194         * resolv/ns_name.c: Likewise.
48195         * stdio-common/vfscanf.c: Likewise.
48196         * streams/stropts.h: Likewise.
48197         * sunrpc/rpc_thread.c: Likewise.
48198         * sysdeps/i386/strpbrk.S: Likewise.
48199         * sysdeps/ieee754/k_standard.c: Likewise.
48200         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48201         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48202         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48203         * sysdeps/mach/hurd/profil.c: Likewise.
48204         * sysdeps/s390/dl-procinfo.h: Likewise.
48205         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48206         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48207         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48208         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48211 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48213         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48216 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48218         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48219         aix specific files.
48220         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48221         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48222         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48223         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48224         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48225         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48226         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48227         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48229 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48230             Roland McGrath  <roland@hack.frob.com>
48232         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48233         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48235 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48237         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48238         __executable_start symbol instead of _start.
48240 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48242         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48243         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48244         Move macros to...
48245         * sysdeps/gnu/ldsodefs.h: ... this new file.
48247         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48248         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48249         instead of ELFOSABI_LINUX.
48251         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48252         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48253         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48254         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48255         Likewise.
48256         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48257         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48258         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48259         Likewise.
48260         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48261         (ibm_extended_long_double): Add ieee_nan member.
48262         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48263         (do_test): New function.
48265         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48266         TEST_TRUNC.
48267         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48268         functions, renamed from truncdfsf_test, trunctfsf_test,
48269         trunctfdf_test.
48270         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48271         functions.
48272         (do_test): Run all these.
48274 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48276         * argp/argp-help.c: Fix typos.
48277         * argp/argp-parse.c: Likewise.
48278         * debug/backtracesyms.c: Likewise.
48279         * elf/elf.h: Likewise.
48280         * malloc/malloc.c: Likewise.
48281         * nis/nis_print.c: Likewise.
48282         * resolv/res_comp.c: Likewise.
48283         * stdlib/stdlib.h: Likewise.
48284         * sunrpc/clnt_tcp.c: Likewise.
48285         * sunrpc/clnt_udp.c: Likewise.
48286         * sunrpc/clnt_unix.c: Likewise.
48287         * sysdeps/unix/bsd/ptsname.c: Likewise.
48288         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48289         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48291         Likewise.
48292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48293         Likewise.
48294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48295         Likewise.
48296         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48298 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48300         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48303 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48305         [BZ #15897]
48306         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48307         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48308         ($(objpfx)bug-dl-leaf): New rule.
48309         ($(objpfx)bug-dl-leaf.so): Likewise.
48310         ($(objpfx)bug-dl-leaf.out): Likewise.
48311         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48312         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48313         * dlfcn/bug-dl-leaf.c: New test.
48314         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48315         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48316         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48317         (dlclose): Likewise.
48318         (dlmopen): Likewise.
48320 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48322         * include/netdb.h [!_ISOMAC]:
48323         Don't include <tls.h>.
48324         (h_errno, __libc_h_errno): Move declaration and macros out of
48325         [_LIBC_REENTRANT].
48327         * include/resolv.h [_RESOLV_H_]:
48328         Don't include <tls.h>.
48329         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48330         * resolv/res_libc.c: Don't include <tls.h>.
48331         (_res): Use __attribute__ ((nocommon)) in place of
48332         __attribute__ ((section (".bss"))).
48334         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48335         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48337         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48339         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48340         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48342         * resolv/res_mkquery.c: Include <sys/time.h>.
48344         * inet/ifreq.c: Moved to ...
48345         * sysdeps/unix/ifreq.c: ... here.
48346         * inet/ifreq.c: New file, true stub version.
48348         * socket/sa_len.c: New file.
48349         * socket/Makefile (aux): Add it.
48350         * sysdeps/unix/sysv/linux/Makefile
48351         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48352         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48353         and #include <socket/sa_len.c>.
48354         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48355         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48357         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48358         * bits/socket.h: ... here.
48360         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48361         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48362         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48364 2013-08-27  Andreas Schwab  <schwab@suse.de>
48366         [BZ #15736]
48367         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48368         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48369         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48370         * string/test-strcasecmp.c (test_main): Run tests in several
48371         locales.
48372         * string/test-strncasecmp.c (test_main): Likewise.
48374         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48375         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48376         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48377         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48378         (__strncasecmp_ssse3) [PIC]: Likewise.
48380 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48382         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48384         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48385         instead of explicitly declaring xdecrypt.
48386         * nis/nss_nis/nis-publickey.c: Likewise.
48388 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48390         [BZ #15890]
48391         * nscd/aicache.c: Include res_hconf.h.
48392         (addhstaiX): Initialize res_hconf.
48394 2013-08-26  Andreas Schwab  <schwab@suse.de>
48396         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48397         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48399 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401         * nscd/aicache.c (addhstaiX): Fix indentation.
48403 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48405         * configure.ac: Quote $build_pt_chown test.
48406         * configure: Regenerated.
48408 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48410         [BZ #15532]
48411         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48412         * math/s_cexpf.c (__cexpf): Likewise.
48413         * math/s_cexpl.c (__cexpl): Likewise.
48414         * math/libm-test.inc (cexp_test_data): Correct expected return
48415         value for NaN + i0.  Add another test.
48417 2013-08-22  David S. Miller  <davem@davemloft.net>
48419         * po/ca.po: Update Catalan translation from translation project.
48420         * po/uk.po: Add Ukrainian translations from translation project.
48422 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48424         [BZ #15797]
48425         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48426         is infinite, not alongside NaN test.
48427         * math/s_fdimf.c (__fdimf): Likewise.
48428         * math/s_fdiml.c (__fdiml): Likewise.
48429         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48430         errno is unchanged.
48432 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48434         * argp/argp-help.c: Fix typos.
48435         * crypt/speeds.c: Likewise.
48436         * csu/check_fds.c: Likewise.
48437         * elf/dl-load.c: Likewise.
48438         * elf/dl-open.c: Likewise.
48439         * elf/reldep3.c: Likewise.
48440         * elf/reldep.c: Likewise.
48441         * elf/sprof.c: Likewise.
48442         * iconv/iconv_charmap.c: Likewise.
48443         * iconv/skeleton.c: Likewise.
48444         * iconv/strtab.c: Likewise.
48445         * io/lockf64.c: Likewise.
48446         * libio/libioP.h: Likewise.
48447         * resolv/gai_notify.c: Likewise.
48448         * resolv/ns_name.c: Likewise.
48449         * resolv/ns_samedomain.c: Likewise.
48450         * resolv/res_send.c: Likewise.
48451         * stdlib/random.c: Likewise.
48452         * sunrpc/rpc/xdr.h: Likewise.
48453         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48454         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48455         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48456         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48457         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48460         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48461         * sysdeps/mach/hurd/check_fds.c: Likewise.
48462         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48463         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48465         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48466         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48467         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48468         * sysdeps/pthread/aio_notify.c: Likewise.
48469         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48470         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48471         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48472         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48473         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48475 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48477         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48478         version if bit_Slow_SSE4_2 is set.
48479         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48480         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48482 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48484         [BZ #15867]
48485         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48486         trampoline stack frame information.
48487         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48488         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48489         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48490         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48491         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48492         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48493         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48494         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48495         sa_flags value.
48496         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48497         interrupting a syscall and set with option SA_SIGINFO.
48499 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48501         [BZ #15531]
48502         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48503         argument is infinite.
48504         * math/s_cprojf.c (__cprojf): Likewise.
48505         * math/s_cprojl.c (__cprojl): Likewise.
48506         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48507         * math/libm-test.inc (cproj_test_data): Add more tests.
48509         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48511         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48512         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48513         size.  Use __ffs to determine corresponding shift.
48515 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48516             Roland McGrath  <roland@hack.frob.com>
48518         * Makefile (INSTALL): Remove trailing blank lines from output of
48519         makeinfo.
48521 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48523         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48524         Align 32 bit compat elf_greg to 8 bytes.
48526 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48528         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48530 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48532         * string/strcoll_l.c (coll_seq): New structure.
48533         (get_next_seq_cached): New function.
48534         (get_next_seq): New function.
48535         (do_compare): New function.
48536         (STRCOLL): Use GNU style definition.  Simplify implementation
48537         by using get_next_seq, get_next_seq_cached and do_compare.
48539 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48541         [BZ #14699]
48542         CVE-2013-4237
48543         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48544         member.
48545         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48546         member.
48547         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48548         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48549         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48550         conditional.
48551         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48552         GETDENTS_64BIT_ALIGNED.
48553         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48554         * manual/filesys.texi (Reading/Closing Directory): Document
48555         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48556         strongly.
48557         * manual/conf.texi (Limits for Files): Add portability note to
48558         NAME_MAX, PATH_MAX.
48559         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48561 2013-08-13  Andreas Schwab  <schwab@suse.de>
48563         [BZ #15749]
48564         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48565         of fabs.
48566         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48567         LDBL_MAX_EXP >= 16384]: Add tests for it.
48569 2013-08-12  David S. Miller  <davem@davemloft.net>
48571         * version.h (RELEASE): Set to "development".
48572         (VERSION): Set to "2.18.90".
48573         * NEWS: Add 2.19 section.
48575 2013-08-03  David S. Miller  <davem@davemloft.net>
48577         * po/ko.po: Update Korean translation from translation project.
48579 2013-08-01  David S. Miller  <davem@davemloft.net>
48581         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48582         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48583         Bilka.
48585 2013-07-30  David S. Miller  <davem@davemloft.net>
48587         * po/fr.po: Update French translation from translation project.
48589 2013-07-28  David S. Miller  <davem@davemloft.net>
48591         * po/cs.po: Update Czech translation from translation project.
48593         * po/sv.po: Update Swedish translation from translation project.
48595 2013-07-27  David S. Miller  <davem@davemloft.net>
48597         * po/eo.po: Update Esperanto translation from translation project.
48599         * po/vi.po: Update Vietnamese translation from translation project.
48601         * po/de.po: Update German translation from translation project.
48603 2013-07-26  David S. Miller  <davem@davemloft.net>
48605         * po/bg.po: Update Bulgarian translation from translation project.
48607         * po/nl.po: Update Dutch translation from translation project.
48608         * po/pl.po: Update Polish translation from translation project.
48609         * po/ru.po: Update Russian translation from translation project.
48611 2013-07-24  David S. Miller  <davem@davemloft.net>
48613         * po/libc.pot: Update.
48615 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48617         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48618         variable page size.
48619         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48620         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48621         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48623 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48625         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48627 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48628             Andreas Schwab  <schwab@suse.de>
48629             Roland McGrath  <roland@hack.frob.com>
48630             Joseph Myers  <joseph@codesourcery.com>
48631             Carlos O'Donell  <carlos@redhat.com>
48633         [BZ #15755]
48634         * config.h.in: Define HAVE_PT_CHOWN.
48635         * config.make.in (build-pt-chown): New variable.
48636         * configure.in (--enable-pt_chown): New configure option.
48637         * configure: Regenerate.
48638         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48639         build-pt-chown is enabled.
48640         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48641         pt_chown to fix pty ownership.
48642         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48643         CLOSE_ALL_FDS.
48644         * manual/install.texi (Configuring and compiling): Mention
48645         --enable-pt_chown. Add @findex for grantpt.
48646         * INSTALL: Regenerate.
48648 2013-07-20  David S. Miller  <davem@davemloft.net>
48650         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48651         difference between 32-bit and 64-bit.
48653 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48655         [BZ #15711]
48656         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48657         Avoid system header dependency with -ffreestanding.
48658         ($(objpfx)bits/syscall%d): Likewise.
48660 2013-07-13  David S. Miller  <davem@davemloft.net>
48662         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48663         underflows from atanl/atan2l due to bug 15319.
48664         (casinh_test_data): Likewise.
48666 2013-07-07  David S. Miller  <davem@davemloft.net>
48668         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48670 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48672         * sysdeps/i386/fpu/libm-test-ulps: Update.
48673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48675 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48677         * configure.in (--enable-lock-elision): Fix message text.
48678         * INSTALL: Regenerate.
48679         * configure: Regenerate.
48681 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48685 2013-07-03  Andreas Jaeger  <aj@suse.de>
48687         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48688         define.
48689         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48690         (ptrace_peeksiginfo_args): Add.
48691         (__ptrace_peeksiginfo_flags): Add.
48692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48693         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48694         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48696 2013-07-03  Allan McRae  <allan@archlinux.org>
48698         * sysdeps/i386/fpu/libm-test-ulps: Update.
48700 2013-07-02  David S. Miller  <davem@davemloft.net>
48702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48704 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48708 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48710         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48713 2013-07-02  Andi Kleen <ak@linux.intel.com>
48715         * config.h.in (ENABLE_LOCK_ELISION): Add.
48716         * configure.in (--enable-lock-elision): Add option.
48717         * manual/install.texi: Document --enable lock elision.
48718         * configure: Regenerate
48719         * INSTALL: Regenerate.
48721 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48723         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48724         SSE4.2 strcasecmp for libc.a.
48725         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48727 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48729         [BZ #13304]
48730         * soft-fp/op-common.h (_FP_FMA): New macro.
48731         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48732         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48733         (_FP_MUL_MEAT_1_imm): ... here.
48734         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48735         (_FP_MUL_MEAT_1_wide): ... here.
48736         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48737         (_FP_MUL_MEAT_1_hard): ... here.
48738         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48739         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48740         (_FP_MUL_MEAT_2_wide): ... here.
48741         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48742         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48743         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48744         (_FP_MUL_MEAT_2_gmp): ... here.
48745         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48746         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48747         (_FP_MUL_MEAT_4_wide): ... here.
48748         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48749         (_FP_MUL_MEAT_4_gmp): ... here.
48750         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48751         (_FP_WFRACBITS_DW_S): Likewise.
48752         (_FP_WFRACXBITS_DW_S): Likewise.
48753         (_FP_HIGHBIT_DW_S): Likewise.
48754         (FP_FMA_S): Likewise.
48755         (_FP_FRAC_HIGH_DW_S): Likewise.
48756         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48757         (_FP_WFRACBITS_DW_D): Likewise.
48758         (_FP_WFRACXBITS_DW_D): Likewise.
48759         (_FP_HIGHBIT_DW_D): Likewise.
48760         (FP_FMA_D): Likewise.
48761         (_FP_FRAC_HIGH_DW_D): Likewise.
48762         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48763         (_FP_WFRACBITS_DW_E): Likewise.
48764         (_FP_WFRACXBITS_DW_E): Likewise.
48765         (_FP_HIGHBIT_DW_E): Likewise.
48766         (FP_FMA_E): Likewise.
48767         (_FP_FRAC_HIGH_DW_E): Likewise.
48768         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48769         (_FP_WFRACBITS_DW_Q): Likewise.
48770         (_FP_WFRACXBITS_DW_Q): Likewise.
48771         (_FP_HIGHBIT_DW_Q): Likewise.
48772         (FP_FMA_Q): Likewise.
48773         (_FP_FRAC_HIGH_DW_Q): Likewise.
48774         * soft-fp/fmasf4.c: New file.
48775         * soft-fp/fmadf4.c: Likewise.
48776         * soft-fp/fmatf4.c: Likewise.
48778 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48781         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48782         Silvermont.
48783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48784         macro.
48785         (index_Slow_SSE4_2): Likewise.
48786         (index_Prefer_PMINUB_for_stringop): Likewise.
48787         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48788         bit_Slow_SSE4_2 is set.
48789         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48790         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48792 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48794         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48795         rtld_global._dl_hwcap2.
48796         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48797         POWER8.
48798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48799         POWER8 feature descriptions defined in _dl_hwcap2.
48800         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48801         string handling for POWER8 feature bits.
48802         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48803         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48804         _dl_powerpc_cap_flags.
48805         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48806         * sysdeps/powerpc/rtld-global-offsets.sym
48807         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48808         _dl_hwcap2 in the rtld_global_ro structure.
48810 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48812         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48813         hardware capabilities in support of AT_HWCAP2.
48814         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48815         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48816         GLRO(dl_hwcap2).
48817         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48818         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48819         explicitly the unknown a_type display mechanism is used.
48820         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48821         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48822         struct member.
48823         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48824         to macro prototype for AT_HWCAP2 support.
48825         * sysdeps/i386/dl-procinfo.h: Likewise.
48826         * sysdeps/s390/dl-procinfo.h: Likewise.
48827         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48828         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48829         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48830         return -1 for unknown a_type display fallback.
48831         * sysdeps/sparc/dl-procinfo.h: Likewise.
48832         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48833         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48835 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48837         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48838         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48840 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48842         [BZ #12492]
48843         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48844         mprotect making __stack_prot writable.
48846 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48847             Joseph Myers  <joseph@codesourcery.com>
48849         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48850         as being properly aligned.
48852 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48854         * dlfcn/modstatic5.c: New file.
48855         * dlfcn/tststatic5.c: New file.
48856         * dlfcn/Makefile (tests): Add tststatic5.
48857         (tests-static): Likewise.
48858         (modules-names): Add modstatic5.
48859         (tststatic5-ENV): New variable.
48860         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48862         [BZ #15022]
48863         * elf/dl-support.c (_dl_main_map): New variable.
48864         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48865         (_dl_nns, _dl_load_adds): Set to 1.
48866         (_dl_initial_searchlist): Refer to _dl_main_map.
48867         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48868         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48869         call to _dl_get_origin.
48870         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48871         around call_map.
48872         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48873         * dlfcn/modstatic3.c: New file.
48874         * dlfcn/tststatic3.c: New file.
48875         * dlfcn/tststatic4.c: New file.
48876         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48877         (tests-static): Likewise.
48878         (modules-names): Add modstatic3.
48879         (tststatic3-ENV, tststatic4-ENV): New variables.
48880         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48881         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48883 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48885         * configure.in (CC): Require GCC version 4.4 or later.
48886         * configure: Regenerated.
48887         * manual/install.texi (Tools for Compilation): Update GCC version
48888         requirement.
48889         * INSTALL: Regenerated.
48891 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48893         [BZ #15674]
48894         * string/test-memcmp.c (check2): New.
48895         (main): Call check2.
48897         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48899 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48901         [BZ #15022]
48902         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48903         over to...
48904         (dl_open_worker) [!SHARED]: ... here.
48906 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48908         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48910 2013-06-25  Richard Henderson  <rth@redhat.com>
48912         * locale/programs/locarchive.c: Include <libc-internal.h>
48914 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48916         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48917         trailing whitespace removed.
48919 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48921         [BZ #10283]
48922         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48923         * locale/programs/locarchive.c: Include libc-mmap.h.
48924         (prepare_address_space): Take two new outputs (the mmap base and len).
48925         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48926         values.
48927         (create_archive): Declare new mmap base and len values for
48928         prepare_address_space, and store the result in ah.
48929         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48930         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48931         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48932         Declare new mmap base and len values for
48933         prepare_address_space, and store the result in new_ah.
48934         (open_archive): Declare new mmap base and len values for
48935         prepare_address_space, and store the result in ah.
48936         (close_archive): If ah->mmap_base is not NULL, use that and
48937         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48938         * sysdeps/generic/libc-mmap.h: New file.
48940 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48942         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48943         (ALIGN_UP): Likewise.
48944         (PTR_ALIGN_DOWN): Likewise.
48945         (PTR_ALIGN_UP): Likewise.
48947 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48949         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48950         entry mapped to PPC_PLATFORM_POWER8.
48951         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48952         POWER8.
48953         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48954         (_dl_string_platform): Add case for exporting platform position for
48955         POWER8.
48956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48957         search path to sysdeps/powerpc/powerpc32/power8 directory.
48958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48959         search path to sysdeps/powerpc/powerpc64/power8 directory.
48960         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48961         power7 directories.
48962         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48963         power7 directories.
48965 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48967         * INSTALL: Regenerate.
48969         * nscd/connections.c (nscd_init): Fix comment.
48971 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48973         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48975         [BZ #15667]
48976         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48977         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48979 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48981         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48982         DL_DST_REQ_STATIC.
48983         (DL_DST_REQ_STATIC): Remove macro.
48985 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48987         [BZ #7006]
48988         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48989         with a shift of 0 bits.
48991 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48993         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48994         $(tststatic-ENV).
48996 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48998         [BZ #15655]
48999         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49001 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49003         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49004         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49005         accepts -fno-tree-loop-distribute-patterns.
49006         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49007         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49008         recursive call.
49009         * string/memset.c (memset): Likewise.
49010         * string/test-memmove.c (simple_memmove): Disable loop transformation
49011         to library calls.
49012         * string/test-memset.c (simple_memset): Likewise.
49013         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49014         * benchtests/bench-memset.c (simple_memset): Likewise.
49015         * configure: Regenerated.
49017 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49019         * math/test-misc.c (main): Ignore fesetround failure when failures
49020         of subsequent rounding tests would be ignored.
49022         [BZ #15654]
49023         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49024         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49025         * math/fegetenv.c (__fegetenv): Return 0.
49026         * math/fegetexcept.c (fegetexcept): Return 0.
49027         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49028         FE_TONEAREST.
49029         * math/feholdexcpt.c (feholdexcept): Return 0.
49030         * math/fesetenv.c (__fesetenv): Return 0.
49031         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49032         argument FE_TONEAREST.
49033         * math/feupdateenv.c (__feupdateenv): Return 0.
49034         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49036 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49038         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49039         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49040         ($(objpfx)rtld-%.os rules): Use them.
49042 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49044         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49045         fields.
49047 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49049         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49050         length of target pattern, then descending length of dependency pattern.
49051         * configure.in (AWK): Require gawk 3.1.2 or newer.
49052         * manual/install.texi (Tools for Compilation): Say that we do.
49053         * configure: Regenerated.
49055         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49056         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49057         * scripts/sysd-rules.awk: ... this new script.
49058         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49059         than a glob-style pattern.
49061 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49063         * math/test-misc.c (main): Do not treat incorrectly rounded
49064         conversions as failure unless ROUNDING_TESTS passes.
49066 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49068         [BZ #15631]
49069         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49070         restore exception state around main square root computation, then
49071         check for inexactness explicitly.
49073         * math/libm-test.inc (fma_test_data): Add another test.
49075 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49077         * manual/threads.texi (Non-POSIX Extensions): New document
49078         node.  Document pthread_getattr_default_np and
49079         pthread_setattr_default_np.
49081         * Versions.def (libpthread): Add GLIBC_2.18.
49082         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49084         Likewise.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49086         Likewise.
49087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49088         Likewise.
49089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49090         Likewise.
49091         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49092         Likewise.
49093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49094         Likewise.
49095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49096         Likewise.
49097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49098         Likewise.
49099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49100         Likewise.
49102 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49105         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49107 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49108             H.J. Lu  <hjl.tools@gmail.com>
49110         [BZ #15627]
49111         * sysdeps/x86_64/rtld-memset.c: Remove file.
49112         * sysdeps/x86_64/rtld-memset.S: New file.
49114 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49116         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49117         (test_in_one_mode): Take arguments for whether the rounding mode
49118         is supported for each floating-point type.
49119         (do_test): Pass new arguments to test_in_one_mode using
49120         ROUNDING_TESTS.
49122 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49124         * posix/tst-waitid.c (do_test): Distinguish different instances of
49125         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49126         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49127         before entering the kernel for waitpid.
49129 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49131         * NEWS: Fix note on clock function precision.  Text by Roland
49132         McGrath.
49134 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49136         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49137         it into place only when and if the sanity check passes.
49139 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49141         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49142         output for whether conversion result is exact.  Take argument
49143         indicating whether type is IBM long double.
49144         (round_for_all): Change need_exact field to ibm_ld.
49145         * stdlib/tst-strtod-round.c (struct exactness): New type.
49146         (struct test): Change bool ld_ok field to struct exactness exact.
49147         (TEST): Update all definitions for change to field.
49148         (tests): Regenerate array contents.
49149         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49150         field value.  Check for IBM long double here.
49151         (do_test): Update calls to test_in_one_mode.
49153 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49155         [BZ #12515]
49156         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49157         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49159 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49161         [BZ #15605]
49162         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49163         generated by the compiler on loop optimizations.
49164         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49165         general definitions.
49167 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49169         * math/bug-nextafter.c: Include <math-tests.h>.
49170         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49171         the relevant type.
49172         * math/bug-nexttoward.c: Include <math-tests.h>.
49173         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49174         the relevant type.
49175         * math/test-misc.c: Include <math-tests.h>.
49176         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49177         the relevant type.
49179 2013-06-12  Andreas Jaeger  <aj@suse.de>
49181         * po/ia.po: Update Interlingua translation from translation
49182         project.
49184 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49186         * include/fenv.h: Include stdbool.h.
49187         (struct rm_ctx): New structure.
49188         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49189         Define macro.
49190         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49191         (SET_RESTORE_ROUNDF): Likewise.
49192         (SET_RESTORE_ROUNDL): Likewise.
49193         (SET_RESTORE_ROUND_NOEX): Likewise.
49194         (SET_RESTORE_ROUND_NOEXF): Likewise.
49195         (SET_RESTORE_ROUND_NOEXL): Likewise.
49196         (SET_RESTORE_ROUND_53BIT): Likewise.
49197         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49198         (libc_feresetround_noexf_ctx): Likewise.
49199         (libc_feresetround_noexl_ctx): Likewise.
49200         (libc_feholdsetround_53bit_ctx): Likewise.
49201         (libc_feresetround_53bit_ctx): Likewise.
49202         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49203         (libc_feholdexcept_setround_sse_ctx): New function.
49204         (libc_fesetenv_sse_ctx): Likewise.
49205         (libc_feupdateenv_sse_ctx): Likewise.
49206         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49207         (libc_feholdexcept_setround_387_ctx): Likewise.
49208         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49209         (libc_feholdsetround_387_prec_ctx): Likewise.
49210         (libc_feholdsetround_387_ctx): Likewise.
49211         (libc_feholdsetround_387_53bit_ctx): Likewise.
49212         (libc_feholdsetround_sse_ctx): Likewise.
49213         (libc_feresetround_sse_ctx): Likewise.
49214         (libc_feresetround_387_ctx): Likewise.
49215         (libc_feupdateenv_387_ctx): Likewise.
49216         (libc_feholdexcept_setroundf_ctx): Define macro.
49217         (libc_fesetenvf_ctx): Likewise.
49218         (libc_feupdateenvf_ctx): Likewise.
49219         (libc_feholdsetroundf_ctx): Likewise.
49220         (libc_feresetroundf_ctx): Likewise.
49221         (libc_feholdexcept_setround_ctx): Likewise.
49222         (libc_fesetenv_ctx): Likewise.
49223         (libc_feupdateenv_ctx): Likewise.
49224         (libc_feholdsetround_ctx): Likewise.
49225         (libc_feresetround_ctx): Likewise.
49226         (libc_feholdexcept_setroundl_ctx): Likewise.
49227         (libc_feupdateenvl_ctx): Likewise.
49228         (libc_feholdsetroundl_ctx): Likewise.
49229         (libc_feresetroundl_ctx): Likewise.
49230         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49231         (libc_feresetround_53bit_ctx): Likewise.
49233 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49235         * locale/iso-639.def: Convert to UTF-8.
49237 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49239         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49240         (EXCEPTION_TESTS_double): Likewise.
49241         (EXCEPTION_TESTS_long_double): Likewise.
49242         (EXCEPTION_TESTS): Likewise.
49243         * math/libm-test.inc (test_exceptions): Only test exceptions if
49244         EXCEPTION_TESTS (FLOAT).
49246 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49248         * benchtests/Makefile (string-bench): Add strcpy_chk and
49249         stpcpy_chk.
49250         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49251         * benchtests/bench-stpcpy_chk.c: New file.
49252         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49253         * benchtests/bench-strcpy_chk.c: New file.
49254         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49255         code.
49256         (do_test): Likewise.
49258 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49260         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49261         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49262         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49263         with tabs where appropriate.
49264         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49265         dl-procinfo.h.
49266         [PPC_PLATFORM_PPC440]: Likewise.
49267         [PPC_PLATFORM_PPC464]: Likewise.
49268         [PPC_PLATFORM_PPC476]: Likewise.
49269         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49270         ppc464, and ppc476 platform strings merging from ports/
49271         dl-procinfo.h.
49273 2013-06-11  Andreas Schwab  <schwab@suse.de>
49275         [BZ #14991]
49276         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49277         (from_ucs4_idx): Regenerate.
49278         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49279         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49280         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49281         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49282         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49283         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49284         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49285         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49286         from FROM_LOOP and TO_LOOP specific macros.
49287         (BODY): Handle combining characters.
49288         * iconvdata/BIG5HKSCS.irreversible: Update.
49289         * iconvdata/BIG5HKSCS.precomposed: New file.
49290         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49291         characters.
49292         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49294 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49296         * include/sys/time.h: Fix indentation and add copyright header.
49298         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49299         (do_test): Likewise.
49300         * string/test-memchr.c (do_one_test): Likewise.
49301         (do_test): Likewise.
49302         * string/test-memcmp.c (do_one_test): Likewise.
49303         (do_test): Likewise.
49304         * string/test-memcpy.c (do_one_test): Likewise.
49305         (do_test): Likewise.
49306         * string/test-memmem.c (do_one_test): Likewise.
49307         (do_test): Likewise.
49308         (do_random_tests): Likewise.
49309         * string/test-memmove.c (do_one_test): Likewise.
49310         (do_test): Likewise.
49311         * string/test-memset.c (do_one_test): Likewise.
49312         (do_test): Likewise.
49313         * string/test-rawmemchr.c (do_one_test): Likewise.
49314         (do_test): Likewise.
49315         * string/test-strcasecmp.c (do_one_test): Likewise.
49316         (do_test): Likewise.
49317         * string/test-strcasestr.c (do_one_test): Likewise.
49318         (do_test): Likewise.
49319         * string/test-strcat.c (do_one_test): Likewise.
49320         (do_test): Likewise.
49321         * string/test-strchr.c (do_one_test): Likewise.
49322         (do_test): Likewise.
49323         * string/test-strcmp.c (do_one_test): Likewise.
49324         (do_test): Likewise.
49325         * string/test-strcpy.c (do_one_test): Likewise.
49326         (do_test): Likewise.
49327         * string/test-string.h: Likewise.
49328         (test_init): Likewise.
49329         * string/test-strlen.c (do_one_test): Likewise.
49330         (do_test): Likewise.
49331         * string/test-strncasecmp.c (do_one_test): Likewise.
49332         (do_test): Likewise.
49333         * string/test-strncat.c (do_one_test): Likewise.
49334         (do_test): Likewise.
49335         * string/test-strncmp.c (do_one_test): Likewise.
49336         (do_test_limit): Likewise.
49337         (do_test): Likewise.
49338         * string/test-strncpy.c (do_one_test): Likewise.
49339         (do_test): Likewise.
49340         * string/test-strnlen.c (do_one_test): Likewise.
49341         (do_test): Likewise.
49342         * string/test-strpbrk.c (do_one_test): Likewise.
49343         (do_test): Likewise.
49344         * string/test-strrchr.c (do_one_test): Likewise.
49345         (do_test): Likewise.
49346         * string/test-strspn.c (do_one_test): Likewise.
49347         (do_test): Likewise.
49348         * string/test-strstr.c (do_one_test): Likewise.
49349         (do_test): Likewise.
49351         * benchtests/Makefile (string-bench): Add string benchmarks.
49352         * benchtests/bench-bcopy-ifunc.c: New file.
49353         * benchtests/bench-bcopy.c: New file.
49354         * benchtests/bench-bzero-ifunc.c: New file.
49355         * benchtests/bench-bzero.c: New file.
49356         * benchtests/bench-memccpy-ifunc.c: New file.
49357         * benchtests/bench-memccpy.c: New file.
49358         * benchtests/bench-memchr-ifunc.c: New file.
49359         * benchtests/bench-memchr.c: New file.
49360         * benchtests/bench-memcmp-ifunc.c: New file.
49361         * benchtests/bench-memcmp.c: New file.
49362         * benchtests/bench-memmem-ifunc.c: New file.
49363         * benchtests/bench-memmem.c: New file.
49364         * benchtests/bench-memmove-ifunc.c: New file.
49365         * benchtests/bench-memmove.c: New file.
49366         * benchtests/bench-mempcpy-ifunc.c: New file.
49367         * benchtests/bench-mempcpy.c: New file.
49368         * benchtests/bench-memset-ifunc.c: New file.
49369         * benchtests/bench-memset.c: New file.
49370         * benchtests/bench-rawmemchr-ifunc.c: New file.
49371         * benchtests/bench-rawmemchr.c: New file.
49372         * benchtests/bench-stpcpy-ifunc.c: New file.
49373         * benchtests/bench-stpcpy.c: New file.
49374         * benchtests/bench-stpncpy-ifunc.c: New file.
49375         * benchtests/bench-stpncpy.c: New file.
49376         * benchtests/bench-strcasecmp-ifunc.c: New file.
49377         * benchtests/bench-strcasecmp.c: New file.
49378         * benchtests/bench-strcasestr-ifunc.c: New file.
49379         * benchtests/bench-strcasestr.c: New file.
49380         * benchtests/bench-strcat-ifunc.c: New file.
49381         * benchtests/bench-strcat.c: New file.
49382         * benchtests/bench-strchr-ifunc.c: New file.
49383         * benchtests/bench-strchr.c: New file.
49384         * benchtests/bench-strchrnul-ifunc.c: New file.
49385         * benchtests/bench-strchrnul.c: New file.
49386         * benchtests/bench-strcmp-ifunc.c: New file.
49387         * benchtests/bench-strcmp.c: New file.
49388         * benchtests/bench-strcpy-ifunc.c: New file.
49389         * benchtests/bench-strcpy.c: New file.
49390         * benchtests/bench-strcspn-ifunc.c: New file.
49391         * benchtests/bench-strcspn.c: New file.
49392         * benchtests/bench-strlen-ifunc.c: New file.
49393         * benchtests/bench-strlen.c: New file.
49394         * benchtests/bench-strncasecmp-ifunc.c: New file.
49395         * benchtests/bench-strncasecmp.c: New file.
49396         * benchtests/bench-strncat-ifunc.c: New file.
49397         * benchtests/bench-strncat.c: New file.
49398         * benchtests/bench-strncmp-ifunc.c: New file.
49399         * benchtests/bench-strncmp.c: New file.
49400         * benchtests/bench-strncpy-ifunc.c: New file.
49401         * benchtests/bench-strncpy.c: New file.
49402         * benchtests/bench-strnlen-ifunc.c: New file.
49403         * benchtests/bench-strnlen.c: New file.
49404         * benchtests/bench-strpbrk-ifunc.c: New file.
49405         * benchtests/bench-strpbrk.c: New file.
49406         * benchtests/bench-strrchr-ifunc.c: New file.
49407         * benchtests/bench-strrchr.c: New file.
49408         * benchtests/bench-strspn-ifunc.c: New file.
49409         * benchtests/bench-strspn.c: New file.
49410         * benchtests/bench-strstr-ifunc.c: New file.
49411         * benchtests/bench-strstr.c: New file.
49413         * benchtests/Makefile: Disable parallel execution of targets.
49414         (string-bench): Add memcpy.
49415         (benchset): New variable to store a list of benchmark sets.
49416         (bench-func): Renamed from bench.
49417         (bench-set): New target.
49418         (bench): Depend on bench-func and bench-set.
49419         * benchtests/README: Add section on benchmark sets.
49420         * benchtests/bench-memcpy-ifunc.c: New file.
49421         * benchtests/bench-memcpy.c: New file.
49422         * benchtests/bench-string.h: New file.
49424 2013-06-11  Andreas Schwab  <schwab@suse.de>
49426         [BZ #15577]
49427         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49428         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49429         values in the triple.
49430         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49431         terminator in the group key.
49433 2013-06-11  Andreas Jaeger  <aj@suse.de>
49435         * po/zh_TW.po: Update Chinese (traditional) translation from
49436         translation project.
49438 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49440         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49441         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49442         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49443         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49444         (clock_getcpuclockid): Likewise.
49445         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49446         Add weak_alias and libc_hidden_def.
49447         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49448         * rt/clock_gettime.c (clock_gettime): Rename to
49449         __clock_gettime.  Add weak_alias and libc_hidden_def.
49450         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49451         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49452         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49453         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49454         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49455         Likewise.
49456         * rt/clock_settime.c (clock_settime): Rename to
49457         __clock_settime.  Add weak_alias and libc_hidden_def.
49458         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49460 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49462         * mach/err_boot.sub: Remove trailing whitespace.
49463         * mach/err_ipc.sub: Likewise.
49464         * mach/err_mach.sub: Likewise.
49466         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49467         (ROUNDING_TESTS_double): Likewise.
49468         (ROUNDING_TESTS_long_double): Likewise.
49469         (ROUNDING_TESTS): Likewise.
49470         * math/libm-test.inc: Include <math-tests.h>.
49471         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49472         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49473         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49474         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49476 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49478         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49479         of assigning.
49481 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49483         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49484         otherwise empty TRANS lines.
49485         * sysdeps/gnu/errlist.c: Regenerated.
49487         * catgets/gencat.c (error_print): Use (void) in function
49488         definition.
49489         * crypt/crypt_util.c (__init_des): Likewise.
49490         * crypt/speeds.c (Stop): Likewise.
49491         (main): Likewise.
49492         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49493         * inet/ruserpass.c (token): Likewise.
49494         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49495         * intl/localealias.c (extend_alias_table): Likewise.
49496         * intl/plural-exp.c (init_germanic_plural): Likewise.
49497         * libio/fcloseall.c (__fcloseall): Likewise.
49498         * libio/genops.c (_IO_flush_all): Likewise.
49499         (_IO_flush_all_linebuffered): Likewise.
49500         (_IO_cleanup): Likewise.
49501         (_IO_iter_begin): Likewise.
49502         (_IO_iter_end): Likewise.
49503         (_IO_list_lock): Likewise.
49504         (_IO_list_unlock): Likewise.
49505         (_IO_list_resetlock): Likewise.
49506         * libio/getchar.c (getchar): Likewise.
49507         * libio/getchar_u.c (getchar_unlocked): Likewise.
49508         * libio/getwchar.c (getwchar): Likewise.
49509         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49510         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49511         * login/getpt.c (__getpt): Likewise.
49512         * login/tst-utmp.c (main): Likewise.
49513         * malloc/hooks.c (__malloc_check_init): Likewise.
49514         * malloc/malloc.c (__malloc_stats): Likewise.
49515         * malloc/mtrace.c (tr_break): Likewise.
49516         (mtrace): Likewise.
49517         (muntrace): Likewise.
49518         * misc/fstab.c (endfsent): Likewise.
49519         * misc/getclktck.c (__getclktck): Likewise.
49520         * misc/getdtsz.c (__getdtablesize): Likewise.
49521         * misc/gethostid.c (gethostid): Likewise.
49522         * misc/getpagesize.c (__getpagesize): Likewise.
49523         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49524         (__get_nprocs): Likewise.
49525         (__get_phys_pages): Likewise.
49526         (__get_avphys_pages): Likewise.
49527         * misc/getttyent.c (getttyent): Likewise.
49528         (setttyent): Likewise.
49529         (endttyent): Likewise.
49530         * misc/getusershell.c (getusershell): Likewise.
49531         (endusershell): Likewise.
49532         (setusershell): Likewise.
49533         (initshells): Likewise.
49534         * misc/hsearch.c (__hdestroy): Likewise.
49535         * misc/sync.c (sync): Likewise.
49536         * misc/syslog.c (closelog_internal): Likewise.
49537         (closelog): Likewise.
49538         * misc/ttyslot.c (ttyslot): Likewise.
49539         * misc/vhangup.c (vhangup): Likewise.
49540         * posix/fork.c (__fork): Likewise.
49541         * posix/getegid.c (__getegid): Likewise.
49542         * posix/geteuid.c (__geteuid): Likewise.
49543         * posix/getgid.c (__getgid): Likewise.
49544         * posix/getpid.c (__getpid): Likewise.
49545         * posix/getppid.c (__getppid): Likewise.
49546         * posix/getuid.c (__getuid): Likewise.
49547         * posix/pause.c (pause): Likewise.
49548         * posix/setpgrp.c (setpgrp): Likewise.
49549         * posix/setsid.c (__setsid): Likewise.
49550         * posix/test-vfork.c (noop): Likewise.
49551         * resolv/gethnamaddr.c (_endhtent): Likewise.
49552         (_gethtent): Likewise.
49553         (ht_endhostent): Likewise.
49554         (gethostent): Likewise.
49555         (dns_service): Likewise.
49556         * stdlib/drand48.c (drand48): Likewise.
49557         * stdlib/lrand48.c (lrand48): Likewise.
49558         * stdlib/mrand48.c (mrand48): Likewise.
49559         * stdlib/rand.c (rand): Likewise.
49560         * stdlib/random.c (__random): Likewise.
49561         * stdlib/setenv.c (clearenv): Likewise.
49562         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49563         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49564         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49565         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49566         (__get_nprocs): Likewise.
49567         (__get_phys_pages): Likewise.
49568         (__get_avphys_pages): Likewise.
49569         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49570         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49571         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49572         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49573         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49574         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49575         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49576         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49577         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49578         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49579         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49580         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49581         * sysdeps/posix/clock.c (clock): Likewise.
49582         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49583         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49584         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49585         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49586         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49587         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49588         (__get_nprocs_conf): Likewise.
49589         (__get_phys_pages): Likewise.
49590         (__get_avphys_pages): Likewise.
49591         * time/clock.c (clock): Likewise.
49592         * time/tzset.c (__tzname_max): Likewise.
49594 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49596         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49597         (__bswap_32): Do not use "register".
49598         * crypt/crypt.c (_ufc_doit_r): Likewise.
49599         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49600         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49601         * gmon/gmon.c (__monstartup): Likewise.
49602         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49603         * hurd/hurdmalloc.c (more_memory): Likewise.
49604         (malloc): Likewise.
49605         (free): Likewise.
49606         (realloc): Likewise.
49607         (malloc_fork_prepare): Likewise.
49608         (malloc_fork_parent): Likewise.
49609         (malloc_fork_child): Likewise.
49610         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49611         (_svcauth_des): Likewise.
49612         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49613         * inet/inet_net.c (inet_network): Likewise.
49614         * inet/inet_netof.c (inet_netof): Likewise.
49615         * inet/rcmd.c (__validuser2_sa): Likewise.
49616         * io/fts.c (fts_open): Likewise.
49617         (fts_load): Likewise.
49618         (fts_close): Likewise.
49619         (fts_read): Likewise.
49620         (fts_children): Likewise.
49621         (fts_build): Likewise.
49622         (fts_stat): Likewise.
49623         (fts_sort): Likewise.
49624         (fts_alloc): Likewise.
49625         (fts_lfree): Likewise.
49626         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49627         (_IO_file_xsgetn): Likewise.
49628         (_IO_file_xsgetn_mmap): Likewise.
49629         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49630         (_IO_cookie_write): Likewise.
49631         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49632         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49633         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49634         * malloc/obstack.c (_obstack_begin): Likewise.
49635         (_obstack_begin_1): Likewise.
49636         (_obstack_newchunk): Likewise.
49637         (_obstack_allocated_p): Likewise.
49638         (obstack_free): Likewise.
49639         (_obstack_memory_used): Likewise.
49640         * misc/getttyent.c (getttynam): Likewise.
49641         (getttyent): Likewise.
49642         (skip): Likewise.
49643         (value): Likewise.
49644         * misc/getusershell.c (initshells): Likewise.
49645         * misc/syslog.c (__vsyslog_chk): Likewise.
49646         * misc/ttyslot.c (ttyslot): Likewise.
49647         * nis/nis_hash.c (__nis_hash): Likewise.
49648         * posix/fnmatch_loop.c (FCT): Likewise.
49649         * posix/getconf.c (print_all): Likewise.
49650         (main): Likewise.
49651         * posix/getopt.c (exchange): Likewise.
49652         * posix/glob.c (globfree): Likewise.
49653         (prefix_array): Likewise.
49654         (__glob_pattern_type): Likewise.
49655         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49656         (NS_GET32): Likewise.
49657         (NS_PUT16): Likewise.
49658         (NS_PUT32): Likewise.
49659         * resolv/gethnamaddr.c (getanswer): Likewise.
49660         (gethostbyname2): Likewise.
49661         (gethostbyaddr): Likewise.
49662         (_gethtent): Likewise.
49663         (_gethtbyname2): Likewise.
49664         (_gethtbyaddr): Likewise.
49665         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49666         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49667         * resolv/res_init.c (__res_vinit): Likewise.
49668         (net_mask): Likewise.
49669         * resolv/res_mkquery.c (outchar): Likewise.
49670         (PRINT): Likewise.
49671         * stdio-common/printf_fp.c (outchar): Likewise.
49672         (PRINT): Likewise.
49673         * stdio-common/printf_fphex.c (outchar): Likewise.
49674         (PRINT): Likewise.
49675         * stdio-common/printf_size.c (outchar): Likewise.
49676         (PRINT): Likewise.
49677         * stdio-common/test_rdwr.c (main): Likewise.
49678         * stdio-common/tfformat.c (matches): Likewise.
49679         * stdio-common/vfprintf.c (outchar): Likewise.
49680         (printf_unknown): Likewise.
49681         (buffered_vfprintf): Likewise.
49682         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49683         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49684         (ReadFile): Likewise.
49685         * stdlib/qsort.c (SWAP): Likewise.
49686         (_quicksort): Likewise.
49687         * stdlib/setenv.c (__add_to_environ): Likewise.
49688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49689         * stdlib/strtol_l.c (__strtol_l): Likewise.
49690         * stdlib/tst-strtod.c (main): Likewise.
49691         * stdlib/tst-strtol.c (main): Likewise.
49692         * stdlib/tst-strtoll.c (main): Likewise.
49693         * string/bits/string2.h (__strcmp_cc): Likewise.
49694         (__strcmp_cg): Likewise.
49695         (__strcspn_c1): Likewise.
49696         (__strcspn_c2): Likewise.
49697         (__strcspn_c3): Likewise.
49698         (__strspn_c1): Likewise.
49699         (__strspn_c2): Likewise.
49700         (__strspn_c3): Likewise.
49701         (__strsep_1c): Likewise.
49702         (__strsep_2c): Likewise.
49703         (__strsep_3c): Likewise.
49704         * string/memccpy.c (__memccpy): Likewise.
49705         * string/stpcpy.c (__stpcpy): Likewise.
49706         * string/strcmp.c (strcmp): Likewise.
49707         * string/strrchr.c (strrchr): Likewise.
49708         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49709         Likewise.
49710         * sysdeps/mach/hurd/getcwd.c
49711         (_hurd_canonicalize_directory_name_internal): Likewise.
49712         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49713         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49714         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49715         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49716         Likewise, in both definitions.
49717         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49718         definitions.
49719         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49720         64] (__bswap_64): Likewise.
49721         * time/test_time.c (main): Likewise.
49722         * time/tzfile.c (__tzfile_read): Likewise.
49723         (__tzfile_compute): Likewise.
49724         * time/tzset.c (__tzset_parse_tz): Likewise.
49725         (tzset_internal): Likewise.
49726         (compute_change): Likewise.
49727         * wcsmbs/wcscat.c (__wcscat): Likewise.
49728         * wcsmbs/wcschr.c (wcschr): Likewise.
49729         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49730         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49731         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49732         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49733         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49734         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49735         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49736         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49737         * wcsmbs/wmemset.c (wmemset): Likewise.
49739 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49741         * scripts/config.guess: Update to version 2013-05-16.
49742         * scripts/config.sub: Update to version 2013-04-24.
49743         * scripts/install-sh: Update to version 2011-11-20.07.
49744         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49745         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49747 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49749         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49750         * elf/sln.c: Likewise.
49751         * hurd/hurd/ioctl.h: Likewise.
49752         * hurd/hurdmalloc.c: Likewise.
49753         * hurd/xattr.c: Likewise.
49754         * include/shlib-compat.h: Likewise.
49755         * inet/ruserpass.c: Likewise.
49756         * libio/iofgets_u.c: Likewise.
49757         * libio/iofgetws_u.c: Likewise.
49758         * locale/programs/ld-identification.c: Likewise.
49759         * locale/programs/ld-time.c: Likewise.
49760         * mach/msg-destroy.c: Likewise.
49761         * nss/nss_files/files-netgrp.c: Likewise.
49762         * resolv/res_data.c: Likewise.
49763         * soft-fp/op-1.h: Likewise.
49764         * soft-fp/op-2.h: Likewise.
49765         * soft-fp/op-4.h: Likewise.
49766         * soft-fp/op-common.h: Likewise.
49767         * stdio-common/printf_fphex.c: Likewise.
49768         * stdlib/strtod_l.c: Likewise.
49769         * sunrpc/rpc/clnt.h: Likewise.
49770         * sysdeps/generic/framestate.c: Likewise.
49771         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49772         * sysdeps/i386/bsd-setjmp.S: Likewise.
49773         * sysdeps/i386/__longjmp.S: Likewise.
49774         * sysdeps/i386/setjmp.S: Likewise.
49775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49776         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49777         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49778         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49779         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49780         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49782         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49784         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49785         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49786         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49787         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49788         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49789         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49791         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49792         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49793         * sysdeps/ieee754/support.c: Likewise.
49794         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49795         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49796         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49797         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49798         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49799         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49800         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49801         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49802         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49803         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49804         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49805         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49806         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49807         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49808         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49809         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49810         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49813 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49815         * posix/transbug.c: Remove executable mode.
49817 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49819         * crypt/speeds.c: Remove trailing whitespace.
49820         * dlfcn/default.c: Likewise.
49821         * elf/ifuncdep2.c: Likewise.
49822         * elf/ifuncmain1.c: Likewise.
49823         * elf/ifuncmain1vis.c: Likewise.
49824         * elf/testobj.h: Likewise.
49825         * elf/tst-stackguard1.c: Likewise.
49826         * gmon/sys/gmon.h: Likewise.
49827         * hurd/hurdmsg.c: Likewise.
49828         * hurd/new-fd.c: Likewise.
49829         * hurd/ports-get.c: Likewise.
49830         * iconvdata/ibm1008_420.c: Likewise.
49831         * inet/tst-getni1.c: Likewise.
49832         * inet/tst-getni2.c: Likewise.
49833         * libio/ioungetc.c: Likewise.
49834         * libio/wfiledoalloc.c: Likewise.
49835         * manual/libm-err-tab.pl: Likewise.
49836         * math/w_dremf.c: Likewise.
49837         * misc/ftruncate.c: Likewise.
49838         * posix/bug-glob2.c: Likewise.
49839         * posix/tst-pcre.c: Likewise.
49840         * posix/wait4.c: Likewise.
49841         * resolv/README: Likewise.
49842         * resolv/res_debug.h: Likewise.
49843         * resolv/tst-inet_ntop.c: Likewise.
49844         * setjmp/bug269-setjmp.c: Likewise.
49845         * soft-fp/extended.h: Likewise.
49846         * soft-fp/op-1.h: Likewise.
49847         * soft-fp/op-2.h: Likewise.
49848         * soft-fp/op-4.h: Likewise.
49849         * soft-fp/op-8.h: Likewise.
49850         * soft-fp/testit.c: Likewise.
49851         * stdio-common/bug16.c: Likewise.
49852         * stdlib/random.c: Likewise.
49853         * sunrpc/rpcsvc/rquota.x: Likewise.
49854         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49855         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49856         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49857         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49858         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49859         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49860         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49861         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49862         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49863         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49864         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49865         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49866         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49867         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49868         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49869         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49870         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49871         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49872         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49873         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49874         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49875         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49876         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49877         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49878         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49879         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49882         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49883         * sysdeps/ieee754/s_lib_version.c: Likewise.
49884         * sysdeps/mach/hurd/check_fds.c: Likewise.
49885         * sysdeps/mach/hurd/getsockname.c: Likewise.
49886         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49887         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49888         * sysdeps/powerpc/bits/link.h: Likewise.
49889         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49890         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49891         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49892         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49893         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49894         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49895         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49896         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49897         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49898         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49899         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49900         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49901         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49902         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49903         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49904         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49905         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49906         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49907         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49908         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49910         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49912         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49913         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49914         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49915         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49916         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49917         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49918         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49919         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49920         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49921         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49922         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49923         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49924         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49925         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49926         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49927         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49928         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49929         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49930         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49931         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49932         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49933         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49934         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49935         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49936         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49937         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49938         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49939         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49940         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49941         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49942         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49943         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49944         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49945         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49946         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49947         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49948         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49949         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49950         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49951         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49952         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49953         * sysdeps/powerpc/sysdep.h: Likewise.
49954         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49955         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49956         * sysdeps/sh/dl-trampoline.S: Likewise.
49957         * sysdeps/sh/memset.S: Likewise.
49958         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49959         * sysdeps/sh/strlen.S: Likewise.
49960         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49961         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49962         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49963         * sysdeps/sparc/sparc32/rem.S: Likewise.
49964         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49965         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49966         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49967         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49968         * sysdeps/sparc/sparc32/urem.S: Likewise.
49969         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49970         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49971         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49972         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49973         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49974         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49975         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49976         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49977         * sysdeps/unix/bsd/times.c: Likewise.
49978         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49979         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49983         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49984         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49985         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49986         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49987         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49989         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49990         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49991         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49992         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49993         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49994         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49995         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49996         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49997         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49998         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49999         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50000         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50001         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50002         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50003         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50004         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50005         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50006         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50007         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50008         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50009         * sysdeps/x86_64/strcspn.S: Likewise.
50011 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50013         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50014         generated file.  Regenerate properly from gen-translit.pl.
50015         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50016         locale/C-translit.h.
50018 2013-06-05  Andreas Schwab  <schwab@suse.de>
50020         [BZ #15100]
50021         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50022         week as 6 instead of -1.
50023         * time/tst-strptime.c (day_tests): Add test case.
50025 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50027         * sysdeps/generic/math_private.h
50028         (libc_feholdexcept_setround_53bit): Replace with
50029         libc_feholdsetround_53bit.
50030         (libc_feupdateenv_53bit): Replace with
50031         libc_feresetround_53bit.
50032         (SET_RESTORE_ROUND_53BIT): Adjust.
50034 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50036         * string/test-strchrnul.c: Add copyright header.
50038         * posix/tst-getaddrinfo4.c: Increase test timeout.
50040 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50042         [BZ #15536]
50043         * math/libm-test.inc (MAX_EXP): Remove
50044         (MIN_EXP): Define.
50045         (ulp): Use MIN_EXP - MANT_DIG.
50046         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50048 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50050         * po/be.po: Revert last change.
50051         * po/zh_CN.po: Likewise.
50052         * po/header.pot: Likewise.
50054 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50056         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50057         link-libc-deps to empty as target-specific variable.
50058         * Makerules (link-libc-args): New variable.
50059         (libc-for-link): Likewise.
50060         (link-libc-deps): Likewise.
50061         (lib%.so): Depend on $(link-libc-deps).  Link with
50062         $(link-libc-args).
50063         (build-module): Link with $(link-libc-args).
50064         (build-module-asneeded): Likewise.
50065         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50066         list of objects.
50067         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50068         target-specific variable.
50069         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50070         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50071         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50072         libc.
50073         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50074         libc and ld.so.
50075         ($(objpfx)libpcprofile.so): Likewise.
50076         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50077         libc_nonshared.a.
50078         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50079         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50080         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50081         $(link-libc-deps).
50082         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50083         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50084         * login/Makefile ($(objpfx)libutil.so): Likewise.
50085         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50086         * math/Makefile ($(objpfx)libm.so): Likewise.
50087         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50088         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50089         variable instead of depending directly on libc.
50090         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50091         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50092         $(link-libc-deps).
50093         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50094         libc.
50095         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50096         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50097         ($(objpfx)libanl.so): Likewise.
50098         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50099         ld.so.
50100         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50101         $(link-libc-deps).
50102         * sysdeps/i386/fpu/Makefile: Remove file.
50103         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50104         ($(objpfx)libm.so): Remove dependency on ld.so.
50106 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50108         [BZ # 15553]
50109         * nis/yp_xdr.c (XDRMAXNAME): Define.
50110         (XDRMAXRECORD): Define.
50111         (xdr_domainname): Use XDRMAXNAME.
50112         (xdr_mapname): Likewise.
50113         (xdr_peername): Likewise.
50114         (xdr_keydat): Use XDRMAXRECORD.
50115         (xdr_valdat): Likewise.
50117 2013-05-30  Jeff Law  <law@redhat.com>
50119         [BZ #14256]
50120         * manual/errno.texi (ESTALE): Update to account for more than
50121         just NFS file systems.
50122         * sysdeps/gnu/errlist.c: Regenerated.
50124 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50126         [BZ #15465]
50127         * elf/Makefile (tests): Add tst-null-argv.
50128         (modules-names):  Add tst-null-argv-lib.
50129         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50130         (tst-null-argv-ENV): Set environment for tst-null-argv.
50131         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50132         (RTLD_PROGNAME): New macro.
50133         * elf/tst-null-argv.c: New test case.
50134         * elf/tst-null-argv-lib.c: Library for test case.
50135         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50136         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50137         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50138         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50139         * elf/dl-init.c (call_init): Likewise.
50140         (_dl_init): Likewise.
50141         * elf/dl-load.c (print_search_path): Likewise.
50142         (_dl_map_object): Likewise.
50143         * elf/dl-lookup.c (do_lookup_x): Likewise.
50144         (add_dependency): Likewise.
50145         (_dl_lookup_symbol_x): Likewise.
50146         (_dl_debug_bindings): Likewise.
50147         * elf/dl-open.c (_dl_show_scope): Likewise.
50148         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50149         * elf/dl-version.c (match_symbol): Likewise.
50150         (_dl_check_map_versions): Likewise.
50151         * elf/rtld.c (dl_main): Likewise.
50152         (print_unresolved): Use RTLD_PROGNAME.
50153         (print_missing_version): Likewise.
50154         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50155         (elf_machine_rela): Likewise.
50156         * sysdeps/powerpc/powerpc32/dl-machine.c
50157         (__process_machine_rela): Likewise.
50158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50159         Likewise.
50160         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50161         Likewise.
50162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50163         Likewise.
50164         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50165         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50166         Likewise.
50167         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50168         Likewise.
50169         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50171 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50173         * po/be.po: Add descriptive title.
50174         * po/zh_CN.po: Likewise.
50175         * po/header.pot: Likewise.
50177 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50179         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50180         error message.
50181         (enlarge_archive): Likewise.
50183 2013-05-28  Ben North  <ben@redfrontdoor.org>
50185         * manual/arith.texi (frexp): It is the magnitude of the return
50186         value which lies in [0.5, 1), not the return value itself.
50188 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50192 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50194         * stdio-common/bug26.c (main): Correct fscanf template.
50196         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50197         declare _dl_skip_args.
50199         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50200         Don't declare.
50202         * manual/platform.texi: Add missing @end deftypefun.
50204 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50206         [BZ #15529]
50207         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50208         bit of mantissa of 2^16382.
50209         * math/libm-test.inc (hypot_test_data): Add more tests.
50211         * math/libm-test.inc: Add drem and pow10 to list of tested
50212         functions.
50213         (pow10_test): New function.
50214         (drem_test): Likewise.
50215         (drem_test_tonearest): Likewise.
50216         (drem_test_towardzero): Likewise.
50217         (drem_test_downward): Likewise.
50218         (drem_test_upward): Likewise.
50219         (main): Call the new functions.
50221         * math/libm-test.inc (finite_test_data): Remove.
50222         (finite_test): Run tests from isfinite_test_data.
50223         (gamma_test_data): Remove.
50224         (gamma_test): Run tests from lgamma_test_data.
50225         * sysdeps/i386/fpu/libm-test-ulps: Update.
50226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50228 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50230         * manual/platform.texi: Add PowerPC PPR function set documentation.
50231         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50232         implementation.
50234 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50236         * math/libm-test.inc (MAX_EXP): Define.
50237         (ULPDIFF): Define.
50238         (ulp): New function.
50239         (check_float_internal): Use ULPDIFF.
50240         (cpow_test): Disable failing test.
50241         (check_ulp): Test ulp() implemetnation.
50242         (main): Call check_ulp before starting tests.
50244 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50246         * math/gen-libm-test.pl (generate_testfile): Do not handle
50247         START_DATA and END_DATA.
50248         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50249         END_DATA.
50250         (acos_tonearest_test_data): Likewise.
50251         (acos_towardzero_test_data): Likewise.
50252         (acos_downward_test_data): Likewise.
50253         (acos_upward_test_data): Likewise.
50254         (acosh_test_data): Likewise.
50255         (asin_test_data): Likewise.
50256         (asin_tonearest_test_data): Likewise.
50257         (asin_towardzero_test_data): Likewise.
50258         (asin_downward_test_data): Likewise.
50259         (asin_upward_test_data): Likewise.
50260         (asinh_test_data): Likewise.
50261         (atan_test_data): Likewise.
50262         (atanh_test_data): Likewise.
50263         (atan2_test_data): Likewise.
50264         (cabs_test_data): Likewise.
50265         (cacos_test_data): Likewise.
50266         (cacosh_test_data): Likewise.
50267         (carg_test_data): Likewise.
50268         (casin_test_data): Likewise.
50269         (casinh_test_data): Likewise.
50270         (catan_test_data): Likewise.
50271         (catanh_test_data): Likewise.
50272         (cbrt_test_data): Likewise.
50273         (ccos_test_data): Likewise.
50274         (ccosh_test_data): Likewise.
50275         (ceil_test_data): Likewise.
50276         (cexp_test_data): Likewise.
50277         (cimag_test_data): Likewise.
50278         (clog_test_data): Likewise.
50279         (clog10_test_data): Likewise.
50280         (conj_test_data): Likewise.
50281         (copysign_test_data): Likewise.
50282         (cos_test_data): Likewise.
50283         (cos_tonearest_test_data): Likewise.
50284         (cos_towardzero_test_data): Likewise.
50285         (cos_downward_test_data): Likewise.
50286         (cos_upward_test_data): Likewise.
50287         (cosh_test_data): Likewise.
50288         (cosh_tonearest_test_data): Likewise.
50289         (cosh_towardzero_test_data): Likewise.
50290         (cosh_downward_test_data): Likewise.
50291         (cosh_upward_test_data): Likewise.
50292         (cpow_test_data): Likewise.
50293         (cproj_test_data): Likewise.
50294         (creal_test_data): Likewise.
50295         (csin_test_data): Likewise.
50296         (csinh_test_data): Likewise.
50297         (csqrt_test_data): Likewise.
50298         (ctan_test_data): Likewise.
50299         (ctan_tonearest_test_data): Likewise.
50300         (ctan_towardzero_test_data): Likewise.
50301         (ctan_downward_test_data): Likewise.
50302         (ctan_upward_test_data): Likewise.
50303         (ctanh_test_data): Likewise.
50304         (ctanh_tonearest_test_data): Likewise.
50305         (ctanh_towardzero_test_data): Likewise.
50306         (ctanh_downward_test_data): Likewise.
50307         (ctanh_upward_test_data): Likewise.
50308         (erf_test_data): Likewise.
50309         (erfc_test_data): Likewise.
50310         (exp_test_data): Likewise.
50311         (exp_tonearest_test_data): Likewise.
50312         (exp_towardzero_test_data): Likewise.
50313         (exp_downward_test_data): Likewise.
50314         (exp_upward_test_data): Likewise.
50315         (exp10_test_data): Likewise.
50316         (exp2_test_data): Likewise.
50317         (expm1_test_data): Likewise.
50318         (fabs_test_data): Likewise.
50319         (fdim_test_data): Likewise.
50320         (finite_test_data): Likewise.
50321         (floor_test_data): Likewise.
50322         (fma_test_data): Likewise.
50323         (fma_towardzero_test_data): Likewise.
50324         (fma_downward_test_data): Likewise.
50325         (fma_upward_test_data): Likewise.
50326         (fmax_test_data): Likewise.
50327         (fmin_test_data): Likewise.
50328         (fmod_test_data): Likewise.
50329         (fpclassify_test_data): Likewise.
50330         (frexp_test_data): Likewise.
50331         (gamma_test_data): Likewise.
50332         (hypot_test_data): Likewise.
50333         (ilogb_test_data): Likewise.
50334         (isfinite_test_data): Likewise.
50335         (isgreater_test_data): Likewise.
50336         (isgreaterequal_test_data): Likewise.
50337         (isinf_test_data): Likewise.
50338         (isless_test_data): Likewise.
50339         (islessequal_test_data): Likewise.
50340         (islessgreater_test_data): Likewise.
50341         (isnan_test_data): Likewise.
50342         (isnormal_test_data): Likewise.
50343         (issignaling_test_data): Likewise.
50344         (isunordered_test_data): Likewise.
50345         (j0_test_data): Likewise.
50346         (j1_test_data): Likewise.
50347         (jn_test_data): Likewise.
50348         (ldexp_test_data): Likewise.
50349         (lgamma_test_data): Likewise.
50350         (lrint_test_data): Likewise.
50351         (lrint_tonearest_test_data): Likewise.
50352         (lrint_towardzero_test_data): Likewise.
50353         (lrint_downward_test_data): Likewise.
50354         (lrint_upward_test_data): Likewise.
50355         (llrint_test_data): Likewise.
50356         (llrint_tonearest_test_data): Likewise.
50357         (llrint_towardzero_test_data): Likewise.
50358         (llrint_downward_test_data): Likewise.
50359         (llrint_upward_test_data): Likewise.
50360         (log_test_data): Likewise.
50361         (log10_test_data): Likewise.
50362         (log1p_test_data): Likewise.
50363         (log2_test_data): Likewise.
50364         (logb_test_data): Likewise.
50365         (logb_downward_test_data): Likewise.
50366         (lround_test_data): Likewise.
50367         (llround_test_data): Likewise.
50368         (modf_test_data): Likewise.
50369         (nearbyint_test_data): Likewise.
50370         (nextafter_test_data): Likewise.
50371         (nexttoward_test_data): Likewise.
50372         (pow_test_data): Likewise.
50373         (pow_tonearest_test_data): Likewise.
50374         (pow_towardzero_test_data): Likewise.
50375         (pow_downward_test_data): Likewise.
50376         (pow_upward_test_data): Likewise.
50377         (remainder_test_data): Likewise.
50378         (remainder_tonearest_test_data): Likewise.
50379         (remainder_towardzero_test_data): Likewise.
50380         (remainder_downward_test_data): Likewise.
50381         (remainder_upward_test_data): Likewise.
50382         (remquo_test_data): Likewise.
50383         (rint_test_data): Likewise.
50384         (rint_tonearest_test_data): Likewise.
50385         (rint_towardzero_test_data): Likewise.
50386         (rint_downward_test_data): Likewise.
50387         (rint_upward_test_data): Likewise.
50388         (round_test_data): Likewise.
50389         (scalb_test_data): Likewise.
50390         (scalbn_test_data): Likewise.
50391         (scalbln_test_data): Likewise.
50392         (signbit_test_data): Likewise.
50393         (sin_test_data): Likewise.
50394         (sin_tonearest_test_data): Likewise.
50395         (sin_towardzero_test_data): Likewise.
50396         (sin_downward_test_data): Likewise.
50397         (sin_upward_test_data): Likewise.
50398         (sincos_test_data): Likewise.
50399         (sinh_test_data): Likewise.
50400         (sinh_tonearest_test_data): Likewise.
50401         (sinh_towardzero_test_data): Likewise.
50402         (sinh_downward_test_data): Likewise.
50403         (sinh_upward_test_data): Likewise.
50404         (sqrt_test_data): Likewise.
50405         (tan_test_data): Likewise.
50406         (tan_tonearest_test_data): Likewise.
50407         (tan_towardzero_test_data): Likewise.
50408         (tan_downward_test_data): Likewise.
50409         (tan_upward_test_data): Likewise.
50410         (tanh_test_data): Likewise.
50411         (tgamma_test_data): Likewise.
50412         (trunc_test_data): Likewise.
50413         (y0_test_data): Likewise.
50414         (y1_test_data): Likewise.
50415         (yn_test_data): Likewise.
50416         (significand_test_data): Likewise.
50418         * math/gen-libm-test.pl (@functions): Remove variable.
50419         (generate_testfile): Don't handle START and END lines.
50420         * math/libm-test.inc (START): New macro.
50421         (END): Likewise.
50422         (END_COMPLEX): Likewise.
50423         (acos_test): Use END macro without arguments.
50424         (acos_test_tonearest): Likewise.
50425         (acos_test_towardzero): Likewise.
50426         (acos_test_downward): Likewise.
50427         (acos_test_upward): Likewise.
50428         (acosh_test): Likewise.
50429         (asin_test): Likewise.
50430         (asin_test_tonearest): Likewise.
50431         (asin_test_towardzero): Likewise.
50432         (asin_test_downward): Likewise.
50433         (asin_test_upward): Likewise.
50434         (asinh_test): Likewise.
50435         (atan_test): Likewise.
50436         (atanh_test): Likewise.
50437         (atan2_test): Likewise.
50438         (cabs_test): Likewise.
50439         (cacos_test): Use END_COMPLEX macro without arguments.
50440         (cacosh_test): Likewise.
50441         (carg_test): Use END macro without arguments.
50442         (casin_test): Use END_COMPLEX macro without arguments.
50443         (casinh_test): Likewise.
50444         (catan_test): Likewise.
50445         (catanh_test): Likewise.
50446         (cbrt_test): Use END macro without arguments.
50447         (ccos_test): Use END_COMPLEX macro without arguments.
50448         (ccosh_test): Likewise.
50449         (ceil_test): Use END macro without arguments.
50450         (cexp_test): Use END_COMPLEX macro without arguments.
50451         (cimag_test): Use END macro without arguments.
50452         (clog_test): Use END_COMPLEX macro without arguments.
50453         (clog10_test): Likewise.
50454         (conj_test): Likewise.
50455         (copysign_test): Use END macro without arguments.
50456         (cos_test): Likewise.
50457         (cos_test_tonearest): Likewise.
50458         (cos_test_towardzero): Likewise.
50459         (cos_test_downward): Likewise.
50460         (cos_test_upward): Likewise.
50461         (cosh_test): Likewise.
50462         (cosh_test_tonearest): Likewise.
50463         (cosh_test_towardzero): Likewise.
50464         (cosh_test_downward): Likewise.
50465         (cosh_test_upward): Likewise.
50466         (cpow_test): Use END_COMPLEX macro without arguments.
50467         (cproj_test): Likewise.
50468         (creal_test): Use END macro without arguments.
50469         (csin_test): Use END_COMPLEX macro without arguments.
50470         (csinh_test): Likewise.
50471         (csqrt_test): Likewise.
50472         (ctan_test): Likewise.
50473         (ctan_test_tonearest): Likewise.
50474         (ctan_test_towardzero): Likewise.
50475         (ctan_test_downward): Likewise.
50476         (ctan_test_upward): Likewise.
50477         (ctanh_test): Likewise.
50478         (ctanh_test_tonearest): Likewise.
50479         (ctanh_test_towardzero): Likewise.
50480         (ctanh_test_downward): Likewise.
50481         (ctanh_test_upward): Likewise.
50482         (erf_test): Use END macro without arguments.
50483         (erfc_test): Likewise.
50484         (exp_test): Likewise.
50485         (exp_test_tonearest): Likewise.
50486         (exp_test_towardzero): Likewise.
50487         (exp_test_downward): Likewise.
50488         (exp_test_upward): Likewise.
50489         (exp10_test): Likewise.
50490         (exp2_test): Likewise.
50491         (expm1_test): Likewise.
50492         (fabs_test): Likewise.
50493         (fdim_test): Likewise.
50494         (finite_test): Likewise.
50495         (floor_test): Likewise.
50496         (fma_test): Likewise.
50497         (fma_test_towardzero): Likewise.
50498         (fma_test_downward): Likewise.
50499         (fma_test_upward): Likewise.
50500         (fmax_test): Likewise.
50501         (fmin_test): Likewise.
50502         (fmod_test): Likewise.
50503         (fpclassify_test): Likewise.
50504         (frexp_test): Likewise.
50505         (gamma_test): Likewise.
50506         (hypot_test): Likewise.
50507         (ilogb_test): Likewise.
50508         (isfinite_test): Likewise.
50509         (isgreater_test): Likewise.
50510         (isgreaterequal_test): Likewise.
50511         (isinf_test): Likewise.
50512         (isless_test): Likewise.
50513         (islessequal_test): Likewise.
50514         (islessgreater_test): Likewise.
50515         (isnan_test): Likewise.
50516         (isnormal_test): Likewise.
50517         (issignaling_test): Likewise.
50518         (isunordered_test): Likewise.
50519         (j0_test): Likewise.
50520         (j1_test): Likewise.
50521         (jn_test): Likewise.
50522         (ldexp_test): Likewise.
50523         (lgamma_test): Likewise.
50524         (lrint_test): Likewise.
50525         (lrint_test_tonearest): Likewise.
50526         (lrint_test_towardzero): Likewise.
50527         (lrint_test_downward): Likewise.
50528         (lrint_test_upward): Likewise.
50529         (llrint_test): Likewise.
50530         (llrint_test_tonearest): Likewise.
50531         (llrint_test_towardzero): Likewise.
50532         (llrint_test_downward): Likewise.
50533         (llrint_test_upward): Likewise.
50534         (log_test): Likewise.
50535         (log10_test): Likewise.
50536         (log1p_test): Likewise.
50537         (log2_test): Likewise.
50538         (logb_test): Likewise.
50539         (logb_test_downward): Likewise.
50540         (lround_test): Likewise.
50541         (llround_test): Likewise.
50542         (modf_test): Likewise.
50543         (nearbyint_test): Likewise.
50544         (nextafter_test): Likewise.
50545         (nexttoward_test): Likewise.
50546         (pow_test): Likewise.
50547         (pow_test_tonearest): Likewise.
50548         (pow_test_towardzero): Likewise.
50549         (pow_test_downward): Likewise.
50550         (pow_test_upward): Likewise.
50551         (remainder_test): Likewise.
50552         (remainder_test_tonearest): Likewise.
50553         (remainder_test_towardzero): Likewise.
50554         (remainder_test_downward): Likewise.
50555         (remainder_test_upward): Likewise.
50556         (remquo_test): Likewise.
50557         (rint_test): Likewise.
50558         (rint_test_tonearest): Likewise.
50559         (rint_test_towardzero): Likewise.
50560         (rint_test_downward): Likewise.
50561         (rint_test_upward): Likewise.
50562         (round_test): Likewise.
50563         (scalb_test): Likewise.
50564         (scalbn_test): Likewise.
50565         (scalbln_test): Likewise.
50566         (signbit_test): Likewise.
50567         (sin_test): Likewise.
50568         (sin_test_tonearest): Likewise.
50569         (sin_test_towardzero): Likewise.
50570         (sin_test_downward): Likewise.
50571         (sin_test_upward): Likewise.
50572         (sincos_test): Likewise.
50573         (sinh_test): Likewise.
50574         (sinh_test_tonearest): Likewise.
50575         (sinh_test_towardzero): Likewise.
50576         (sinh_test_downward): Likewise.
50577         (sinh_test_upward): Likewise.
50578         (sqrt_test): Likewise.
50579         (tan_test): Likewise.
50580         (tan_test_tonearest): Likewise.
50581         (tan_test_towardzero): Likewise.
50582         (tan_test_downward): Likewise.
50583         (tan_test_upward): Likewise.
50584         (tanh_test): Likewise.
50585         (tgamma_test): Likewise.
50586         (trunc_test): Likewise.
50587         (y0_test): Likewise.
50588         (y1_test): Likewise.
50589         (yn_test): Likewise.
50590         (significand_test): Likewise.
50592 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50594         [BZ #15381]
50595         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50597 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50599         [BZ #14894]
50600         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50601         __ppc_mdoio and __ppc_mdoom.
50602         * manual/platform.texi: Document new functions __ppc_yield,
50603         __ppc_mdoio and __ppc_mdoom.
50605 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50607         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50608         (main): Mention "tls" pseudo-hwcap is legacy.
50609         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50611 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50613         * math/gen-libm-test.pl (parse_args): Output only string of
50614         arguments as text for test name, not full call or descriptions of
50615         tests for extra outputs.
50616         (generate_testfile): Do not pass function name to parse_args.
50617         Generate this_func variable from START.
50618         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50619         field to arg_str.
50620         (struct test_ff_f_data): Likewise.
50621         (test_ff_f_data_nexttoward): Likewise.
50622         (struct test_fi_f_data): Likewise.
50623         (struct test_fl_f_data): Likewise.
50624         (struct test_if_f_data): Likewise.
50625         (struct test_fff_f_data): Likewise.
50626         (struct test_c_f_data): Likewise.
50627         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50628         (struct test_fF_f1_data): Likewise.
50629         (struct test_ffI_f1_data): Likewise.
50630         (struct test_c_c_data): Rename test_name field to arg_str.
50631         (struct test_cc_c_data): Likewise.
50632         (struct test_f_i_data): Likewise.
50633         (struct test_ff_i_data): Likewise.
50634         (struct test_f_l_data): Likewise.
50635         (struct test_f_L_data): Likewise.
50636         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50637         and extra2_name.
50638         (COMMON_TEST_SETUP): New macro.
50639         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50640         (COMMON_TEST_CLEANUP): Likewise.
50641         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50642         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50643         macros.
50644         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50645         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50646         macros.
50647         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50648         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50649         cleanup macros.
50650         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50651         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50652         macros.
50653         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50654         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50655         macros.
50656         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50657         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50658         cleanup macros.
50659         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50660         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50661         cleanup macros.
50662         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50663         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50664         cleanup macros.
50665         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50666         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50667         macros.
50668         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50669         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50670         macros.
50671         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50672         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50673         macros.
50674         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50675         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50676         cleanup macros.
50677         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50678         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50679         cleanup macros.
50680         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50681         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50682         macros.
50683         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50684         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50685         cleanup macros.
50686         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50687         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50688         macros.
50689         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50690         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50691         macros.
50692         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50693         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50694         cleanup macros.
50695         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50697 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50699         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50700         to _sifields.sigfault.
50701         (si_addr_lsb): Define new macro.
50702         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50704         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50706 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50708         [BZ #15441]
50709         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50710         returns -1.
50711         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50712         null return -1.
50713         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50714         loading the domain.
50716 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50718         * math/gen-libm-test.pl (parse_args): Do not include expected
50719         result in test name.
50720         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50722         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50723         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50724         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50727 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50729         * benchtests/Makefile: Sort function entries.
50731         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50732         tanh, asinh, acosh, atanh.
50733         * benchtests/acos-inputs: New file.
50734         * benchtests/acosh-inputs: New file.
50735         * benchtests/asin-inputs: New file.
50736         * benchtests/asinh-inputs: New file.
50737         * benchtests/atanh-inputs: New file.
50738         * benchtests/cosh-inputs: New file.
50739         * benchtests/log-inputs: New file.
50740         * benchtests/sinh-inputs: New file.
50741         * benchtests/tanh-inputs: New file.
50743 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50745         [BZ #15339]
50746         * posix/tst-getaddrinfo4.c: New test.
50747         * posix/Makefile (tests): Add it.
50749 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50751         [BZ #15339]
50752         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50753         when no services were used.
50754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50755         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50757 2013-05-21  Andreas Schwab  <schwab@suse.de>
50759         [BZ #15014]
50760         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50761         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50762         successful.
50763         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50764         redundant variable declarations and reallocation of buffer when
50765         parsing as IPv6 address.  Always set NSS status when called from
50766         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50767         buffer too small.  Correct computation of needed size.
50768         * nss/Makefile (tests): Add test-digits-dots.
50769         * nss/test-digits-dots.c: New test.
50771 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50773         * benchtests/Makefile: Remove instructions for adding
50774         benchmark tests.
50775         * benchtests/README: New file to explain how to execute and
50776         enhance the benchmark tests.
50778 2013-05-21  Andreas Schwab  <schwab@suse.de>
50780         [BZ #15493]
50781         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50782         * setjmp/tst-sigsetjmp.c: New test.
50784 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50786         * sysdeps/x86_64/memset.S (memset): New implementation.
50787         (__bzero): Likewise.
50788         (__memset_tail): New function.
50790 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50792         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50793         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50794         __memcpy_sse2_unaligned ifunc selection.
50795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50796         Add memcpy-sse2-unaligned.S.
50797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50798         Add: __memcpy_sse2_unaligned.
50800 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50802         [BZ #15490]
50803         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50804         math_force_eval before restoring floating-point envrionment.
50805         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50806         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50807         Likewise.
50808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50809         <math_private.h>.
50810         (__nearbyintl): Use math_force_eval before restoring
50811         floating-point environment.
50812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50814         * math/gen-libm-test.pl (special_functions): Remove.
50815         (parse_args): Don't handle TEST_extra.  Handle functions with no
50816         return value.
50817         * math/libm-test.inc (struct test_sincos_data): Replace with
50818         struct test_fFF_11_data.
50819         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50820         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50821         (sincos_test_data): Change element type to struct
50822         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50823         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50824         RUN_TEST_LOOP_sincos.
50825         * math/README.libm-test: Don't mention special handling of
50826         individual functions.
50827         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50828         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50830         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50834         * math/gen-libm-test.pl (get_variable): Remove function.
50835         (parse_args): Don't show pointer parameters to call in test
50836         names.  Use "extra output N" in test names for extra outputs
50837         rather than naming variables.
50839 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50841         [BZ #15488]
50842         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50843         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50844         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50845         double tests.
50846         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50847         disable.
50848         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50849         check_long_double.
50851         * math/gen-libm-test.pl (@tests): Remove variable.
50852         ($count): Likewise.
50853         (new_test): Remove function.
50854         (show_exceptions): New function.
50855         (special_functions): Use show_exceptions instead of new_test.
50856         (parse_args): Likewise.
50857         (generate_testfile): Pass only function name in generated call to
50858         print_max_error or print_complex_max_error.
50859         (get_ulps): Do not handle complex tests specially.
50860         (output_test): Rename to ...
50861         (get_all_ulps_for_test): ... this.  Return a string rather than
50862         printing to a file.  Require ulps to be present.
50863         (output_ulps): Generate arrays rather than #defines.
50864         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50865         (struct ulp_data): New type.
50866         (BUILD_COMPLEX_ULP): Remove macro.
50867         (compare_ulp_data): New function.
50868         (find_ulps): Likewise.
50869         (find_test_ulps): Likewise.
50870         (find_function_ulps): Likewise.
50871         (find_complex_function_ulps): Likewise.
50872         (print_max_error): Determine allowed ulps using
50873         find_function_ulps.
50874         (print_complex_max_error): Determine allowed ulps using
50875         find_complex_function_ulps.
50876         (check_float_internal): Determine max ulps using find_test_ulps.
50877         (check_float): Do not take max_ulp parameter.  Update call to
50878         check_float_internal.
50879         (check_complex): Likewise.
50880         (check_int): Do not take max_ulp parameter.
50881         (check_long): Likewise.
50882         (check_bool): Likewise.
50883         (check_longlong): Likewise.
50884         (struct test_f_f_data): Remove max_ulp field.
50885         (struct test_ff_f_data): Likewise.
50886         (struct test_ff_f_data_nexttoward): Likewise.
50887         (struct test_fi_f_data): Likewise.
50888         (struct test_fl_f_data): Likewise.
50889         (struct test_if_f_data): Likewise.
50890         (struct test_fff_f_data): Likewise.
50891         (struct test_c_f_data): Likewise.
50892         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50893         (struct test_fF_f1_data): Likewise.
50894         (struct test_ffI_f1_data): Likewise.
50895         (struct test_c_c_data): Remove max_ulp field.
50896         (struct test_cc_c_data): Likewise.
50897         (struct test_f_i_data): Likewise.
50898         (struct test_ff_i_data): Likewise.
50899         (struct test_f_l_data): Likewise.
50900         (struct test_f_L_data): Likewise.
50901         (struct test_sincos_data): Likewise.
50902         (RUN_TEST_f_f): Do not handle ulps.
50903         (RUN_TEST_LOOP_f_f): Likewise.
50904         (RUN_TEST_2_f): Likewise.
50905         (RUN_TEST_LOOP_2_f): Likewise.
50906         (RUN_TEST_fff_f): Likewise.
50907         (RUN_TEST_LOOP_fff_f): Likewise.
50908         (RUN_TEST_c_f): Likewise.
50909         (RUN_TEST_LOOP_c_f): Likewise.
50910         (RUN_TEST_f_f1): Likewise.
50911         (RUN_TEST_LOOP_f_f1): Likewise.
50912         (RUN_TEST_fF_f1): Likewise.
50913         (RUN_TEST_LOOP_fF_f1): Likewise.
50914         (RUN_TEST_fI_f1): Likewise.
50915         (RUN_TEST_LOOP_fI_f1): Likewise.
50916         (RUN_TEST_ffI_f1): Likewise.
50917         (RUN_TEST_LOOP_ffI_f1): Likewise.
50918         (RUN_TEST_c_c): Likewise.
50919         (RUN_TEST_LOOP_c_c): Likewise.
50920         (RUN_TEST_cc_c): Likewise.
50921         (RUN_TEST_LOOP_cc_c): Likewise.
50922         (RUN_TEST_f_i): Likewise.
50923         (RUN_TEST_LOOP_f_i): Likewise.
50924         (RUN_TEST_f_i_tg): Likewise.
50925         (RUN_TEST_LOOP_f_i_tg): Likewise.
50926         (RUN_TEST_ff_i_tg): Likewise.
50927         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50928         (RUN_TEST_f_b): Likewise.
50929         (RUN_TEST_LOOP_f_b): Likewise.
50930         (RUN_TEST_f_b_tg): Likewise.
50931         (RUN_TEST_LOOP_f_b_tg): Likewise.
50932         (RUN_TEST_f_l): Likewise.
50933         (RUN_TEST_LOOP_f_l): Likewise.
50934         (RUN_TEST_f_L): Likewise.
50935         (RUN_TEST_LOOP_f_L): Likewise.
50936         (RUN_TEST_sincos): Likewise.
50937         (RUN_TEST_LOOP_sincos): Likewise.
50939 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50941         [BZ #15480]
50942         [BZ #15485]
50943         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50944         main case of finite arguments, set rounding mode to FE_TONEAREST
50945         and discard exceptions.
50946         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50947         exceptions.
50948         (remainder_tonearest_test_data): New variable.
50949         (remainder_test_tonearest): New function.
50950         (remainder_towardzero_test_data): New variable.
50951         (remainder_test_towardzero): New function.
50952         (remainder_downward_test_data): New variable.
50953         (remainder_test_downward): New function.
50954         (remainder_upward_test_data): New variable.
50955         (remainder_test_upward): New function.
50956         (main): Call the new test functions.
50958         * math/libm-test.inc (struct test_f_f1_data): Remove field
50959         extra_init.
50960         (struct test_fF_f1_data): Likewise.
50961         (struct test_ffI_f1_data): Likewise.
50962         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50963         based on value of EXTRA_EXPECTED.
50964         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50965         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50966         EXTRA_VAR based on value of EXTRA_EXPECTED.
50967         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50968         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50969         EXTRA_VAR based on value of EXTRA_EXPECTED.
50970         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50971         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50972         EXTRA_VAR based on value of EXTRA_EXPECTED.
50973         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50974         * math/gen-libm-test.pl (parse_args): Don't output initializers
50975         for extra output values.
50977         * math/libm-test.inc (check_int): Expect result to be exactly
50978         equal to expected value and do not handle ulps.
50979         (check_long): Likewise.
50980         (check_longlong): Likewise.
50982         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50983         exceptions.
50984         (cimag_test_data): Likewise.
50985         (conj_test_data): Likewise.
50986         (copysign_test_data): Likewise.
50987         (cproj_test_data): Likewise.
50988         (creal_test_data): Likewise.
50989         (fabs_test_data): Likewise.
50990         (fdim_test_data): Likewise.
50991         (finite_test_data): Likewise.
50992         (floor_test_data): Likewise.
50993         (fmax_test_data): Likewise.
50994         (fmin_test_data): Likewise.
50995         (fmod_test_data): Likewise.
50996         (fpclassify_test_data): Likewise.
50997         (frexp_test_data): Likewise.
50998         (ilogb_test_data): Likewise.
50999         (isfinite_test_data): Likewise.
51000         (isgreater_test_data): Likewise.
51001         (isgreaterequal_test_data): Likewise.
51002         (isinf_test_data): Likewise.
51003         (isless_test_data): Likewise.
51004         (islessequal_test_data): Likewise.
51005         (islessgreater_test_data): Likewise.
51006         (isnan_test_data): Likewise.
51007         (isnormal_test_data): Likewise.
51008         (issignaling_test_data): Likewise.
51009         (isunordered_test_data): Likewise.
51010         (ldexp_test_data): Likewise.
51011         (lrint_test_data): Likewise.
51012         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51013         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51014         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51015         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51016         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51017         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51018         test input.
51019         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51020         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51021         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51022         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51023         that test input.
51024         (lrint_downward_test_data): Test for "inexact" exceptions.
51025         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51026         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51027         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51028         test input.
51029         (lrint_upward_test_data): Test for "inexact" exceptions.
51030         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51031         test input.
51032         (llrint_test_data): Test for "inexact" exceptions.
51033         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51034         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51035         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51036         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51037         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51038         (llrint_downward_test_data): Test for "inexact" exceptions.
51039         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51040         (llrint_upward_test_data): Test for "inexact" exceptions.
51041         (logb_test_data): Likewise.
51042         (logb_downward_test_data): Likewise.
51043         (nextafter_test_data): Likewise.
51044         (nexttoward_test_data): Likewise.
51045         (remainder_test_data): Likewise.
51046         (remquo_test_data): Likewise.
51047         (scalbn_test_data): Likewise.
51048         (scalbln_test_data): Likewise.
51049         (signbit_test_data): Likewise.
51050         (sqrt_test_data): Likewise.
51051         (significand_test_data): Likewise.
51053 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51055         [BZ #15424]
51056         * benchtests/bench-modf.c (struct args): Mark arg0 as
51057         volatile.
51058         * scripts/bench.pl: Mark members of struct args as volatile.
51060 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51062         [BZ # 15497]
51063         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51064         negative infinity on POWER6 or lower.
51065         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51067 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51069         [BZ #15442]
51070         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51071         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51072         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51073         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51074         (_FP_SETQNAN): New macro.
51075         (_FP_SETQNAN_SEMIRAW): Likewise.
51076         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51077         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51078         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51079         (FP_EXTEND): Use _FP_FRAC_SNANP.
51080         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51081         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51082         into account.
51083         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51084         New macro.
51085         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51086         Likewise.
51088 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51090         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51091         with DIVIDE_BY_ZERO_EXCEPTION.
51092         (gamma_test_data): Likewise.
51093         (lgamma_test_data): Likewise.
51094         (log_test_data): Likewise.
51095         (log10_test_data): Likewise.
51096         (log2_test_data): Likewise.
51097         (tgamma_test_data): Likewise.
51099         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51100         (acos_test_tonearest): Likewise.
51101         (acos_test_towardzero): Likewise.
51102         (acos_test_downward): Likewise.
51103         (acos_test_upward): Likewise.
51104         (acosh_test): Likewise.
51105         (asin_test): Likewise.
51106         (asin_test_tonearest): Likewise.
51107         (asin_test_towardzero): Likewise.
51108         (asin_test_downward): Likewise.
51109         (asin_test_upward): Likewise.
51110         (asinh_test): Likewise.
51111         (atan_test): Likewise.
51112         (atanh_test): Likewise.
51113         (atan2_test): Likewise.
51114         (cabs_test): Likewise.
51115         (cacos_test): Likewise.
51116         (cacosh_test): Likewise.
51117         (casin_test): Likewise.
51118         (casinh_test): Likewise.
51119         (catan_test): Likewise.
51120         (catanh_test): Likewise.
51121         (cbrt_test): Likewise.
51122         (ccos_test): Likewise.
51123         (ccosh_test): Likewise.
51124         (cexp_test): Likewise.
51125         (clog_test): Likewise.
51126         (clog10_test): Likewise.
51127         (cos_test): Likewise.
51128         (cos_test_tonearest): Likewise.
51129         (cos_test_towardzero): Likewise.
51130         (cos_test_downward): Likewise.
51131         (cos_test_upward): Likewise.
51132         (cosh_test): Likewise.
51133         (cosh_test_tonearest): Likewise.
51134         (cosh_test_towardzero): Likewise.
51135         (cosh_test_downward): Likewise.
51136         (cosh_test_upward): Likewise.
51137         (cpow_test): Likewise.
51138         (csin_test): Likewise.
51139         (csinh_test): Likewise.
51140         (csqrt_test): Likewise.
51141         (ctan_test): Likewise.
51142         (ctan_test_tonearest): Likewise.
51143         (ctan_test_towardzero): Likewise.
51144         (ctan_test_downward): Likewise.
51145         (ctan_test_upward): Likewise.
51146         (ctanh_test): Likewise.
51147         (ctanh_test_tonearest): Likewise.
51148         (ctanh_test_towardzero): Likewise.
51149         (ctanh_test_downward): Likewise.
51150         (ctanh_test_upward): Likewise.
51151         (erf_test): Likewise.
51152         (erfc_test): Likewise.
51153         (exp_test): Likewise.
51154         (exp_test_tonearest): Likewise.
51155         (exp_test_towardzero): Likewise.
51156         (exp_test_downward): Likewise.
51157         (exp_test_upward): Likewise.
51158         (exp10_test): Likewise.
51159         (exp2_test): Likewise.
51160         (expm1_test): Likewise.
51161         (fmod_test): Likewise.
51162         (gamma_test): Likewise.
51163         (hypot_test): Likewise.
51164         (j0_test): Likewise.
51165         (j1_test): Likewise.
51166         (jn_test): Likewise.
51167         (lgamma_test): Likewise.
51168         (log_test): Likewise.
51169         (log10_test): Likewise.
51170         (log1p_test): Likewise.
51171         (log2_test): Likewise.
51172         (logb_test_downward): Likewise.
51173         (pow_test): Likewise.
51174         (pow_test_tonearest): Likewise.
51175         (pow_test_towardzero): Likewise.
51176         (pow_test_downward): Likewise.
51177         (pow_test_upward): Likewise.
51178         (remainder_test): Likewise.
51179         (remquo_test): Likewise.
51180         (sin_test): Likewise.
51181         (sin_test_tonearest): Likewise.
51182         (sin_test_towardzero): Likewise.
51183         (sin_test_downward): Likewise.
51184         (sin_test_upward): Likewise.
51185         (sincos_test): Likewise.
51186         (sinh_test): Likewise.
51187         (sinh_test_tonearest): Likewise.
51188         (sinh_test_towardzero): Likewise.
51189         (sinh_test_downward): Likewise.
51190         (sinh_test_upward): Likewise.
51191         (sqrt_test): Likewise.
51192         (tan_test): Likewise.
51193         (tan_test_tonearest): Likewise.
51194         (tan_test_towardzero): Likewise.
51195         (tan_test_downward): Likewise.
51196         (tan_test_upward): Likewise.
51197         (tanh_test): Likewise.
51198         (tgamma_test): Likewise.
51199         (y0_test): Likewise.
51200         (y1_test): Likewise.
51201         (yn_test): Likewise.
51203         * math/gen-libm-test.pl (adjust_arg): Remove function.
51204         (special_function): Remove argument $in_func.  Only handle
51205         generating output for tables of tests, not inside functions.
51206         (parse_args): Likewise.
51207         (generate_testfile): Remove variable $in_func.  Update call to
51208         parse_args.
51209         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51210         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51211         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51212         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51213         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51214         (MAX_VALUE_INIT): Rename macro to max_value.
51215         (MIN_VALUE_INIT): Rename macro to min_value.
51216         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51217         (plus_zero): Remove variable.
51218         (minus_zero): Likewise.
51219         (plus_infty): Likewise.
51220         (minus_infty): Likewise.
51221         (qnan_value): Likewise.
51222         (max_value): Likewise.
51223         (min_value): Likewise.
51224         (min_subnorm_value): Likewise.
51226 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51228         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51229         uint64_t or uint32_t usage.
51230         * crypt/sha256-block.c: Likewise.
51231         * crypt/sha256-crypt.c: Likewise.
51232         * crypt/sha256.c: Likewise.
51233         * crypt/sha512-block.c: Likewise.
51234         * crypt/sha512-crypt.c: Likewise.
51235         * crypt/sha512.c: Likewise.
51236         * debug/backtrace-tst.c: Likewise.
51237         * debug/pcprofiledump.c: Likewise.
51238         * elf/cache.c: Likewise.
51239         * elf/dl-cache.c: Likewise.
51240         * elf/dl-misc.c: Likewise.
51241         * elf/dl-profile.c: Likewise.
51242         * elf/dl-support.c: Likewise.
51243         * elf/ldconfig.c: Likewise.
51244         * elf/sprof.c: Likewise.
51245         * iconv/dummy-repertoire.c: Likewise.
51246         * iconv/iconv_charmap.c: Likewise.
51247         * iconv/skeleton.c: Likewise.
51248         * iconvdata/8bit-generic.c: Likewise.
51249         * iconvdata/cp737.h: Likewise.
51250         * iconvdata/cp775.h: Likewise.
51251         * iconvdata/ibm1008.h: Likewise.
51252         * iconvdata/ibm1025.h: Likewise.
51253         * iconvdata/ibm1046.h: Likewise.
51254         * iconvdata/ibm1097.h: Likewise.
51255         * iconvdata/ibm1112.h: Likewise.
51256         * iconvdata/ibm1122.h: Likewise.
51257         * iconvdata/ibm1123.h: Likewise.
51258         * iconvdata/ibm1124.h: Likewise.
51259         * iconvdata/ibm1129.h: Likewise.
51260         * iconvdata/ibm1130.h: Likewise.
51261         * iconvdata/ibm1132.h: Likewise.
51262         * iconvdata/ibm1133.h: Likewise.
51263         * iconvdata/ibm1137.h: Likewise.
51264         * iconvdata/ibm1140.h: Likewise.
51265         * iconvdata/ibm1141.h: Likewise.
51266         * iconvdata/ibm1142.h: Likewise.
51267         * iconvdata/ibm1143.h: Likewise.
51268         * iconvdata/ibm1144.h: Likewise.
51269         * iconvdata/ibm1145.h: Likewise.
51270         * iconvdata/ibm1146.h: Likewise.
51271         * iconvdata/ibm1147.h: Likewise.
51272         * iconvdata/ibm1148.h: Likewise.
51273         * iconvdata/ibm1149.h: Likewise.
51274         * iconvdata/ibm1153.h: Likewise.
51275         * iconvdata/ibm1154.h: Likewise.
51276         * iconvdata/ibm1155.h: Likewise.
51277         * iconvdata/ibm1156.h: Likewise.
51278         * iconvdata/ibm1157.h: Likewise.
51279         * iconvdata/ibm1158.h: Likewise.
51280         * iconvdata/ibm1160.h: Likewise.
51281         * iconvdata/ibm1161.h: Likewise.
51282         * iconvdata/ibm1162.h: Likewise.
51283         * iconvdata/ibm1163.h: Likewise.
51284         * iconvdata/ibm1164.h: Likewise.
51285         * iconvdata/ibm1166.h: Likewise.
51286         * iconvdata/ibm1167.h: Likewise.
51287         * iconvdata/ibm12712.h: Likewise.
51288         * iconvdata/ibm1390.h: Likewise.
51289         * iconvdata/ibm1399.h: Likewise.
51290         * iconvdata/ibm16804.h: Likewise.
51291         * iconvdata/ibm4517.h: Likewise.
51292         * iconvdata/ibm4899.h: Likewise.
51293         * iconvdata/ibm4909.h: Likewise.
51294         * iconvdata/ibm4971.h: Likewise.
51295         * iconvdata/ibm5347.h: Likewise.
51296         * iconvdata/ibm803.h: Likewise.
51297         * iconvdata/ibm856.h: Likewise.
51298         * iconvdata/ibm901.h: Likewise.
51299         * iconvdata/ibm902.h: Likewise.
51300         * iconvdata/ibm9030.h: Likewise.
51301         * iconvdata/ibm9066.h: Likewise.
51302         * iconvdata/ibm921.h: Likewise.
51303         * iconvdata/ibm922.h: Likewise.
51304         * iconvdata/ibm9448.h: Likewise.
51305         * iconvdata/isiri-3342.h: Likewise.
51306         * iconvdata/jis0201.h: Likewise.
51307         * include/link.h: Likewise.
51308         * include/netdb.h: Likewise.
51309         * inet/check_native.c: Likewise.
51310         * inet/check_pf.c: Likewise.
51311         * inet/getipv4sourcefilter.c: Likewise.
51312         * inet/getnameinfo.c: Likewise.
51313         * inet/getsourcefilter.c: Likewise.
51314         * inet/htonl.c: Likewise.
51315         * inet/setipv4sourcefilter.c: Likewise.
51316         * inet/setsourcefilter.c: Likewise.
51317         * inet/test-inet6_opt.c: Likewise.
51318         * inet/tst-network.c: Likewise.
51319         * locale/C-collate.c: Likewise.
51320         * locale/C-ctype.c: Likewise.
51321         * locale/C-time.c: Likewise.
51322         * locale/C-translit.h: Likewise.
51323         * locale/loadarchive.c: Likewise.
51324         * locale/programs/3level.h: Likewise.
51325         * locale/programs/charmap.c: Likewise.
51326         * locale/programs/charmap.h: Likewise.
51327         * locale/programs/ld-address.c: Likewise.
51328         * locale/programs/ld-collate.c: Likewise.
51329         * locale/programs/ld-ctype.c: Likewise.
51330         * locale/programs/ld-identification.c: Likewise.
51331         * locale/programs/ld-measurement.c: Likewise.
51332         * locale/programs/ld-messages.c: Likewise.
51333         * locale/programs/ld-monetary.c: Likewise.
51334         * locale/programs/ld-name.c: Likewise.
51335         * locale/programs/ld-numeric.c: Likewise.
51336         * locale/programs/ld-paper.c: Likewise.
51337         * locale/programs/ld-telephone.c: Likewise.
51338         * locale/programs/ld-time.c: Likewise.
51339         * locale/programs/linereader.c: Likewise.
51340         * locale/programs/locale.c: Likewise.
51341         * locale/programs/locarchive.c: Likewise.
51342         * locale/programs/locfile.h: Likewise.
51343         * locale/programs/repertoire.c: Likewise.
51344         * locale/programs/simple-hash.c: Likewise.
51345         * locale/programs/simple-hash.h: Likewise.
51346         * malloc/memusage.c: Likewise.
51347         * malloc/memusagestat.c: Likewise.
51348         * nis/nis_defaults.c: Likewise.
51349         * nis/nis_hash.c: Likewise.
51350         * nis/nis_print.c: Likewise.
51351         * nis/nis_xdr.c: Likewise.
51352         * nscd/connections.c: Likewise.
51353         * nscd/hstcache.c: Likewise.
51354         * nscd/nscd_gethst_r.c: Likewise.
51355         * nscd/nscd_getserv_r.c: Likewise.
51356         * nscd/nscd_helper.c: Likewise.
51357         * nscd/servicescache.c: Likewise.
51358         * nss/makedb.c: Likewise.
51359         * nss/nss_db/db-XXX.c: Likewise.
51360         * nss/nss_db/db-initgroups.c: Likewise.
51361         * nss/nss_db/db-netgrp.c: Likewise.
51362         * nss/nss_files/files-network.c: Likewise.
51363         * nss/nss_files/files-parse.c: Likewise.
51364         * posix/bug-regex5.c: Likewise.
51365         * posix/fnmatch_loop.c: Likewise.
51366         * posix/regcomp.c: Likewise.
51367         * posix/regexec.c: Likewise.
51368         * posix/tst-rfc3484-2.c: Likewise.
51369         * posix/tst-rfc3484-3.c: Likewise.
51370         * posix/tst-rfc3484.c: Likewise.
51371         * resolv/nss_dns/dns-canon.c: Likewise.
51372         * resolv/nss_dns/dns-network.c: Likewise.
51373         * resolv/res_init.c: Likewise.
51374         * resolv/res_mkquery.c: Likewise.
51375         * resolv/tst-aton.c: Likewise.
51376         * stdlib/cxa_atexit.c: Likewise.
51377         * stdlib/cxa_finalize.c: Likewise.
51378         * stdlib/gen-fpioconst.c: Likewise.
51379         * stdlib/strtol_l.c: Likewise.
51380         * string/tst-endian.c: Likewise.
51381         * sunrpc/auth_des.c: Likewise.
51382         * sunrpc/clnt_udp.c: Likewise.
51383         * sunrpc/rtime.c: Likewise.
51384         * sunrpc/svcauth_des.c: Likewise.
51385         * sunrpc/xdr.c: Likewise.
51386         * sunrpc/xdr_intXX_t.c: Likewise.
51387         * sunrpc/xdr_rec.c: Likewise.
51388         * sysdeps/generic/ldconfig.h: Likewise.
51389         * sysdeps/generic/ldsodefs.h: Likewise.
51390         * sysdeps/generic/memusage.h: Likewise.
51391         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51392         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51393         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51394         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51395         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51397         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51398         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51399         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51401         * sysdeps/posix/getaddrinfo.c: Likewise.
51402         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51403         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51404         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51405         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51406         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51407         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51408         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51409         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51410         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51411         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51412         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51413         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51414         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51415         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51416         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51417         * sysdeps/x86_64/dl-tls.h: Likewise.
51418         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51419         * time/alt_digit.c: Likewise.
51420         * time/era.c: Likewise.
51421         * wcsmbs/tst-c16c32-1.c: Likewise.
51423 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51425         * math/libm-test.inc (struct test_sincos_data): New type.
51426         (RUN_TEST_LOOP_sincos): New macro.
51427         (sincos_test_data): New variable.
51428         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51430 2013-05-16  Richard Henderson  <rth@redhat.com>
51432         * math/atest-exp2.c (LIMB64): New macro.
51433         (CONSTSZ): New macro.
51434         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51435         (hexdig): Move ...
51436         (print_mpn_fp): ... to function scope.
51437         (read_mpn_hex): Remove.
51438         (get_log2): Remove.
51439         (exp2_mpn): Use mp_log2.
51440         (main): Use mp_exp1.
51442 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51444         * math/libm-test.inc: Remove comment about not testing "inexact"
51445         exceptions.
51446         (INEXACT_EXCEPTION): New macro.
51447         (NO_INEXACT_EXCEPTION): Likewise.
51448         (INVALID_EXCEPTION_OK): Update value.
51449         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51450         (OVERFLOW_EXCEPTION_OK): Likewise.
51451         (UNDERFLOW_EXCEPTION_OK): Likewise.
51452         (IGNORE_ZERO_INF_SIGN): Likewise.
51453         (ERRNO_UNCHANGED): Likewise.
51454         (ERRNO_EDOM): Likewise.
51455         (ERRNO_ERANGE): Likewise.
51456         (test_exceptions): Handle testing "inexact" exceptions.
51457         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51458         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51459         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51460         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51461         INEXACT_EXCEPTION.
51462         (rint_towardzero_test_data): Likewise.
51463         (rint_downward_test_data): Likewise.
51464         (rint_upward_test_data): Likewise.
51466         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51467         with OVERFLOW_EXCEPTION.
51468         (exp10_test_data): Likewise.
51469         (exp2_test_data): Likewise.
51470         (expm1_test_data): Likewise.
51471         (lgamma_test_data): Likewise.
51472         (pow_test_data): Likewise.
51473         (tgamma_test_data): Likewise.
51474         (yn_test_data): Remove duplicate test of overflow.
51476         * math/libm-test.inc (struct test_cc_c_data): New type.
51477         (RUN_TEST_LOOP_cc_c): New macro.
51478         (cpow_test_data): New variable.
51479         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51481         * math/libm-test.inc (struct test_f_L_data): New type.
51482         (RUN_TEST_LOOP_f_L): New macro.
51483         (llrint_test_data): New variable.
51484         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51485         (llrint_tonearest_test_data): New variable.
51486         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51487         (llrint_towardzero_test_data): New variable.
51488         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51489         (llrint_downward_test_data): New variable.
51490         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51491         (llrint_upward_test_data): New variable.
51492         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51493         (llround_test_data): New variable.
51494         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51496 2013-05-13  Peter Collingbourne  <pcc@google.com>
51498         * math/atest-exp2.c (get_log2): Remove const attribute.
51500 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51502         * math/libm-test.inc (struct test_f_l_data): New type.
51503         (RUN_TEST_LOOP_f_l): New macro.
51504         (lrint_test_data): New variable.
51505         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51506         (lrint_tonearest_test_data): New variable.
51507         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51508         (lrint_towardzero_test_data): New variable.
51509         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51510         (lrint_downward_test_data): New variable.
51511         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51512         (lrint_upward_test_data): New variable.
51513         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51514         (lround_test_data): New variable.
51515         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51517 2013-05-15  Peter Collingbourne  <pcc@google.com>
51519         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51520         (EXTRACT_WORDS64) Use where appropriate.
51521         (INSERT_WORDS64) Likewise.
51523         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51524         constraints with x constraints.
51525         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51527         * malloc/obstack.c (_obstack_compat): Add initializer.
51529 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51531         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51532         si_trapno and add si_addr_lsb to _sifields.sigfault.
51533         (si_trapno): Remove macro.
51534         (si_addr_lsb): Define new macro.
51535         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51537 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51539         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51540         instead of TEST_f_l.
51541         (llrint_test_tonearest): Likewise.
51542         (llrint_test_towardzero): Likewise.
51543         (llrint_test_downward): Likewise.
51544         (llrint_test_upward): Likewise.
51545         (llround_test): Likewise.
51547         * math/libm-test.inc (struct test_f_i_data): Add comment.
51548         (RUN_TEST_LOOP_f_b): New macro.
51549         (RUN_TEST_LOOP_f_b_tg): Likewise.
51550         (finite_test_data): New variable.
51551         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51552         (isfinite_test_data): New variable.
51553         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51554         (isinf_test_data): New variable.
51555         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51556         (isnan_test_data): New variable.
51557         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51558         (isnormal_test_data): New variable.
51559         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51560         (issignaling_test_data): New variable.
51561         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51562         (signbit_test_data): New variable.
51563         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51565         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51566         with INVALID_EXCEPTION.
51567         (acosh_test_data): Likewise.
51568         (asin_test_data): Likewise.
51569         (atanh_test_data): Likewise.
51570         (fmod_test_data): Likewise.
51571         (log_test_data): Likewise.
51572         (log10_test_data): Likewise.
51573         (log2_test_data): Likewise.
51574         (pow_test_data): Likewise.
51575         (sqrt_test_data): Likewise.
51576         (y0_test_data): Likewise.
51577         (y1_test_data): Likewise.
51578         (yn_test_data): Likewise.
51580         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51581         function contents.
51583         * math/libm-test.inc (struct test_ff_i_data): New type.
51584         (RUN_TEST_LOOP_ff_i_tg): New macro.
51585         (isgreater_test_data): New variable.
51586         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51587         (isgreaterequal_test_data): New variable.
51588         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51589         (isless_test_data): New variable.
51590         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51591         (islessequal_test_data): New variable.
51592         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51593         (islessgreater_test_data): New variable.
51594         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51595         (isunordered_test_data): New variable.
51596         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51598 2013-05-14  David S. Miller  <davem@davemloft.net>
51600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51602 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51604         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51606         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51607         extra_test to int.
51608         (struct test_f_i_data): Change type of max_ulp to int.
51610         * math/libm-test.inc (test_ffI_f1_data): New type.
51611         (RUN_TEST_LOOP_ffI_f1): New macro.
51612         (remquo_test_data): New variable.
51613         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51615         * setjmp/tst-setjmp-fp.c: New file.
51616         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51617         (link-libm): New variable.
51618         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51620         * math/libm-test.inc (struct test_f_i_data): New type.
51621         (RUN_TEST_LOOP_f_i): New macro.
51622         (RUN_TEST_LOOP_f_i_tg): Likewise.
51623         (fpclassify_test_data): New variable.
51624         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51625         (ilogb_test_data): New variable.
51626         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51628         * math/libm-test.inc (scalbln_test): Correct function name in END
51629         call.
51631         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51632         (RUN_TEST_LOOP_fI_f1): New macro.
51633         (frexp_test_data): New variable.
51634         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51636         * math/libm-test.inc (struct test_fF_f1_data): New type.
51637         (RUN_TEST_LOOP_fF_f1): New macro.
51638         (modf_test_data): New variable.
51639         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51641         * math/libm-test.inc (struct test_f_f1_data): New type.
51642         (RUN_TEST_LOOP_f_f1): New macro.
51643         (gamma_test_data): New variable.
51644         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51645         (lgamma_test_data): New variable.
51646         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51648 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51650         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51651         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51652         (main): Comment "tls" pseudo-hwcap.
51654 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51656         * math/libm-test.inc (struct test_fl_f_data): New type.
51657         (RUN_TEST_LOOP_fl_f): New variable.
51658         (scalbln_test_data): New variable.
51659         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51661         * math/libm-test.inc (struct test_fi_f_data): New type.
51662         (RUN_TEST_LOOP_fi_f): New macro.
51663         (ldexp_test_data): New variable.
51664         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51665         (scalbn_test_data): New variable.
51666         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51668         * math/libm-test.inc (struct test_c_f_data): New type.
51669         (RUN_TEST_LOOP_c_f): New macro.
51670         (cabs_test_data): New variable.
51671         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51672         (carg_test_data): New variable.
51673         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51674         (cimag_test_data): New variable.
51675         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51676         (creal_test_data): New variable.
51677         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51679         * math/libm-test.inc (struct test_if_f_data): New type.
51680         (RUN_TEST_LOOP_if_f): New macro.
51681         (jn_test_data): New variable.
51682         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51683         (yn_test_data): New variable.
51684         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51686         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51688 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51690         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51691         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51693 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51695         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51696         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51697         (bench-deps): Add bench-timing.h.
51698         * benchtests-bench-skeleton.c: Include bench-timing.h.
51699         (main): Use TIMING_* macros instead of clock_gettime.
51700         * benchtests/bench-timing.h: New file.
51702         [BZ #14582]
51703         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51704         Renamed from _LIB_VERSION.
51705         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51707 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51709         * math/libm-test.inc (struct test_fff_f_data): New type.
51710         (RUN_TEST_LOOP_fff_f): New macro.
51711         (fma_test_data): New variable.
51712         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51713         (fma_towardzero_test_data): New variable.
51714         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51715         (fma_downward_test_data): New variable.
51716         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51717         (fma_upward_test_data): New variable.
51718         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51720         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51721         (struct test_c_c_data): New type.
51722         (RUN_TEST_LOOP_c_c): New macro.
51723         (cacos_test_data): New variable.
51724         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51725         (cacosh_test_data): New variable.
51726         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51727         (casin_test_data): New variable.
51728         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51729         (casinh_test_data): New variable.
51730         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51731         (catan_test_data): New variable.
51732         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51733         (catanh_test_data): New variable.
51734         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51735         (ccos_test_data): New variable.
51736         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51737         (ccosh_test_data): New variable.
51738         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51739         (cexp_test_data): New variable.
51740         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51741         (clog_test_data): New variable.
51742         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51743         (clog10_test_data): New variable.
51744         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51745         (conj_test_data): New variable.
51746         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51747         (cproj_test_data): New variable.
51748         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51749         (csin_test_data): New variable.
51750         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51751         (csinh_test_data): New variable.
51752         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51753         (csqrt_test_data): New variable.
51754         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51755         (ctan_test_data): New variable.
51756         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51757         (ctan_tonearest_test_data): New variable.
51758         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51759         (ctan_towardzero_test_data): New variable.
51760         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51761         (ctan_downward_test_data): New variable.
51762         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51763         (ctan_upward_test_data): New variable.
51764         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51765         (ctanh_test_data): New variable.
51766         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51767         (ctanh_tonearest_test_data): New variable.
51768         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51769         (ctanh_towardzero_test_data): New variable.
51770         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51771         (ctanh_downward_test_data): New variable.
51772         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51773         (ctanh_upward_test_data): New variable.
51774         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51775         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51776         of BUILD_COMPLEX.
51778         * math/libm-test.inc (struct test_ff_f_data): New type.
51779         (struct test_ff_f_data_nexttoward): Likewise.
51780         (RUN_TEST_LOOP_2_f): New macro.
51781         (RUN_TEST_LOOP_ff_f): Likewise.
51782         (atan2_test_data): New variable.
51783         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51784         (copysign_test_data): New variable.
51785         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51786         (fdim_test_data): New variable.
51787         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51788         (fmax_test_data): New variable.
51789         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51790         (fmin_test_data): New variable.
51791         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51792         (fmod_test_data): New variable.
51793         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51794         (hypot_test_data): New variable.
51795         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51796         (nextafter_test_data): New variable.
51797         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51798         (nexttoward_test_data): New variable.
51799         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51800         (pow_test_data): New variable.
51801         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51802         (pow_tonearest_test_data): New variable.
51803         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51804         (pow_towardzero_test_data): New variable.
51805         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51806         (pow_downward_test_data): New variable.
51807         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51808         (pow_upward_test_data): New variable.
51809         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51810         (remainder_test_data): New variable.
51811         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51812         (scalb_test_data): New variable.
51813         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51814         * sysdeps/i386/fpu/libm-test-ulps: Update.
51816 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51818         * math/libm-test.inc (fma_test): Use max_value instead of local
51819         variable fltmax.
51820         (nextafter_test): Likewise.
51822         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51823         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51824         (acos_downward_test_data): New variable.
51825         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51826         (acos_upward_test_data): New variable.
51827         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51828         (acosh_test_data): New variable.
51829         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51830         (asin_test_data): New variable.
51831         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51832         (asin_tonearest_test_data): New variable.
51833         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51834         (asin_towardzero_test_data): New variable.
51835         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51836         (asin_downward_test_data): New variable.
51837         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51838         (asin_upward_test_data): New variable.
51839         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51840         (asinh_test_data): New variable.
51841         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51842         (atan_test_data): New variable.
51843         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51844         (atanh_test_data): New variable.
51845         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51846         (cbrt_test_data): New variable.
51847         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51848         (ceil_test_data): New variable.
51849         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51850         (cos_test_data): New variable.
51851         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51852         (cos_tonearest_test_data): New variable.
51853         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51854         (cos_towardzero_test_data): New variable.
51855         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51856         (cos_downward_test_data): New variable.
51857         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51858         (cos_upward_test_data): New variable.
51859         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51860         (cosh_test_data): New variable.
51861         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51862         (cosh_tonearest_test_data): New variable.
51863         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51864         (cosh_towardzero_test_data): New variable.
51865         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51866         (cosh_downward_test_data): New variable.
51867         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51868         (cosh_upward_test_data): New variable.
51869         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51870         (erf_test_data): New variable.
51871         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51872         (erfc_test_data): New variable.
51873         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51874         (exp_test_data): New variable.
51875         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51876         (exp_tonearest_test_data): New variable.
51877         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51878         (exp_towardzero_test_data): New variable.
51879         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51880         (exp_downward_test_data): New variable.
51881         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51882         (exp_upward_test_data): New variable.
51883         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51884         (exp10_test_data): New variable.
51885         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51886         (exp2_test_data): New variable.
51887         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51888         (expm1_test_data): New variable.
51889         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51890         (fabs_test_data): New variable.
51891         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51892         (floor_test_data): New variable.
51893         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51894         (j0_test_data): New variable.
51895         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51896         (j1_test_data): New variable.
51897         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51898         (log_test_data): New variable.
51899         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51900         (log10_test_data): New variable.
51901         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51902         (log1p_test_data): New variable.
51903         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51904         (log2_test_data): New variable.
51905         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51906         (logb_test_data): New variable.
51907         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51908         (logb_downward_test_data): New variable.
51909         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51910         (nearbyint_test_data): New variable.
51911         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51912         (rint_test_data): New variable.
51913         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51914         (rint_tonearest_test_data): New variable.
51915         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51916         (rint_towardzero_test_data): New variable.
51917         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51918         (rint_downward_test_data): New variable.
51919         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51920         (rint_upward_test_data): New variable.
51921         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51922         (round_test_data): New variable.
51923         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51924         (sin_test_data): New variable.
51925         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51926         (sin_tonearest_test_data): New variable.
51927         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51928         (sin_towardzero_test_data): New variable.
51929         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51930         (sin_downward_test_data): New variable.
51931         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51932         (sin_upward_test_data): New variable.
51933         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51934         (sinh_test_data): New variable.
51935         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51936         (sinh_tonearest_test_data): New variable.
51937         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51938         (sinh_towardzero_test_data): New variable.
51939         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51940         (sinh_downward_test_data): New variable.
51941         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51942         (sinh_upward_test_data): New variable.
51943         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51944         (sqrt_test_data): New variable.
51945         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51946         (tan_test_data): New variable.
51947         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51948         (tan_tonearest_test_data): New variable.
51949         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51950         (tan_towardzero_test_data): New variable.
51951         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51952         (tan_downward_test_data): New variable.
51953         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51954         (tan_upward_test_data): New variable.
51955         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51956         (tanh_test_data): New variable.
51957         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51958         (tgamma_test_data): New variable.
51959         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51960         (trunc_test_data): New variable.
51961         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51962         (y0_test_data): New variable.
51963         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51964         (y1_test_data): New variable.
51965         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51966         (significand_test_data): New variable.
51967         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51969 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51971         [BZ #12387]
51972         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51974 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51976         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51978 2013-05-10  Andreas Jaeger  <aj@suse.de>
51980         [BZ #15448]
51981         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51982         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51984 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51986         * math/gen-libm-test.pl (adjust_arg): New function.
51987         (special_functions): Handle generating output in both functions
51988         and arrays.
51989         (parse_args): Likewise.
51990         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51991         $in_func argument to parse_args.
51992         * math/libm-test.inc (struct test_f_f_data): New type.
51993         (IF_ROUND_INIT_): New macro.
51994         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51995         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51996         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51997         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51998         (ROUND_RESTORE_): Likewise.
51999         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52000         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52001         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52002         (ROUND_RESTORE_FE_UPWARD): Likewise.
52003         (RUN_TEST_LOOP_f_f): New macro.
52004         (acos_test_data): New variable.
52005         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52006         (acos_tonearest_test_data): New variable.
52007         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52009 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         * benchtests/bench-skeleton.c (startup): Fix coding style.
52013 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52015         [BZ #6809]
52016         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52017         negative infinity argument.
52018         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52019         negative infinity argument.
52020         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52021         negative infinity argument.
52022         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52023         domain errors.
52025 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52027         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52028         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52029         * iconv/iconv_prog.c (main): Likewise.
52030         * locale/programs/charmap-dir.c (charmap_readdir)
52031         (fopen_uncompressed): Likewise.
52032         * locale/programs/locfile.c (siblings_uncached)
52033         (write_locale_data): Use lstat64 instead of lstat.
52034         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52035         stat.
52037 2013-05-10  Andreas Jaeger  <aj@suse.de>
52039         [BZ #15395]
52040         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52041         localization.
52042         Include <locale.h>.
52044 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52046         * elf/dl-close.c (_dl_close_worker): Add comments.
52048 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52050         [BZ #15359]
52051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52052         high part of pi/2.
52053         (__ieee754_rem_pio2l): Update comments.
52055         [BZ #15429]
52056         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52057         high part of pi/2.
52058         (__ieee754_rem_pio2l): Update comments.
52060         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52061         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52063         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52064         M_PI_4l.
52066         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52067         (M_PI_34_LOG10El): Likewise.
52068         (M_PI2_LOG10El): Likewise.
52069         (M_PI4_LOG10El): Likewise.
52070         (M_PI_LOG10El): Likewise.
52072 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52076 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52078         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52079         (MINUS_ZERO_INIT): Likewise.
52080         (PLUS_INFTY_INIT): Likewise.
52081         (MINUS_INFTY_INIT): Likewise.
52082         (QNAN_VALUE_INIT): Likewise.
52083         (MAX_VALUE_INIT): Likewise.
52084         (MIN_VALUE_INIT): Likewise.
52085         (MIN_SUBNORM_VALUE_INIT): Likewise.
52086         (plus_zero): Initialize with PLUS_ZERO_INIT.
52087         (minus_zero): Initialize with MINUS_ZERO_INIT.
52088         (plus_infty): Initialize with PLUS_INFTY_INIT.
52089         (minus_infty): Initialize with MINUS_INFTY_INIT.
52090         (qnan_value): Initialize with QNAN_VALUE_INIT.
52091         (max_value): Initialize with MAX_VALUE_INIT.
52092         (min_value): Initialize with MIN_VALUE_INIT.
52093         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52095         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52096         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52097         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52098         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52100         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52101         (RUN_TEST_2_f): Likewise.
52102         (RUN_TEST_ff_f): Likewise.
52103         (RUN_TEST_fi_f): Likewise.
52104         (RUN_TEST_fl_f): Likewise.
52105         (RUN_TEST_fff_f): Likewise.
52106         (RUN_TEST_c_f): Likewise.
52107         (RUN_TEST_f_f1): Likewise.
52108         (RUN_TEST_fF_f1): Likewise.
52109         (RUN_TEST_fI_f1): Likewise.
52110         (RUN_TEST_ffI_f1): Likewise.
52111         (RUN_TEST_c_c): Likewise.
52112         (RUN_TEST_cc_c): Likewise.
52113         (RUN_TEST_f_i): Likewise.
52114         (RUN_TEST_f_i_tg): Likewise.
52115         (RUN_TEST_ff_i_tg): Likewise.
52116         (RUN_TEST_f_b): Likewise.
52117         (RUN_TEST_f_b_tg): Likewise.
52118         (RUN_TEST_f_l): Likewise.
52119         (RUN_TEST_f_L): Likewise.
52120         (RUN_TEST_sincos): Likewise.
52121         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52122         whether to show exceptions.  Do not include ");\n" in return
52123         value.
52124         (special_functions): Output call to RUN_TEST_sincos instead of
52125         check_float calls.  Update calls to new_test.
52126         (parse_args): Output call to single RUN_TEST_* macro instead of
52127         check_* calls and other assignments.  Update calls to new_test.
52129         [BZ #2546]
52130         [BZ #2560]
52131         [BZ #5159]
52132         [BZ #15426]
52133         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52134         input to result for tgamma overflow.
52135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52136         (gamma_coeff): New variable.
52137         (NCOEFF): New macro.
52138         (gamma_positive): New function.
52139         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52140         underflow here.  Use gamma_positive instead of exp (lgamma) for
52141         other arguments.
52142         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52143         (gamma_coeff): New variable.
52144         (NCOEFF): New macro.
52145         (gammaf_positive): New function.
52146         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52147         underflow here.  Use gamma_positive instead of exp (lgamma) for
52148         other arguments.
52149         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52150         (gamma_coeff): New variable.
52151         (NCOEFF): New macro.
52152         (gammal_positive): New function.
52153         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52154         underflow here.  Use gamma_positive instead of exp (lgamma) for
52155         other arguments.
52156         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52157         (gamma_coeff): New variable.
52158         (NCOEFF): New macro.
52159         (gammal_positive): New function.
52160         (__ieee754_gammal_r): Handle positive infinity, overflow and
52161         underflow here.  Handle NaN the same as positive infinity.  Remove
52162         check x < 0xffffffff for negative integers.  Use gamma_positive
52163         instead of exp (lgamma) for other arguments.
52164         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52165         (gamma_coeff): New variable.
52166         (NCOEFF): New macro.
52167         (gammal_positive): New function.
52168         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52169         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52170         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52172         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52173         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52174         * sysdeps/generic/math_private.h (__gamma_productf): New
52175         prototype.
52176         (__gamma_product): Likewise.
52177         (__gamma_productl): Likewise.
52178         * math/Makefile (libm-calls): Add gamma_product.
52179         * math/libm-test.inc (tgamma_test): Add more tests.
52180         * sysdeps/i386/fpu/libm-test-ulps: Update.
52181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52183 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52185         * benchtests/bench-skeleton.c (main): Preheat CPU.
52187 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52189         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52191 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52193         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52194         and _dl_skip_args_internal.
52196 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52198         * manual/message.texi (Message Translation): Talk about users.
52199         Message to key mapping impacts design.
52201 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52203         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52205         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52207         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52208         * sysdeps/wordsize-64/glob64.c: ... here.
52210         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52211         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52212         New macros.
52214         * debug/getlogin_r_chk.c: Moved to ...
52215         * login/getlogin_r_chk.c: ... here.
52216         * debug/Makefile (routines): Move getlogin_r_chk to ...
52217         * login/Makefile (routines): ... here.
52218         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52219         * login/Versions (libc: GLIBC_2.4): ... here.
52221         * io/poll.c (__poll): Renamed from poll.
52222         Add libc_hidden_def.
52223         (poll): Define as weak alias.
52225         * debug/ptsname_r_chk.c: Moved to ...
52226         * login/ptsname_r_chk.c: ... here.
52227         * debug/Makefile (routines): Move ptsname_r_chk to ...
52228         * login/Makefile (routines): ... here.
52229         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52230         * login/Versions (libc: GLIBC_2.4): ... here.
52232         * posix/getlogin.c: Moved to ...
52233         * login/getlogin.c: ... here.
52234         * posix/getlogin_r.c: Moved to ...
52235         * login/getlogin_r.c: ... here.
52236         * posix/getlogin_r.c: Moved to ...
52237         * login/getlogin_r.c: ... here.
52238         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52239         * login/Makefile (routines): ... here.
52240         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52241         * login/Versions (libc: GLIBC_2.0): ... here.
52243         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52244         (setrlimit): Define as weak alias.
52246         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52247         Call __ names for open, ftruncate, and close.
52248         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52249         (truncate): Define as weak alias.
52251 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52253         * math/gen-libm-test.pl (parse_args): Initialize x before each
52254         test of frexp, modf and remquo.
52256         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52257         test signgam value.
52259 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52261         [BZ #15418]
52262         [BZ #15419]
52263         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52264         internal tests.
52265         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52267 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52269         * elf/dl-writev.h: New file.
52270         * elf/dl-misc.c: Include it.
52271         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52272         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52274 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52276         * math/libm-test.inc (noXFails): Remove variable.
52277         (noXPasses): Likewise.
52278         (BUILD_COMPLEX_INT): Remove macro.
52279         (print_screen): Remove xfail argument.
52280         (print_screen_max_error): Likewise.
52281         (update_stats): Likewise.
52282         (print_max_error): Likewise.  Update calls to other affected
52283         functions.
52284         (print_complex_max_error): Likewise.
52285         (test_single_exception): Update calls to print_screen.
52286         (test_single_errno): Likewise.
52287         (check_float_internal): Remove xfail argument.  Update calls to
52288         other affected functions.
52289         (check_float): Likewise.
52290         (check_complex): Likewise.
52291         (check_int): Likewise.
52292         (check_long): Likewise.
52293         (check_bool): Likewise.
52294         (check_longlong): Likewise.
52295         (main): Don't print noXFails and noXPasses.
52296         * math/gen-libm-test.pl (top level): Don't mention expected
52297         failure handling in comment.
52298         (new_test): Don't handle expected failures.
52299         (parse_args): Don't mention expected failure handling in comment.
52300         (generate_testfile): Don't handle expected failures.
52301         (parse_ulps): Likewise.
52302         (print_ulps_file): Likewise.
52303         (get_failure): Remove function.
52304         (output_test): Don't handle expected failures.
52305         * make/README.libm-test: Don't mention expected failure handling.
52307         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52308         (minus_zero): Likewise.
52309         (plus_infty): Likewise.
52310         (minus_infty): Likewise.
52311         (qnan_value): Likewise.
52312         (max_value): Likewise.
52313         (min_value): Likewise.
52314         (min_subnorm_value): Likewise.
52315         (initialize): Do not initialize those variables dynamically.
52317 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52319         * io/open.c (__open_2): Moved to ...
52320         * io/open_2.c: ... this new file.
52321         * io/open64.c (__open64_2): Moved to ...
52322         * io/open64_2.c: ... this new file.
52323         * io/openat.c (__openat_2): Moved to ...
52324         * io/openat_2.c: ... this new file.
52325         * io/openat64.c (__openat64_2): Moved to ...
52326         * io/openat64_2.c: ... this new file.
52327         * io/Makefile (routines): Add them.
52328         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52329         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52330         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52331         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52332         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52333         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52334         (__openat64): Add hidden_ver.
52335         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52336         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52338         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52339         Separately conditionalize setting of GLRO(dl_sysinfo) so
52340         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52341         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52343 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52345         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52347         definition.
52348         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52349         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52350         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52351         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52352         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52354 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52356         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52357         test signgam value.
52359         * math/libm-test.inc (hypot_test): Do not use
52360         IGNORE_ZERO_INF_SIGN.
52362 2013-05-03  Andreas Jaeger  <aj@suse.de>
52364         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52365         Linux 3.9.
52366         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52367         (PF_MAX): Adjust for VSOCK change.
52369 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52373 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52375         [BZ #15264]
52376         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52377         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52378         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52380 2013-05-02  David S. Miller  <davem@davemloft.net>
52382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52384 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52386         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52388 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52390         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52392 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52394         [BZ #14952]
52395         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52396         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52397         Use __attribute__ ((__gnu_inline__)).
52398         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52399         Don't use __attribute__ ((__gnu_inline__)).
52401 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52403         [BZ #15423]
52404         * math/s_catan.c (__catan): Handle small real or imaginary part of
52405         input specially to avoid spurious underflow.
52406         * math/s_catanf.c (__catanf): Likewise.
52407         * math/s_catanh.c (__catanh): Likewise.
52408         * math/s_catanhf.c (__catanhf): Likewise.
52409         * math/s_catanhl.c (__catanhl): Likewise.
52410         * math/s_catanl.c (__catanl): Likewise.
52411         * math/libm-test.inc (catan_test): Add more tests.
52412         (catanh_test): Likewise.
52413         * sysdeps/i386/fpu/libm-test-ulps: Update.
52414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52416 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52420 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52422         [BZ #15416]
52423         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52424         accurately for denominator in atan2.
52425         * math/s_catanf.c (__catanf): Likewise.
52426         * math/s_catanh.c (__catanh): Likewise.
52427         * math/s_catanhf.c (__catanhf): Likewise.
52428         * math/s_catanhl.c (__catanhl): Likewise.
52429         * math/s_catanl.c (__catanl): Likewise.
52430         * math/libm-test.inc (catan_test): Add more tests.
52431         (catanh_test): Likewise.
52432         * sysdeps/i386/fpu/libm-test-ulps: Update.
52433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52435 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52437         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52439         * benchtests/Makefile (bench): Remove slow benchmarks.
52440         * benchtests/atan-inputs: Add slow benchmark inputs.
52441         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52442         (BENCH_FUNC): Accept variant offset.
52443         (VARIANT): Define.
52444         * benchtests/bench-skeleton.c (main): Run benchmark for each
52445         variant.
52446         * benchtests/cos-inputs: Add slow benchmark inputs.
52447         * benchtests/exp-inputs: Likewise.
52448         * benchtests/pow-inputs: Likewise.
52449         * benchtests/sin-inputs: Likewise.
52450         * benchtests/slowatan-inputs: Remove.
52451         * benchtests/slowatan.c: Remove.
52452         * benchtests/slowcos-inputs: Remove.
52453         * benchtests/slowcos.c: Remove.
52454         * benchtests/slowexp-inputs: Remove.
52455         * benchtests/slowexp.c: Remove.
52456         * benchtests/slowpow-inputs: Remove.
52457         * benchtests/slowpow.c: Remove.
52458         * benchtests/slowsin-inputs: Remove.
52459         * benchtests/slowsin.c: Remove.
52460         * benchtests/slowtan-inputs: Remove.
52461         * benchtests/slowtan.c: Remove.
52462         * benchtests/tan-inputs: Add slow benchmark inputs.
52463         * scripts/bench.pl: Parse comments and directives.
52465         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52466         in CPPFLAGS.
52467         ($(objpfx)bench-%.c): Remove *-ITER.
52468         * benchtests/bench-modf.c: Remove definition of ITER.
52469         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52470         (main): Loop for DURATION seconds instead of fixed number of
52471         iterations.
52472         * scripts/bench.pl: Don't expect iterations in parameters.
52474 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52476         * io/fchdir.c (__fchdir): Renamed from fchdir.
52477         (fchdir): Define as weak alias.
52479 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52481         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52482         (ERRNO_EDOM): Likewise.
52483         (ERRNO_ERANGE): Likewise.
52484         (noErrnoTests): New variable.
52485         (init_max_error): Set errno to 0.
52486         (test_single_errno): New function.
52487         (test_errno): Likewise.
52488         (check_float_internal): Call test_errno.  Set errno to 0.
52489         (check_complex): Refer to errno tests in comment.
52490         (check_int): Call test_errno.  Set errno to 0.
52491         (check_long): Likewise.
52492         (check_bool): Likewise.
52493         (check_longlong): Likewise.
52494         (cos_test): Use ERRNO_* flags for errno tests instead of
52495         check_int.
52496         (expm1_test): Likewise.
52497         (fmod_test): Likewise.
52498         (ilogb_test): Likewise.
52499         (lgamma_test): Likewise.
52500         (pow_test): Likewise.
52501         (remainder_test): Likewise.
52502         (sin_test): Likewise.
52503         (tan_test): Likewise.
52504         (yn_test): Likewise.
52505         (initialize): Set errno to 0.
52506         (main): Print number of errno tests.
52507         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52509 2013-04-29  Andreas Jaeger  <aj@suse.de>
52511         [BZ #15084]
52512         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52513         and RES_USEVC.
52515         [BZ #15085]
52516         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52517         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52518         unimplemented.
52520         [BZ #15380]
52521         * stdlib/random.c (__initstate): Return NULL if
52522         __initstate fails.
52524         [BZ #15086]
52525         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52526         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52527         RES_SNGLKUPREOP.
52529 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52533 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52535         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52536         of individual tests.
52537         (casin_test): Likewise.
52538         (casinh_test): Likewise.
52540 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52542         [BZ #15409]
52543         * math/s_catan.c (__catan): Handle arguments with large real or
52544         imaginary part separately without squaring.
52545         * math/s_catanf.c (__catanf): Likewise.
52546         * math/s_catanh.c (__catanh): Likewise.
52547         * math/s_catanhf.c (__catanhf): Likewise.
52548         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52549         and redefine.
52550         (__catanhl): Handle arguments with large real or imaginary part
52551         separately without squaring.
52552         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52553         and redefine.
52554         (__catanl): Handle arguments with large real or imaginary part
52555         separately without squaring.
52556         * math/libm-test.inc (catan_test): Add more tests.
52557         (catanh_test): Likewise.
52558         * sysdeps/i386/fpu/libm-test-ulps: Update.
52559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52561 2013-04-27  Andreas Jaeger  <aj@suse.de>
52563         [BZ #15007]
52564         * stdlib/stdlib.h: Update guards for qecvt.
52565         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52566         <stdlib.h>.
52568 2013-04-27  Allan McRae  <allan@archlinux.org>
52570         * sysdeps/i386/fpu/libm-test-ulps: Update.
52572 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52574         [BZ #15406]
52575         * math/s_catan.c: Include <float.h>.
52576         (__catan): Ensure underflow exception occurs for underflowed
52577         result.
52578         * math/s_catanf.c: Include <float.h>.
52579         (__catanf): Ensure underflow exception occurs for underflowed
52580         result.
52581         * math/s_catanh.c: Include <float.h>.
52582         (__catanh): Ensure underflow exception occurs for underflowed
52583         result.
52584         * math/s_catanhf.c: Include <float.h>.
52585         (__catanhf): Ensure underflow exception occurs for underflowed
52586         result.
52587         * math/s_catanhl.c: Include <float.h>.
52588         (__catanhl): Ensure underflow exception occurs for underflowed
52589         result.
52590         * math/s_catanl.c: Include <float.h>.
52591         (__catanl): Ensure underflow exception occurs for underflowed
52592         result.
52593         * math/libm-test.inc (catan_test): Add more tests.
52594         (catanh_test): Likewise.
52596         [BZ #15405]
52597         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52598         underflowed result.
52599         * math/s_ccoshf.c (__ccoshf): Likewise.
52600         * math/s_ccoshl.c (__ccoshl): Likewise.
52601         * math/s_csin.c (__csin): Likewise.
52602         * math/s_csinf.c (__csinf): Likewise.
52603         * math/s_csinh.c (__csinh): Likewise.
52604         * math/s_csinhf.c (__csinhf): Likewise.
52605         * math/s_csinhl.c (__csinhl): Likewise.
52606         * math/s_csinl.c (__csinl): Likewise.
52607         * math/libm-test.inc (ccos_test): Add more tests.
52608         (ccosh_test): Likewise.
52609         (csin_test): Likewise.
52610         (csinh_test): Likewise.
52612 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52614         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52615         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52616         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52617         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52618         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52619         powerpc/power5+/fpu folders.
52620         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52623 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52627 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52629         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52630         additions to variable.
52631         [$(config-machine) = x86_64] (modules-names): Likewise.
52632         ($(objpfx)tst-audit3): Remove dependency.
52633         ($(objpfx)tst-audit3.out): Likewise.
52634         ($(objpfx)tst-audit4): Likewise.
52635         ($(objpfx)tst-audit4.out): Likewise.
52636         ($(objpfx)tst-audit5): Likewise.
52637         ($(objpfx)tst-audit5.out): Likewise.
52638         ($(objpfx)tst-audit6): Likewise.
52639         ($(objpfx)tst-audit6.out): Likewise.
52640         ($(objpfx)tst-audit7): Likewise.
52641         ($(objpfx)tst-audit7.out): Likewise.
52642         (tst-audit3-ENV): Remove variable.
52643         (tst-audit4-ENV): Likewise.
52644         (tst-audit5-ENV): Likewise.
52645         (tst-audit6-ENV): Likewise.
52646         (tst-audit7-ENV): Likewise.
52647         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52648         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52649         addition to variable.
52650         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52651         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52652         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52653         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52655         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52656         tst-audit3, tst-audit4 and tst-audit5.
52657         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52658         tst-audit6 and tst-audit7.
52659         [$(subdir) = elf] (modules-names): Add audit modules for those
52660         tests.
52661         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52662         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52663         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52664         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52665         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52666         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52667         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52668         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52669         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52670         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52671         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52672         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52673         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52674         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52675         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52676         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52677         Likewise.
52678         [$(subdir) = elf && $(config-cflags-avx) = yes]
52679         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52680         [$(subdir) = elf && $(config-cflags-avx) = yes]
52681         (CFLAGS-tst-auditmod4a.c): Likewise.
52682         [$(subdir) = elf && $(config-cflags-avx) = yes]
52683         (CFLAGS-tst-auditmod4b.c): Likewise.
52684         [$(subdir) = elf && $(config-cflags-avx) = yes]
52685         (CFLAGS-tst-auditmod6b.c): Likewise.
52686         [$(subdir) = elf && $(config-cflags-avx) = yes]
52687         (CFLAGS-tst-auditmod6c.c): Likewise.
52688         [$(subdir) = elf && $(config-cflags-avx) = yes]
52689         (CFLAGS-tst-auditmod7b.c): Likewise.
52690         * elf/tst-audit3.c: Move to ...
52691         * sysdeps/x86_64/tst-audit3.c: ... here.
52692         * elf/tst-audit4.c: Move to ...
52693         * sysdeps/x86_64/tst-audit4.c: ... here.
52694         * elf/tst-audit5.c: Move to ...
52695         * sysdeps/x86_64/tst-audit5.c: ... here.
52696         * elf/tst-audit6.c: Move to ...
52697         * sysdeps/x86_64/tst-audit6.c: ... here.
52698         * elf/tst-audit7.c: Move to ...
52699         * sysdeps/x86_64/tst-audit7.c: ... here.
52700         * elf/tst-auditmod3a.c: Move to ...
52701         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52702         * elf/tst-auditmod3b.c: Move to ...
52703         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52704         * elf/tst-auditmod4a.c: Move to ...
52705         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52706         * elf/tst-auditmod4b.c: Move to ...
52707         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52708         * elf/tst-auditmod5a.c: Move to ...
52709         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52710         * elf/tst-auditmod5b.c: Move to ...
52711         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52712         * elf/tst-auditmod6a.c: Move to ...
52713         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52714         * elf/tst-auditmod6b.c: Move to ...
52715         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52716         * elf/tst-auditmod6c.c: Move to ...
52717         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52718         * elf/tst-auditmod7a.c: Move to ...
52719         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52720         * elf/tst-auditmod7b.c: Move to ...
52721         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52723 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52725         [BZ #15366]
52726         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52727         define unconditionally.
52728         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52729         define unconditionally.
52730         (INT8_C, INT16_C, etc.): Likewise.
52732 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52734         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52735         __ehdr_start with hidden visibility.
52737         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52739 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52741         * math/libm-test.inc (cos_test): Use accurate hex constants.
52742         (sincost_test): Likewise.
52744 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52746         * math/libm-test.inc (catan_test): Add more tests.
52747         (catanh_test): Likewise.
52749         * math/s_catanf.c (__catanf): Use suffixed floating-point
52750         constants.
52751         * math/s_catanhf.c (__catanhf): Likewise.
52752         * math/s_catanhl.c (__catanhl): Likewise.
52753         * math/s_catanl.c (__catanl): Likewise.
52755         [BZ #15394]
52756         * math/s_catan.c (__catan): Calculate imaginary part of result
52757         with log1p not log unless computing log of number close to 0.
52758         * math/s_catanf.c (__catanf): Likewise.
52759         * math/s_catanl.c (__catanl): Likewise.
52760         * math/s_catanh.c (__catanh): Calculate real part of result with
52761         log1p not log unless computing log of number close to 0.
52762         * math/s_catanhf.c (__catanhf): Likewise.
52763         * math/s_catanhl.c (__catanhl): Likewise.
52764         * math/libm-test.inc (catan_test): Add more tests.
52765         (catanh_test): Likewise.
52766         * sysdeps/i386/fpu/libm-test-ulps: Update.
52767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52769 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52771         * benchtests/Makefile: Mention files in which fast and slow
52772         paths of math functions are implemented.
52774 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52776         * sysdeps/posix/timespec_get.c: New file.
52778 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52780         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52781         POWER.
52782         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52783         for POWER.
52784         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52785         powerpc/power5/fpu folders.
52786         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52787         * benchtests/Makefile: Add modf testcase.
52788         * benchtests/bench-modf.c: New file: Benchmark test for mo
52790 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52792         [BZ #14888]
52793         * time/Makefile (tests): Add tst-strptime-whitespace.
52794         * time/strptime_l.c (get_number): Use ISSPACE.
52795         (__strptime_internal): Likewise.
52796         * time/tst-strptime-whitespace.c: New test case.
52798 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52800         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52801         member.
52802         (_nss_files_init): Set it here.
52804 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52806         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52807         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52808         unsigned.
52810 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52812         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52814 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52816         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52817         size just once.
52819 2013-04-21  David S. Miller  <davem@davemloft.net>
52821         * po/ru.po: Update Russion translation from translation project.
52823 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52825         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52826         and setfsgid.
52828 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52830         * configure.in: Remove i386 configure warning. Remove i386 case.
52831         * configure: Regenerate.
52832         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52833         Add example to error message.
52834         * sysdeps/i386/configure: Regenerate.
52836 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52838         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52839         slowtan.
52840         * benchtests/cos-inputs: New file.
52841         * benchtests/slowcos-inputs: New file.
52842         * benchtests/slowcos.c: New file.
52843         * benchtests/slowtan-inputs: New file.
52844         * benchtests/slowtan.c: New file.
52845         * benchtests/tan-inputs: New file.
52847 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52849         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52850         considered kosher.
52852 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52854         * benchtests/Makefile: Include cppflags-iterator.mk to add
52855         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52857         * Makefile.in (bench-clean): New target.
52858         * benchtests/Makefile (bench-clean): Likewise.
52860 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52862         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52864 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52866         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52868 2013-04-15  Andreas Schwab  <schwab@suse.de>
52870         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52872         * nscd/pwdcache.c (cache_addpw): Likewise.
52873         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52874         more than recsize.
52876 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52878         * benchtests/Makefile (bench): Write all output to
52879         bench-out.tmp together.
52881 2013-04-15  Andreas Schwab  <schwab@suse.de>
52883         * nscd/nscd.c (main): Don't fork again after closing files.
52885 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52887         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52889         * benchtests/Rules (bench-deps): Collect dependencies into a
52890         single variable.  Add Makefile to dependencies.
52891         ($(objpfx)bench-%.c): Depend on bench-deps.
52893 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52894             Xavier Roche  <roche+kml2@exalead.com>
52896         [BZ #15361]
52897         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52898         just that it's a file descriptor.
52899         * manual/llio.texi (Synchronizing AIO Operations): Update description
52900         for EBADF error from aio_fsync.
52902 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52904         * Rules (bench): Move target definition...
52905         * benchtests/Makefile: ... here.
52907 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52909         * math/libm-test.inc (cos_test): Fix PI/2 test.
52910         (sincos_test): Likewise.
52911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52912         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52914 2013-04-11  Andreas Schwab  <schwab@suse.de>
52916         [BZ #13988]
52917         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52918         accept exponent character only when digits were seen.
52919         * stdio-common/Makefile (tests): Add bug26.
52920         * stdio-common/bug26.c: New file.
52922         [BZ #14293]
52923         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52924         non-freeable.
52926 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52928         * Makeconfig (rtld-prefix): Define built linker prefix.
52929         * Rules (run-bench): Use it.
52930         * math/Makefile (run-regen-ulps): Likewise.
52932         * Rules (bench): Remove eval.
52934 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52935             Roland McGrath  <roland@hack.frob.com>
52936             Ondrej Bilka  <neleai@seznam.cz>
52938         [BZ #15346]
52939         * time/getdate.c: Include ctype.h and alloca.h.
52940         (__getdate_r): Trim leading and trailing spaces of input.
52941         * time/tst-getdate.c (tests): Add tests with leading and
52942         trailing spaces.
52944 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52946         [BZ #14280]
52947         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52948         when computing value.
52950 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52952         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52953         Use testrun.sh to run libm tests.
52955         [BZ #15309]
52956         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52958 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52960         [BZ #15264]
52961         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52963 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52965         * Makefile.in (regen-ulps): New target.
52966         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52967         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52968         [ifneq (no,$(PERL)] (regen-ulps): New target.
52969         [ifeq (no,$(PERL)] (regen-ulps): New target.
52970         * math/libm-test.inc (ulps_file_name): Define.
52971         (output_dir): New variable.
52972         (options): Add "output-dir" option.
52973         (parse_opt): Handle 'o' case.
52974         (main): If output_dir is non-NULL use it as a prefix
52975         otherwise use "".
52976         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52978 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52980         [BZ #10060, #10062]
52981         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52982         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52983         fail configure if __sync_val_compare_and_swap is not inlined.
52984         * sysdeps/i386/configure: Regenerate.
52985         * configure.in: Build for i686 when configured for i386.
52986         * configure: Regenerate.
52987         * README: Remove i386 reference.
52989 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52991         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52992         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52994 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52996         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52997         (lmsnanval): New variables.
52998         (F): Add conversion tests.
52999         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53000         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53002         * stdio-common/tstdiomisc.c (F): Properly collect individual
53003         tests' results.
53005         [BZ #14686, #15336]
53006         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53007         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53008         Instead, use input NaN values or generate a qNaN by arithmetic
53009         operation.  Also fix bugs to comply with the standard.
53010         * math/libm-test.inc (remainder_test): Add more tests.
53012         [BZ #15335, #15342]
53013         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53015         input NaN values or generate a qNaN by arithmetic operation.
53017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53018         unreachable code.
53020         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53021         definitions.
53023 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53025         [BZ #14478]
53026         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53027         underflowed result.
53028         * math/s_cexpf.c (__cexpf): Likewise.
53029         * math/s_cexpl.c (__cexpl): Likewise.
53030         * math/libm-test.inc (cexp_test): Add more tests.
53032 2013-04-03  Andreas Schwab  <schwab@suse.de>
53034         [BZ #15330]
53035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53036         order arrays from heap if bigger than alloca cutoff.
53038 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53040         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53041         (SNAN_TESTS_double): Refer to GCC PR56831.
53042         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53043         GCC PR56828.
53045 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53047         * Rules (bench): Move bench.out after the run is complete.
53049         * Rules (bench): Echo currently running benchmark.
53051         * benchtests/Makefile (bench): Add atan and slowatan.
53052         * benchtests/atan-inputs: New file.
53053         * benchtests/slowatan-inputs: New file.
53054         * benchtests/slowatan.c: New file.
53056         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53057         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53058         its value.
53060         [BZ #15305]
53061         * sysdeps/unix/sysv/linux/kernel-features.h
53062         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53063         __ASSUME_XFS_RESTRICTED_CHOWN.
53064         * sysdeps/unix/sysv/linux/pathconf.c
53065         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53066         Save and restore errno.
53068 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53070         [BZ #15327]
53071         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53072         arguments using __kernel_casinh.
53073         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53074         arguments using __kernel_casinhf.
53075         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53076         arguments using __kernel_casinhl.
53077         * math/libm-test.inc (cacosh_test): Add more tests.
53078         * sysdeps/i386/fpu/libm-test-ulps: Update.
53079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53081 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53083         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53086         * bench/Makefile (bench): Add sin and slowsin.
53087         * benchtests/sin-inputs: New file.
53088         * benchtests/slowsin-inputs: New file.
53089         * benchtests/slowsin.c: New file.
53091         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53092         (bench): Add slowexp and slowpow.
53093         (exp-ITER): Increase iterations.
53094         (pow-ITER): Likewise.
53095         * benchtests/exp-inputs: Change input.
53096         * benchtests/pow-inputs: Likewise.
53097         * benchtests/slowexp-inputs: New file.
53098         * benchtests/slowexp.c: New file.
53099         * benchtests/slowpow-inputs: New file.
53100         * benchtests/slowpow.c: New file.
53102 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53104         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53105         instructions.
53106         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53107         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53108         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53109         * benchtests/Makefile: Add rint benchtest.
53110         * benchtests/rint-inputs: Input for rint benchtest.
53112 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53114         * Versions.def (libm): Add GLIBC_2.18.
53115         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53116         hidden libm prototypes.
53117         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53118         * math/Makefile (libm-calls): Add s_issignaling.
53119         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53120         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53121         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53122         declaration.
53123         * math/math.h [__USE_GNU] (issignaling): New macro.
53124         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53125         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53126         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53127         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53128         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53129         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53130         * manual/arith.texi (issignaling): New section.
53131         * manual/libm-err-tab.pl (@all_functions): Update comment.
53132         * math/gen-libm-test.pl (parse_args): Apply special handling for
53133         issignaling.
53134         * math/libm-test.inc (print_float, issignaling_test): New
53135         functions.
53136         (check_float_internal): Add issignaling checks.
53137         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53138         default definition.
53139         * sysdeps/powerpc/math-tests.h: New file.
53140         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53141         tests.
53142         * math/test-snan.c (TEST_FUNC): Likewise.
53144 2013-03-30  David S. Miller  <davem@davemloft.net>
53146         * po/de.po: Update from translation team.
53148 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53150         [BZ #10357]
53151         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53152         imaginary part less than 1.0 and real part less than 0.5
53153         specially.
53154         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53155         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53156         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53157         (cacos_test): Add more tests.
53158         (casin_test): Likewise.
53159         (casinh_test): Likewise.
53160         * sysdeps/i386/fpu/libm-test-ulps: Update.
53161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53163 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53165         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53166         ONE with its value.
53168         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53169         (__pow_mp): Replace ONE and MONE with their values.
53170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53172         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53173         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53174         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53175         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53177         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53179         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53180         (__pow_mp): Replace ZERO and MZERO with their values.
53181         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53182         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53183         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53185         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53186         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53187         (__sqr): Likewise.
53189         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53191         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53193 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53195         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53196         Declare with __attribute__ ((weak)).
53197         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53198         Call __call_tls_dtors only if it's not NULL.
53200 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53202         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53203         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53204         magic __ehdr_start linker symbol if it's defined.
53205         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53206         them up here if it was already done.
53208         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53209         (_dl_aux_init): Use const in cast when setting it.
53210         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53211         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53212         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53214         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53215         Declare them here.
53216         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53217         * csu/libc-tls.c: Nor here.
53218         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53220         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53221         (__libc_message): Never call vsyslog.
53223 2013-03-28  Alan Modra  <amodra@gmail.com>
53225         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53226         Define as empty.
53227         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53228         Likewise.
53230 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53232         [BZ #15214]
53233         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53234         underflow.
53235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53237 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53239         [BZ #15304]
53240         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53241         Don't add gid passed as argument.
53243         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53245 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53247         [BZ #15307]
53248         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53249         imaginary part between 1.0 and 1.5 and real part less than 0.5
53250         specially.
53251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53253         * math/libm-test.inc (cacos_test): Add more tests.
53254         (casin_test): Likewise.
53255         (casinh_test): Likewise.
53256         * sysdeps/i386/fpu/libm-test-ulps: Update.
53257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53259 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53261         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53262         constants.
53263         (norm): Likewise.
53264         (denorm): Likewise.
53265         (__dbl_mp): Likewise.
53266         (add_magnitudes): Likewise.
53267         (sub_magnitudes): Likewise.
53268         (__add): Likewise.
53269         (__sub): Likewise.
53270         (__mul): Likewise.
53271         (__sqr): Likewise.
53272         (__inv): Likewise.
53273         (__dvd): Likewise.
53275         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53276         commented code.
53277         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53278         (__dubcos): Likewise.
53279         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53280         (__ieee754_acos): Likewise.
53281         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53282         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53283         (__exp1): Likewise.
53284         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53286         (log1): Likewise.
53287         (my_log2): Likewise.
53288         (checkint): Likewise.
53289         * sysdeps/ieee754/dbl-64/e_remainder.c
53290         (__ieee754_remainder): Likewise.
53291         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53293         (bsloww): Likewise.
53294         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53296         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53297         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53298         MANTISSA_STORE_T to store computations on mantissa.  Use
53299         macros for rounding and division.
53300         (denorm): Likewise.
53301         (__dbl_mp): Likewise.
53302         (add_magnitudes): Likewise.
53303         (sub_magnitudes): Likewise.
53304         (__mul): Likewise.
53305         (__sqr): Likewise.
53306         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53307         powers of two in terms of TWOPOW macro.
53308         (mp_no): Make type of mantissa as MANTISSA_T.
53309         [!RADIXI]: Define RADIXI.
53310         [!TWO52]: Define TWO52.
53311         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53313 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53315         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53316         llroundl symbol when building for PPC32.
53318 2013-03-24  Mark H Weaver  <mhw@netris.org>
53320         * manual/arith.texi (Normalization Functions): Fix prototypes for
53321         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53323 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53325         [BZ #13889]
53326         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53327         high value to check if expl overflow.
53328         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53329         to check for underflow and overflow.
53330         * math/libm-test.inc: Add exp test.
53332 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53334         [BZ #11120]
53335         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53336         with NOT_IN_libc.
53338 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53340         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53341         symbol.
53343 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53345         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53346         wrap blocks consisting of several statements.
53348         * sysdeps/generic/math-tests.h: New file.
53349         * sysdeps/i386/fpu/math-tests.h: Likewise.
53350         * math/test-snan.c: Include it.
53351         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53353 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53355         [BZ #15285]
53356         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53357         (__ieee754_j0l): Do not improve calculations using cos of twice
53358         input for inputs above LDBL_MAX / 2.0L.
53359         (__ieee754_y0l): Likewise.
53360         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53361         (__ieee754_j1l): Do not improve calculations using cos of twice
53362         input for inputs above LDBL_MAX / 2.0L.
53363         (__ieee754_y1l): Likewise.
53364         * math/libm-test.inc (j0_test): Add another test.
53365         (j1_test): Likewise.
53366         (y0_test): Likewise.
53367         (y1_test): Likewise.
53368         * sysdeps/i386/fpu/libm-test-ulps: Update.
53370 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53372         * Rules ($(objpfx)bench-%.c): Include code from a C source
53373         file.
53375 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53377         [BZ #15287]
53378         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53379         imaginary part 1.0 and real part less than 0.5 specially.
53380         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53381         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53382         * math/libm-test.inc (cacos_test): Add more tests.
53383         (casin_test): Likewise.
53384         (casinh_test): Likewise.
53385         * sysdeps/i386/fpu/libm-test-ulps: Update.
53386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53388 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53390         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53391         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53393 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53395         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53396         * config.make.in (config-cflags-sse4): Remove variable.
53397         (config-cflags-avx): Likewise.
53398         (config-cflags-sse2avx): Likewise.
53399         (config-cflags-novzeroupper): Likewise.
53400         (config-asflags-i686): Likewise.
53401         (have-mfma4): Likewise.
53402         (have-as-vis3): Likewise.
53403         (MIG): Likewise.
53404         * configure.in (MIG): Do not AC_SUBST.
53405         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53406         (libc_cv_cc_sse4): Do not AC_SUBST.
53407         (libc_cv_cc_avx): Likewise.
53408         (libc_cv_cc_sse2avx): Likewise.
53409         (libc_cv_cc_novzeroupper): Likewise.
53410         (libc_cv_cc_fma4): Likewise.
53411         (libc_cv_as_i686): Likewise.
53412         (libc_cv_sparc_as_vis3): Likewise.
53413         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53414         LIBC_CONFIG_VAR.
53415         (config-asflags-i686): Likewise.
53416         (config-cflags-avx): Likewise.
53417         (config-cflags-sse2avx): Likewise.
53418         (have-mfma4): Likewise.
53419         (config-cflags-novzeroupper): Likewise.
53420         * sysdeps/mach/configure.in (MIG): Likewise.
53421         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53422         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53423         LIBC_CONFIG_VAR.
53424         (config-cflags-avx): Likewise.
53425         (config-cflags-sse2avx): Likewise.
53426         (have-mfma4): Likewise.
53427         (config-cflags-novzeroupper): Likewise.
53428         * configure: Regenerated.
53429         * sysdeps/i386/configure: Likewise.
53430         * sysdeps/mach/configure: Likewise.
53431         * sysdeps/sparc/configure: Likewise.
53432         * sysdeps/x86_64/configure: Likewise.
53434 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53436         [BZ #14812]
53437         * locale/programs/localedef.c (options): Put N_ translation marker
53438         on argument names, not just descriptions.
53440 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53442         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53444 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53446         [BZ #14176]
53447         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53449 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53451         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53452         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53453         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53454         [!BEFORE_ABORT] (before_abort): New function.
53455         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53456         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53457         (writev_for_fatal): New function.
53458         (WRITEV_FOR_FATAL): New macro; call that.
53459         (backtrace_and_maps): New function.
53460         (BEFORE_ABORT): New macro; call that.
53461         (struct str_list): Type removed.
53462         (__libc_message, __libc_fatal): Functions removed.
53463         Include <sysdeps/posix/libc_fatal.c> instead.
53465 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53467         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53468         constants.
53469         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53470         double constants.
53472 2013-03-19  Andreas Schwab  <schwab@suse.de>
53474         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53475         * sysdeps/gnu/configure: Regenerate.
53477         * configure.in: Substitute libc_cv_rtlddir.
53478         * configure: Regenerate.
53479         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53480         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53481         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53482         * elf/Makefile (install-others, CFLAGS-interp.c)
53483         (ldso_install, common-ldd-rewrite): Likewise.
53484         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53485         $(inst_slibdir)/$(rtld-installed-name).
53486         * scripts/rellns-sh: Add -p option.
53487         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53488         for source.
53490 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53492         * manual/nptl.texi: Renamed to ...
53493         * manual/threads.texi: ... this.
53494         * manual/Makefile (chapters): Update.
53496 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53498         [BZ #14812]
53499         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53500         on argument names, not just descriptions.
53501         * malloc/memusagestat.c (options): Likewise.
53502         * nss/getent.c (options): Likewise.
53504 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53506         [BZ #14812]
53507         * iconv/iconv_prog.c (options): Put N_ translation marker
53508         on argument names, not just descriptions.
53509         * iconv/iconvconfig.c (options): Likewise.
53511 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53513         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53514         implementation which is faster on all x86_64 architectures.
53515         Tested on AMD, Intel Nehalem, SNB, IVB.
53516         * sysdeps/x86_64/strnlen.S: Likewise.
53518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53519         Remove all multiarch strlen and strnlen versions.
53520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53521         Remove strlen and strnlen related parts.
53523         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53524         Inline strlen part.
53525         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53527         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53528         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53529         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53530         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53531         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53532         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53534 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53536         * manual/memory.texi (Malloc Tunable Parameters):
53537         Sort parameters alphabetically. Add comments for missing entries.
53539 2013-03-17  David S. Miller  <davem@davemloft.net>
53541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53543 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53545         [BZ #15283]
53546         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53547         for arguments at most half maximum finite value.
53548         * math/libm-test.inc (j0_test): Add more tests.
53549         (j1_test): Likewise.
53550         (y0_test): Likewise.
53551         (y1_test): Likewise.
53552         * sysdeps/i386/fpu/libm-test-ulps: Update.
53553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53555         [BZ #14155]
53556         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53557         1 / x and functions P and Q for arguments above 0x1p256L.
53558         (__ieee754_y0l): Likewise.
53559         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53560         (__ieee754_y1l): Likewise.
53561         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53562         (j1_test): Likewise.
53563         (y0_test): Likewise.
53564         (y1_test): Likewise.
53566 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53568         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53569         variable.
53571 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53573         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53574         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53575         zero since it's initialized to EXEC_PAGESIZE.
53577         * sysdeps/unix/sysv/linux/ldsodefs.h
53578         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53579         * sysdeps/generic/ldsodefs.h: ... here.
53581 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53583         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53585         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53586         math/test-snan.c.
53587         * math/test-snan.c: Renamed from
53588         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53589         * math/Makefile (tests): Add test-snan.
53590         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53591         test-powerpc-snan.
53593         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53594         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53595         functions.
53596         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53597         __builtin_nan family of functions.
53598         * math/libm-test.inc (initialize): Initialize qnan_value with
53599         __builtin_nan family of functions.
53600         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53601         Remove variables.
53602         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53603         Remove functions.
53604         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53605         storage class.  Initialize qNaN_var and sNaN_var with
53606         __builtin_nan and __builtin_nans families of functions,
53607         respectively.
53609         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53610         (sqrt_test): Remove duplicate test with qNaN input.
53611         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53612         (round_test, signbit_test, significand_test): Note missing +/-Inf
53613         as well as qNaN tests.
53615         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53616         qNaN_var.  Fix a few strings, too.
53617         * math/libm-test.inc (nan_value): Rename to qnan_value.
53618         * math/gen-libm-test.pl (%beautify): Adjust to that.
53619         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53620         * math/test-misc.c (main): Likewise.
53621         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53622         to __qnan_bytes, and __qnan_union, respectively.
53623         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53624         Likewise.
53625         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53626         and lqnanval, respectively.
53627         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53628         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53629         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53630         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53632         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53633         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53634         doubles.
53636         * math/test-misc.c (main): Fix copy'n'pastos.
53637         * misc/tst-efgcvt.c (special): Likewise.
53639         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53640         Remove declarations.
53642 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53644         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53645         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53646         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53647         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53649 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53651         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53652         macro to return vdso values correctly in IFUNC implementations.
53653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53654         Optimization by using IFUNC.
53656 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53657             Richard Henderson  <rth@redhat.com>
53658             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53660         * Makefile.in (bench): New target.
53661         * NEWS: Mention the benchmark framework.
53662         * Rules (bench): Likewise.
53663         (binaries-bench): Generate binaries for functions to
53664         benchmark.
53665         * benchtests/Makefile: New makefile for benchmark tests.
53666         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53667         programs.
53668         * benchtests/exp-inputs: New input file for EXP function.
53669         * benchtests/pow-inputs: New input file for POW function.
53670         * scripts/bench.pl: New script to generate source files for
53671         benchmark programs.
53673 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53675         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53676         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53677         computations on mantissa.  Use macros for rounding and
53678         division.
53679         (denorm): Likewise.
53680         (__dbl_mp): Likewise.
53681         (add_magnitudes): Likewise.
53682         (sub_magnitudes): Likewise.
53683         (__mul): Likewise.
53684         (__sqr): Likewise.
53685         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53686         powers of two in terms of TWOPOW macro.
53687         (mp_no): Make type of mantissa as MANTISSA_T.
53688         [!RADIXI]: Define RADIXI.
53689         [!TWO52]: Define TWO52.
53690         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53692         * manual/nptl.texi (cindex): Modify threads to pthreads.
53694 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53696         * sysdeps/x86_64/preconfigure: Regenerated.
53698 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53700         [BZ #14155]
53701         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53702         0x1p28 and above.
53703         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53704         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53705         0x1p28 and above.
53706         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53707         * math/libm-test.inc (j0_test): Do not allow one spurious
53708         underflow exception.
53709         (y1_test): Likewise.
53711 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53713         * manual/Makefile (chapters): Add nptl.
53714         * manual/debug.texi (Debugging Support): Add link to Threads
53715         chapter.
53716         * manual/nptl.texi: New file.
53718         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53720 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53722         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53723         for non-NULL pointer before the memory validity test. Pointed
53724         out by Holger Brunck <holger.brunck@keymile.com>.
53726 2013-03-13  Andreas Schwab  <schwab@suse.de>
53728         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53729         instead of .os.
53731 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53733         * timezone/zic.c: Update from tzcode 2013b.
53735 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53737         * manual/install.texi (Configuring and compiling):
53738         Mention i686 and i586.
53739         * INSTALL: Regenerate.
53741 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53743         * sysdeps/init_array/elf-init.c: New file.
53744         * csu/elf-init.c
53745         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53746         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53748         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53749         __gmon_start__ as global, but as static with a .preinit_array pointer.
53750         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53751         * sysdeps/init_array/crti.S: New file, empty except for comments.
53752         * sysdeps/init_array/crtn.S: Likewise.
53754 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53756         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53757         definining bcopy.
53758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53759         Remove Prefer_SSE_for_memop.
53760         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53761         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53762         HAS_PREFER_SSE_FOR_MEMOP.
53763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53764         memset-x86-64.
53765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53766         Remove bzero, memset ifunc support.
53767         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53768         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53769         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53770         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53772 2013-03-11  Andreas Schwab  <schwab@suse.de>
53774         [BZ #15234]
53775         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53776         by SHLIB_COMPAT.
53777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53778         (GLIBC_2.16): Remove pthread_atfork.
53780 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53782         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53783         (ptestcases.h): Likewise.
53785 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53787         * Makeconfig ($(common-objpfx)config.status): Depend on
53788         sysdeps/*/preconfigure{,.in} too.
53790 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53792         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53793         (__free_hook): Use void * instead of __malloc_ptr_t.
53794         (__malloc_hook): Likewise.
53795         (__realloc_hook): Likewise.
53796         (__memalign_hook): Likewise.
53797         (__after_morecore_hook): Likewise.
53798         * malloc/arena.c (save_malloc_hook): Likewise.
53799         (save_free_hook): Likewise.
53800         * malloc/hooks.c (malloc_hook_ini): Likewise.
53801         (realloc_hook_ini): Likewise.
53802         (memalign_hook_ini): Likewise.
53803         * malloc/malloc.c (malloc_hook_ini): Likewise.
53804         (realloc_hook_ini): Likewise.
53805         (memalign_hook_ini): Likewise.
53806         (__free_hook): Likewise.
53807         (__malloc_hook): Likewise.
53808         (__realloc_hook): Likewise.
53809         (__memalign_hook): Likewise.
53810         (__libc_malloc): Likewise.
53811         (__libc_free): Likewise.
53812         (__libc_realloc): Likewise.
53813         (__libc_memalign): Likewise.
53814         (__libc_valloc): Likewise.
53815         (__libc_pvalloc): Likewise.
53816         (__libc_calloc): Likewise.
53817         (__posix_memalign): Likewise.
53818         * malloc/morecore.c (__sbrk): Likewise.
53819         (__default_morecore): Likewise.
53821         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53823         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53824         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53825         __malloc_ptrdiff_t.
53827         * malloc/malloc.h (__malloc_size_t): Remove macro.
53828         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53829         __malloc_size_t.
53830         (old_memalign_hook): Likewise.
53831         (old_realloc_hook): Likewise.
53832         (struct hdr): Likewise.
53833         (flood): Likewise.
53834         (mallochook): Likewise.
53835         (memalignhook): Likewise.
53836         (reallochook): Likewise.
53837         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53838         (tr_old_realloc_hook): Likewise.
53839         (tr_old_memalign_hook): Likewise.
53840         (tr_mallochook): Likewise.
53841         (tr_reallochook): Likewise.
53842         (tr_memalignhook): Likewise.
53844 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53847         default_ldbl_pack and using as default implementation.
53848         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53849         implementation.
53850         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53851         redundant definition.
53852         (ldbl_insert_mantissa): Likewise.
53853         (ldbl_canonicalize): Likewise.
53854         (ldbl_nearbyint): Likewise.
53855         (ldbl_pack): Rename to ldbl_pack_ppc.
53856         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53857         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53858         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53860 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53863         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53864         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53865         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53867         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53868         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53869         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53871 2013-03-07  Andreas Jaeger  <aj@suse.de>
53873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53874         bits/mman-linux.h.
53876 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53878         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53879         Include mpa.h and declare __MPEXP.
53880         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53881         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53882         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53883         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53884         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53885         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53886         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53888         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53889         (__slowpow): Use long double EXPL and LOGL functions to
53890         compute POW.
53891         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53892         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53893         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53894         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53895         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53896         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53899         intermediate variable to calculate exponent.
53900         (__sqr): Likewise.
53901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53902         Likewise.
53903         (__sqr): Likewise.
53905         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53906         [!NO__SQR]: Define __sqr.
53907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53908         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53909         sysdeps/ieee754/dbl-64/mpa.c.
53910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53912         [BZ #12723]
53913         * posix/Makefile (tests): Add tst-pathconf.
53914         * posix/tst-pathconf.c: New test case.
53915         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53916         _PC_PIPE_BUF.
53917         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53919 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53921         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53923 2013-03-06  Andreas Jaeger  <aj@suse.de>
53925         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53926         definition via __MAP_ANONYMOUS.
53928         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53929         it's not part of Linux headers.
53931         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53932         (MAP_HUGE_MASK): Define.
53934         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53935         Define.
53936         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53937         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53938         Define.
53939         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53940         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53941         Define.
53942         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53943         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53944         Define.
53945         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53947         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53948         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53949         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53950         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53951         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53952         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53954         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53955         Handle f2fs.
53957         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53958         Handle f2fs and efivarfs.
53960         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53961         f2fs.
53963         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53964         (EFIVARFS_MAGIC): Add.
53965         (F2FS_LINK_MAX): Add.
53967 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53969         * stdio-common/vfprintf.c: Replace __builtin_expect with
53970         __glibc_unlikely.
53972 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53974         [BZ #13550]
53975         * sysdeps/generic/bp-sym.h: Remove file.
53976         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53977         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53978         <bp-sym.h> and <bp-asm.h>.
53979         (__longjmp): Don't use BP_SYM.
53980         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53981         and <bp-asm.h>.
53982         (memcpy): Don't use BP_SYM.
53983         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53984         <bp-sym.h> and <bp-asm.h>.
53985         (memcpy): Don't use BP_SYM.
53986         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53987         <bp-asm.h>.
53988         (memcpy): Don't use BP_SYM.
53989         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53990         <bp-asm.h>.
53991         (memset): Don't use BP_SYM.
53992         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53993         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53994         (__bzero): Don't use BP_SYM.
53995         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53996         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53997         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53998         <bp-sym.h> and <bp-asm.h>.
53999         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54000         pointers.
54001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54002         <bp-sym.h> and <bp-asm.h>.
54003         (memcpy): Don't use BP_SYM.
54004         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54005         <bp-sym.h> and <bp-asm.h>.
54006         (memset): Don't use BP_SYM.
54007         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54008         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54009         (__bzero): Don't use BP_SYM.
54010         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54011         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54012         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54013         <bp-sym.h> and <bp-asm.h>.
54014         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54015         pointers.
54016         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54017         <bp-sym.h> and <bp-asm.h>.
54018         (memcpy): Don't use BP_SYM.
54019         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54020         <bp-sym.h> and <bp-asm.h>.
54021         (memset): Don't use BP_SYM.
54022         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54023         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54024         (__bzero): Don't use BP_SYM.
54025         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54026         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54027         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54028         <bp-sym.h> and <bp-asm.h>.
54029         (__memchr): Don't use BP_SYM.
54030         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54031         <bp-sym.h> and <bp-asm.h>.
54032         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54033         pointers.
54034         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54035         <bp-sym.h> and <bp-asm.h>.
54036         (memcpy): Don't use BP_SYM.
54037         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54038         <bp-sym.h> and <bp-asm.h>.
54039         (__mempcpy): Don't use BP_SYM.
54040         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54041         <bp-sym.h> and <bp-asm.h>.
54042         (__memrchr): Don't use BP_SYM.
54043         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54044         <bp-sym.h> and <bp-asm.h>.
54045         (memset): Don't use BP_SYM.
54046         (__bzero): Likewise.
54047         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54048         <bp-sym.h> and <bp-asm.h>.
54049         (__rawmemchr): Don't use BP_SYM.
54050         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54051         <bp-sym.h> and <bp-asm.h>.
54052         (__STRCMP): Don't use BP_SYM.
54053         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54054         <bp-sym.h> and <bp-asm.h>.
54055         (strchr): Don't use BP_SYM.
54056         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54057         <bp-sym.h> and <bp-asm.h>.
54058         (__strchrnul): Don't use BP_SYM.
54059         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54060         <bp-sym.h> and <bp-asm.h>.
54061         (strlen): Don't use BP_SYM.
54062         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54063         <bp-sym.h> and <bp-asm.h>.
54064         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54065         pointers.
54066         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54067         <bp-sym.h> and <bp-asm.h>.
54068         (__strnlen): Don't use BP_SYM.
54069         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54070         <bp-sym.h> and <bp-asm.h>.
54071         (__GI__setjmp): Don't use BP_SYM.
54072         (_setjmp): Likewise.
54073         (__sigsetjmp): Likewise.
54074         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54075         (L(start_addresses)): Don't use BP_SYM.
54076         (_start): Likewise.
54077         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54078         <bp-asm.h>.
54079         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54080         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54081         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54082         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54083         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54084         <bp-asm.h>.
54085         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54086         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54087         about bounded pointers.
54088         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54089         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54090         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54091         <bp-asm.h>.
54092         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54093         about bounded pointers.  Remove GKM FIXME comments.
54094         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54095         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54096         <bp-asm.h>.
54097         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54098         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54099         Remove GKM FIXME comments.
54100         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54101         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54102         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54103         <bp-asm.h>.
54104         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54105         about bounded pointers.  Remove GKM FIXME comment.
54106         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54107         and <bp-asm.h>.
54108         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54109         pointers.
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54111         <bp-sym.h> and <bp-asm.h>.
54112         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54114         <bp-sym.h> and <bp-asm.h>.
54115         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54116         comment.
54118 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54120         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54121         call free(NULL).
54123 2013-03-05  David S. Miller  <davem@davemloft.net>
54125         * po/es.po: Update from translation team.
54127 2013-03-05  Andreas Jaeger  <aj@suse.de>
54129         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54130         <bits/mman-linux.h>.
54131         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54132         is fine.
54133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54134         <bits/mman-linux.h> to end of file.
54135         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54136         is fine.
54137         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54138         <bits/mman-linux.h> to end of file.
54139         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54140         is fine.
54141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54142         <bits/mman-linux.h> to end of file.
54144         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54145         (MCL_CURRENT, MCL_FUTURE): Define here.
54147 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54149         [BZ #15232]
54150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54151         attribute_hidden.
54152         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54154 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54157         fourth parameter needed for rt_sigprocmask syscall.
54158         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54159         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54160         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54161         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54163         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54165 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54167         [BZ #13550]
54168         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54169         comment about bounded pointers.
54170         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54171         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54173 2013-03-04  Andreas Jaeger  <aj@suse.de>
54175         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54176         common definitions.
54178         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54179         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54180         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54182         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54185 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54187         [BZ #15055]
54188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54189         __ieee754_sqrl instead of __sqrl.
54191 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54193         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54194         * sysdeps/powerpc/fpu_control.h: ... here.
54195         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54196         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54197         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54198         * sysdeps/powerpc/bits/mathinline.h: ... here.
54200 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54202         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54203         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54204         to just [NEED_DL_SYSINFO_DSO].
54205         * elf/dl-support.c: Likewise.
54206         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54207         * elf/rtld.c (dl_main): Likewise.
54208         * elf/setup-vdso.h (setup_vdso): Likewise.
54209         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54210         * sysdeps/unix/sysv/linux/dl-sysdep.c
54211         (_dl_discover_osversion): Likewise.
54213 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54215         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54216         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54218 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54220         * NEWS: Mention libm performance improvements and non-x86 PI
54221         futex support.
54223         * csu/libc-start.c (__pthread_initialize_minimal): Change
54224         function arguments.
54225         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54227 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54229         [BZ #13550]
54230         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54231         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54232         <bp-sym.h> and <bp-asm.h>.
54233         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54234         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54235         and <bp-asm.h>.
54236         (memcpy): Don't use BP_SYM.
54237         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54238         <bp-asm.h>.
54239         (__mpn_add_n): Don't use BP_SYM.
54240         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54241         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54242         and <bp-asm.h>.
54243         (__mpn_addmul_1): Don't use BP_SYM.
54244         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54245         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54246         <bp-sym.h>.
54247         (_setjmp): Don't use BP_SYM.
54248         (__novmx_setjmp): Likewise.
54249         (__GI__setjmp): Likewise.
54250         (__vmx_setjmp): Likewise.
54251         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54252         <bp-sym.h>.
54253         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54254         (__bzero): Don't use BP_SYM.
54255         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54256         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54257         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54258         <bp-sym.h> and <bp-asm.h>.
54259         (memcpy): Don't use BP_SYM.
54260         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54261         <bp-sym.h> and <bp-asm.h>.
54262         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54263         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54264         <bp-sym.h> and <bp-asm.h>.
54265         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54266         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54267         <bp-asm.h>.
54268         (__mpn_lshift): Don't use BP_SYM.
54269         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54270         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54271         <bp-asm.h>.
54272         (memset): Don't use BP_SYM.
54273         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54274         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54275         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54276         <bp-asm.h>.
54277         (__mpn_mul_1): Don't use BP_SYM.
54278         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54280         <bp-sym.h> and <bp-asm.h>.
54281         (memcmp): Don't use BP_SYM.
54282         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54283         <bp-sym.h> and <bp-asm.h>.
54284         (memcpy): Don't use BP_SYM.
54285         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54286         <bp-sym.h> and <bp-asm.h>.
54287         (memset): Don't use BP_SYM.
54288         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54289         <bp-sym.h> and <bp-asm.h>.
54290         (strncmp): Don't use BP_SYM.
54291         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54292         <bp-sym.h> and <bp-asm.h>.
54293         (memcpy): Don't use BP_SYM.
54294         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54295         <bp-sym.h> and <bp-asm.h>.
54296         (memset): Don't use BP_SYM.
54297         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54298         <bp-sym.h> and <bp-asm.h>.
54299         (__memchr): Don't use BP_SYM.
54300         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54301         <bp-sym.h> and <bp-asm.h>.
54302         (memcmp): Don't use BP_SYM.
54303         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54304         <bp-sym.h> and <bp-asm.h>.
54305         (memcpy): Don't use BP_SYM.
54306         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54307         <bp-sym.h> and <bp-asm.h>.
54308         (__mempcpy): Don't use BP_SYM.
54309         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54310         <bp-sym.h> and <bp-asm.h>.
54311         (__memrchr): Don't use BP_SYM.
54312         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54313         <bp-sym.h> and <bp-asm.h>.
54314         (memset): Don't use BP_SYM.
54315         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54316         <bp-sym.h> and <bp-asm.h>.
54317         (__rawmemchr): Don't use BP_SYM.
54318         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54319         <bp-sym.h> and <bp-asm.h>.
54320         (__STRCMP): Don't use BP_SYM.
54321         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54322         <bp-sym.h> and <bp-asm.h>.
54323         (strchr): Don't use BP_SYM.
54324         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54325         <bp-sym.h> and <bp-asm.h>.
54326         (__strchrnul): Don't use BP_SYM.
54327         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54328         <bp-sym.h> and <bp-asm.h>.
54329         (strlen): Don't use BP_SYM.
54330         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54331         <bp-sym.h> and <bp-asm.h>.
54332         (strncmp): Don't use BP_SYM.
54333         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54334         <bp-sym.h> and <bp-asm.h>.
54335         (__strnlen): Don't use BP_SYM.
54336         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54337         <bp-asm.h>.
54338         (__mpn_rshift): Don't use BP_SYM.
54339         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54340         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54341         <bp-sym.h> and <bp-asm.h>.
54342         (__sigsetjmp): Don't use BP_SYM.
54343         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54344         (L(start_addresses)): Don't use BP_SYM.
54345         (_start): Likewise.
54346         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54347         <bp-asm.h>.
54348         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54349         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54350         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54351         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54352         <bp-asm.h>.
54353         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54354         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54355         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54356         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54357         <bp-asm.h>.
54358         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54359         comments.
54360         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54361         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54362         <bp-asm.h>.
54363         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54364         FIXME comments.
54365         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54366         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54367         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54368         <bp-asm.h>.
54369         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54370         comment.
54371         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54372         and <bp-asm.h>.
54373         (strncmp): Don't use BP_SYM,
54374         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54375         <bp-asm.h>.
54376         (__mpn_sub_n): Don't use BP_SYM.
54377         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54378         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54379         and <bp-asm.h>.
54380         (__mpn_submul_1): Don't use BP_SYM.
54381         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54383         <bp-sym.h> and <bp-asm.h>.
54384         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54386         <bp-sym.h> and <bp-asm.h>.
54387         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54388         comment.
54390 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54393         Use ZK to minimize writes to Z.
54394         (sub_magnitudes): Simplify code a bit.
54395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54396         Use ZK to minimize writes to Z.
54397         (sub_magnitudes): Simplify code a bit.
54399 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54401         * csu/gmon-start.c: Add special exception to license text.
54403 2013-02-27  Richard Henderson  <rth@redhat.com>
54405         * scripts/config.guess: Update from config.git.
54406         * scripts/config.sub: Likewise.
54408 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54410         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54412         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54414         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54416         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54418         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54420 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54422         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54423         [$(build-shared = yes].
54425 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54427         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54428         (__mul): Reduce iterations for calculating mantissa.
54430         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54431         MPTWO.
54432         (__mpranred): Likewise.
54434         [BZ #15160]
54435         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54436         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54438 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54440         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54441         Define __attribute__.
54443 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54445         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54446         unused.
54447         * posix/regex_internal.h (__attribute): Remove.
54448         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54449         (re_string_context_at): Likewise.
54450         (bitset_not): Use __attribute__ and mark function as possibly
54451         unused.
54452         (bitset_merge): Likewise.
54453         (bitset_mask): Likewise.
54454         (re_string_char_size_at): Likewise.
54455         (re_string_wchar_at): Likewise.
54456         (re_string_elem_size_at): Likewise.
54458 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54460         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54461         code.
54462         (cc32): Likewise.
54464         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54465         (__acr): Likewise.
54466         (__cpy): Likewise.
54467         (norm): Likewise.
54468         (denorm): Likewise.
54469         (__dbl_mp): Likewise.
54470         (add_magnitudes): Likewise.
54471         (sub_magnitudes): Likewise.
54472         (__mul): Likewise.
54473         (__inv): Likewise.
54475         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54476         style.
54478         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54479         style.
54481         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54482         code.
54484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54485         up changes with default code.
54486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54487         Likewise.
54489 2013-02-24  Allan McRae  <allan@archlinux.org>
54491         * manual/socket.texi (The Internet Namespace): Order menu items
54492         to match that in the file.
54494         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54495         node listing of the info page menu.
54497 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54499         [BZ #13550]
54500         * sysdeps/i386/bp-asm.h: Remove file.
54501         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54502         (PARMS): Do not use macros from bp-asm.h.
54503         (S1): Likewise.
54504         (S2): Likewise.
54505         (SIZE): Likewise.
54506         (__mpn_add_n): Do not use BP_SYM
54507         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54508         "bp-asm.h".
54509         (PARMS): Do not use macros from bp-asm.h.
54510         (S1): Likewise.
54511         (SIZE): Likewise.
54512         (__mpn_addmul_1): Do not use BP_SYM
54513         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54514         "bp-asm.h".
54515         (PARMS): Do not use macros from bp-asm.h.
54516         (SIGMSK): Likewise.
54517         (_setjmp): Likewise.  Do not use BP_SYM.
54518         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54519         "bp-asm.h".
54520         (PARMS): Do not use macros from bp-asm.h.
54521         (SIGMSK): Likewise.
54522         (setjmp): Likewise.  Do not use BP_SYM.
54523         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54524         "bp-asm.h".
54525         (PARMS): Do not use macros from bp-asm.h.
54526         (__frexp): Do not use BP_SYM.
54527         (frexp): Likewise.
54528         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54529         "bp-asm.h".
54530         (PARMS): Do not use macros from bp-asm.h.
54531         (__frexpf): Do not use BP_SYM.
54532         (frexpf): Likewise.
54533         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54534         "bp-asm.h".
54535         (PARMS): Do not use macros from bp-asm.h.
54536         (__frexpl): Do not use BP_SYM.
54537         (frexpl): Likewise.
54538         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54539         "bp-asm.h".
54540         (PARMS): Do not use macros from bp-asm.h.
54541         (__remquo): Do not use BP_SYM.
54542         (remquo): Likewise.
54543         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54544         "bp-asm.h".
54545         (PARMS): Do not use macros from bp-asm.h.
54546         (__remquof): Do not use BP_SYM.
54547         (remquof): Likewise.
54548         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54549         "bp-asm.h".
54550         (PARMS): Do not use macros from bp-asm.h.
54551         (__remquol): Do not use BP_SYM.
54552         (remquol): Likewise.
54553         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54554         "bp-asm.h".
54555         (PARMS): Do not use macros from bp-asm.h.
54556         (DEST): Likewise.
54557         (SRC): Likewise.
54558         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54559         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54560         "bp-asm.h".
54561         (PARMS): Do not use macros from bp-asm.h.
54562         (strlen): Do not use BP_SYM.
54563         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54564         "bp-asm.h".
54565         (PARMS): Do not use macros from bp-asm.h.
54566         (S1): Likewise.
54567         (S2): Likewise.
54568         (SIZE): Likewise.
54569         (__mpn_add_n): Do not use BP_SYM.
54570         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54571         "bp-asm.h".
54572         (PARMS): Do not use macros from bp-asm.h.
54573         (S1): Likewise.
54574         (SIZE): Likewise.
54575         (__mpn_addmul_1): Do not use BP_SYM.
54576         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54577         weak_alias.
54578         (bzero): Likewise.
54579         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54580         "bp-asm.h".
54581         (PARMS): Do not use macros from bp-asm.h.
54582         (S): Likewise.
54583         (SIZE): Likewise.
54584         (__mpn_lshift): Do not use BP_SYM.
54585         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54586         "bp-asm.h".
54587         (PARMS): Do not use macros from bp-asm.h.
54588         (DEST): Likewise.
54589         (SRC): Likewise.
54590         (LEN): Likewise.
54591         (memcpy): Likewise.  Do not use BP_SYM.
54592         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54593         libc_hidden_def and weak_alias.
54594         (mempcpy): Do not use BP_SYM in weak_alias.
54595         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54596         "bp-asm.h".
54597         (PARMS): Do not use macros from bp-asm.h.
54598         (DEST): Likewise.
54599         (LEN): Likewise.
54600         [!BZERO_P] (CHR): Likewise.
54601         (memset): Likewise.  Do not use BP_SYM.
54602         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54603         "bp-asm.h".
54604         (PARMS): Do not use macros from bp-asm.h.
54605         (S1): Likewise.
54606         (SIZE): Likewise.
54607         (__mpn_mul_1): Do not use BP_SYM.
54608         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54609         "bp-asm.h".
54610         (PARMS): Do not use macros from bp-asm.h.
54611         (S): Likewise.
54612         (SIZE): Likewise.
54613         (__mpn_rshift): Do not use BP_SYM.
54614         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54615         "bp-asm.h".
54616         (PARMS): Do not use macros from bp-asm.h.
54617         (STR): Likewise.
54618         (CHR): Likewise.
54619         (strchr): Likewise.  Do not use BP_SYM.
54620         (index): Do not use BP_SYM in weak_alias.
54621         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54622         "bp-asm.h".
54623         (PARMS): Do not use macros from bp-asm.h.
54624         (DEST): Likewise.
54625         (SRC): Likewise.
54626         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54627         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54628         "bp-asm.h".
54629         (PARMS): Do not use macros from bp-asm.h.
54630         (strlen): Do not use BP_SYM.
54631         * sysdeps/i386/i586/sub_n.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         (S2): Likewise.
54636         (SIZE): Likewise.
54637         (__mpn_sub_n): Do not use BP_SYM.
54638         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54639         "bp-asm.h".
54640         (PARMS): Do not use macros from bp-asm.h.
54641         (S1): Likewise.
54642         (SIZE): Likewise.
54643         (__mpn_submul_1): Do not use BP_SYM.
54644         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54645         "bp-asm.h".
54646         (PARMS): Do not use macros from bp-asm.h.
54647         (S1): Likewise.
54648         (S2): Likewise.
54649         (SIZE): Likewise.
54650         (__mpn_add_n): Do not use BP_SYM.
54651         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54652         weak_alias.
54653         (bzero): Likewise.
54654         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54655         "bp-asm.h".
54656         (PARMS): Do not use macros from bp-asm.h.
54657         (BLK2): Likewise.
54658         (LEN): Likewise.
54659         (memcmp): Do not use BP_SYM.
54660         (bcmp): Do not use BP_SYM in weak_alias.
54661         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54662         "bp-asm.h".
54663         (PARMS): Do not use macros from bp-asm.h.
54664         (DEST): Likewise.
54665         (SRC): Likewise.
54666         (LEN): Likewise.
54667         (memcpy): Likewise.  Do not use BP_SYM.
54668         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54669         "bp-asm.h".
54670         (PARMS): Do not use macros from bp-asm.h.
54671         (DEST): Likewise.
54672         (SRC): Likewise.
54673         (LEN): Likewise.
54674         (memmove): Likewise.  Do not use BP_SYM.
54675         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54676         "bp-asm.h".
54677         (PARMS): Do not use macros from bp-asm.h.
54678         (DEST): Likewise.
54679         (SRC): Likewise.
54680         (LEN): Likewise.
54681         (__mempcpy): Likewise.  Do not use BP_SYM.
54682         (mempcpy): Do not use BP_SYM in weak_alias.
54683         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54684         "bp-asm.h".
54685         (PARMS): Do not use macros from bp-asm.h.
54686         (DEST): Likewise.
54687         (LEN): Likewise.
54688         [!BZERO_P] (CHR): Likewise.
54689         (memset): Likewise.  Do not use BP_SYM.
54690         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54691         "bp-asm.h".
54692         (PARMS): Do not use macros from bp-asm.h.
54693         (STR2): Likewise.
54694         (strcmp): Do not use BP_SYM.
54695         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54696         "bp-asm.h".
54697         (PARMS): Do not use macros from bp-asm.h.
54698         (STR): Likewise.
54699         (DELIM): Likewise.
54700         [USE_AS_STRTOK_R] (SAVE): Likewise.
54701         (FUNCTION): Likewise.  Do not use BP_SYM.
54702         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54703         aliases.
54704         (strtok_r): Likewise.
54705         (__GI___strtok_r): Likewise.
54706         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54707         (PARMS): Do not use macros from bp-asm.h.
54708         (S): Likewise.
54709         (SIZE): Likewise.
54710         (__mpn_lshift): Do not use BP_SYM.
54711         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54712         (PARMS): Do not use macros from bp-asm.h.
54713         (STR): Likewise.
54714         (CHR): Likewise.
54715         (__memchr): Do not use BP_SYM.
54716         (memchr): Do not use BP_SYM in weak_alias.
54717         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54718         (PARMS): Do not use macros from bp-asm.h.
54719         (BLK2): Likewise.
54720         (LEN): Likewise.
54721         (memcmp): Do not use BP_SYM.
54722         (bcmp): Do not use BP_SYM in weak_alias.
54723         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54724         (PARMS): Do not use macros from bp-asm.h.
54725         (S1): Likewise.
54726         (SIZE): Likewise.
54727         (__mpn_mul_1): Do not use BP_SYM.
54728         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54729         "bp-asm.h".
54730         (PARMS): Do not use macros from bp-asm.h.
54731         (STR): Likewise.
54732         (CHR): Likewise.
54733         (__rawmemchr): Do not use BP_SYM.
54734         (rawmemchr): Do not use BP_SYM in weak_alias.
54735         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54736         (PARMS): Do not use macros from bp-asm.h.
54737         (S): Likewise.
54738         (SIZE): Likewise.
54739         (__mpn_rshift): Do not use BP_SYM.
54740         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54741         (PARMS): Do not use macros from bp-asm.h.
54742         (SIGMSK): Likewise.
54743         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54744         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54745         (_start): Do not use BP_SYM.
54746         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54747         (PARMS): Do not use macros from bp-asm.h.
54748         (DEST): Likewise.
54749         (SRC): Likewise.
54750         (__stpcpy): Likewise.  Do not use BP_SYM.
54751         (stpcpy): Do not use BP_SYM in weak_alias.
54752         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54753         "bp-asm.h".
54754         (PARMS): Do not use macros from bp-asm.h.
54755         (DEST): Likewise.
54756         (SRC): Likewise.
54757         (LEN): Likewise.
54758         (__stpncpy): Likewise.  Do not use BP_SYM.
54759         (stpncpy): Do not use BP_SYM in weak_alias.
54760         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54761         (PARMS): Do not use macros from bp-asm.h.
54762         (STR): Likewise.
54763         (CHR): Likewise.
54764         (strchr): Likewise.  Do not use BP_SYM.
54765         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54766         "bp-asm.h".
54767         (PARMS): Do not use macros from bp-asm.h.
54768         (STR): Likewise.
54769         (CHR): Likewise.
54770         (__strchrnul): Likewise.  Do not use BP_SYM.
54771         (strchrnul): Do not use BP_SYM in weak_alias.
54772         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54773         "bp-asm.h".
54774         (PARMS): Do not use macros from bp-asm.h.
54775         (STOP): Likewise.
54776         (strcspn): Do not use BP_SYM.
54777         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54778         "bp-asm.h".
54779         (PARMS): Do not use macros from bp-asm.h.
54780         (STR): Likewise.
54781         (STOP): Likewise.
54782         (strpbrk): Likewise.  Do not use BP_SYM.
54783         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54784         "bp-asm.h".
54785         (PARMS): Do not use macros from bp-asm.h.
54786         (STR): Likewise.
54787         (CHR): Likewise.
54788         (strrchr): Likewise.  Do not use BP_SYM.
54789         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54790         (PARMS): Do not use macros from bp-asm.h.
54791         (SKIP): Likewise.
54792         (strspn): Do not use BP_SYM.
54793         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54794         (PARMS): Do not use macros from bp-asm.h.
54795         (STR): Likewise.
54796         (DELIM): Likewise.
54797         (SAVE): Likewise.
54798         (FUNCTION): Likewise.  Do not use BP_SYM.
54799         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54800         aliases.
54801         (strtok_r): Likewise.
54802         (__GI___strtok_r): Likewise.
54803         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54804         (PARMS): Do not use macros from bp-asm.h.
54805         (S1): Likewise.
54806         (S2): Likewise.
54807         (SIZE): Likewise.
54808         (__mpn_sub_n): Do not use BP_SYM.
54809         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54810         "bp-asm.h".
54811         (PARMS): Do not use macros from bp-asm.h.
54812         (S1): Likewise.
54813         (SIZE): Likewise.
54814         (__mpn_submul_1): Do not use BP_SYM.
54815         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54816         <bp-sym.h>.
54817         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54818         and <bp-asm.h>.
54819         (PARMS): Do not use macros from bp-asm.h.
54820         (FLAGS): Likewise.
54821         (PTID): Likewise.
54822         (TLS): Likewise.
54823         (CTID): Likewise.
54824         (__clone): Do not use BP_SYM.
54825         (clone): Do not use BP_SYM in weak_alias.
54826         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54827         and <bp-asm.h>.
54828         (PARMS): Do not use macros from bp-asm.h.
54829         (LEN): Likewise.
54830         (__mmap64): Do not use BP_SYM.
54831         (mmap64): Do not use BP_SYM in weak_alias.
54832         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54833         <bp-sym.h> and <bp-asm.h>.
54834         (PARMS): Do not use macros from bp-asm.h.
54835         (__posix_fadvise64_l64): Do not use BP_SYM.
54836         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54837         (PARMS): Do not use macros from bp-asm.h.
54838         (NSOPS): Likewise.
54839         (semtimedop): Do not use BP_SYM.
54840         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54841         and <bp-asm.h>.
54843 2013-02-21  Allan McRae  <allan@archlinux.org>
54845         * manual/message.texi (Charset conversion in gettext):
54846         Move @end statement to beginning of line.
54848 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54851         static.
54852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54853         Likewise.
54855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54856         (denorm): Likewise.
54857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54860 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54862         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54863         tail-call to the resolved function if pltexit isn't needed.
54865 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54868         or Y being zero as being unlikely.
54869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54870         Likewise.
54872 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54874         * manual/nss.texi (System Databases and Name Service Switch):
54875         Remove frobnicate @pxref.
54877 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54879         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54880         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54882 2013-02-20  Petr Machata  <pmachata@redhat.com>
54884         * elf/elf.h (R_ARM_TARGET1): New macro.
54885         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54886         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54887         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54888         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54889         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54890         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54891         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54892         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54893         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54894         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54895         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54896         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54897         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54898         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54899         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54900         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54901         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54902         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54903         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54904         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54905         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54906         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54907         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54908         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54909         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54910         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54911         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54912         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54913         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54914         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54915         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54916         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54917         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54918         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54919         (R_ARM_THM_GOT_BREL12): Likewise.
54920         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54921         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54922         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54923         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54924         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54925         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54926         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54927         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54928         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54930 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54932         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54933         __attribute_used__ to __attribute__ ((unused)).
54935 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54937         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54938         powerpc mpa.c.
54939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54940         comment formatting.
54941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54943 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54945         [BZ #13550]
54946         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54947         Remove macro.
54948         (ENTER): Remove both macro definitions.
54949         (LEAVE): Likewise.
54950         (CHECK_BOUNDS_LOW): Likewise.
54951         (CHECK_BOUNDS_HIGH): Likewise.
54952         (CHECK_BOUNDS_BOTH): Likewise.
54953         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54954         (RETURN_BOUNDED_POINTER): Likewise.
54955         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54956         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54957         (POP_ERRNO_LOCATION_RETURN): Likewise.
54958         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54959         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54960         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54961         macros.
54962         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54963         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54964         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54965         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54966         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54967         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54968         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54969         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54970         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54971         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54972         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54973         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54974         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54975         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54976         removed macros.
54977         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54978         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54979         macros.
54980         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54981         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54982         * sysdeps/i386/i586/memset.S (memset): Likewise.
54983         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54984         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54985         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54986         macros.
54987         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54988         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54989         Change uses of L(2) to L(out).
54990         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54991         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54992         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54993         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54994         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54995         removed macros.
54996         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54997         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54998         macros.
54999         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55000         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55001         (RETURN): Do not use macro LEAVE.
55002         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55003         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55004         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55005         * sysdeps/i386/i686/memset.S (memset): Likewise.
55006         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55007         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55008         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55009         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55010         Likewise.
55011         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55012         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55013         L(1_2) and L(1_3) into L(1).
55014         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55015         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55016         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55017         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55018         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55019         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55020         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55021         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55022         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55023         macros.
55024         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55025         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55026         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55027         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55028         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55029         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55030         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55031         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55032         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55033         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55034         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55035         * sysdeps/i386/strspn.S (strspn): Likewise.
55036         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55037         conditional code.
55038         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55039         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55040         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55041         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55042         L(1_3) into L(1_1).
55043         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55044         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55045         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55046         macros.
55047         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55049 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55051         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55052         macro.
55054 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55056         * math/atest-exp.c (exp_mpn): Remove ROUND.
55057         * math/atest-exp2.c (exp_mpn): Likewise.
55058         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55060         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55061         * stdlib/tst-tls-atexit-lib.c: Likewise.
55062         * stdlib/tst-tls-atexit.c: Likewise.
55064 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55066         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55067         and __attribute_alloc_size__.
55069 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55071         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55072         __attribute_alloc_size__.
55073         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55074         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55076 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55078         * include/programs/xmalloc.h: New file.
55079         * catgets/gencat.c: Include it.
55080         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55081         * elf/pldd.c: Likewise.
55082         * iconv/iconv_charmap.c: Likewise.
55083         * iconv/iconvconfig.c: Likewise.
55084         * iconv/strtab.c: Likewise.
55085         * locale/programs/locale.c: Likewise.
55086         * locale/programs/localedef.h: Likewise.
55087         * locale/programs/simple-hash.c: Likewise.
55088         * nscd/nscd.h: Likewise.
55089         * nss/makedb.c: Likewise.
55090         * sysdeps/generic/ldconfig.h: Likewise.
55092 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55094         * Versions.def: Add GLIBC_2.18.
55095         * include/link.h (struct link_map): New member l_tls_dtor_count.
55096         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55097         (__call_tls_dtors): Likewise.
55098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55099         __cxa_thread_atexit_impl.
55100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55101         Likewise.
55102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55103         Likewise.
55104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55105         Likewise.
55106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55107         Likewise.
55108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55110         Likewise.
55111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55112         Likewise.
55113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55115         Likewise.
55116         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55117         (tests): Add test case tst-tls-atexit.
55118         (modules-names): Add shared library for tst-tls-atexit.
55119         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55120         (GLIBC_PRIVATE): Add __call_tls_dtors.
55121         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55122         for libstdc++.
55123         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55124         * stdlib/tst-tls-atexit.c: New test case.
55125         * stdlib/tst-tls-atexit-lib.c: New test case.
55127         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55129         * elf/Versions (ld): Add _dl_find_dso_for_object.
55130         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55131         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55132         (dl_open_worker): Use _dl_find_dso_for_object.
55133         * elf/dl-sym.c (do_sym): Likewise.
55134         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55136 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55138         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55139         Syntactic changes only.
55140         (_dl_runtime_profile): Do a tail-call to the resolved function.
55142 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55144         [BZ #13550]
55145         * sysdeps/x86_64/bp-asm.h: Remove file.
55146         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55147         <bp-sym.h> and <bp-asm.h>.
55148         (__clone): Do not use BP_SYM.
55149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55150         <bp-sym.h> and <bp-asm.h>.
55151         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55152         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55153         "bp-asm.h".
55154         (_setjmp): Do not use BP_SYM.
55155         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55156         "bp-asm.h".
55157         (setjmp): Do not use BP_SYM.
55158         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55159         libc_hidden_def.
55160         (mempcpy): Do not use BP_SYM in weak_alias.
55161         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55162         "bp-asm.h".
55163         (strchr): Do not use BP_SYM.
55164         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55165         "bp-asm.h".
55166         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55167         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55168         (_start): Do not use BP_SYM.
55169         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55170         "bp-asm.h".
55171         (strcat): Do not use BP_SYM.
55172         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55173         "bp-asm.h".
55174         (STRCMP): Do not use BP_SYM.
55175         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55176         "bp-asm.h".
55177         (STRCPY): Do not use BP_SYM.
55178         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55179         "bp-asm.h".
55180         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55181         "bp-asm.h".
55182         (FUNCTION): Do not use BP_SYM.
55183         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55184         weak_alias.
55185         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55187 2013-02-17  Andreas Jaeger  <aj@suse.de>
55189         * time/Versions: Sort entries.
55190         * string/Versions: Likewise.
55191         * resolv/Versions: Likewise.
55192         * posix/Versions: Likewise.
55193         * iconv/Versions: Likewise.
55194         * elf/Versions: Likewise.
55195         * wcsmbs/Versions: Likewise.
55197 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55199         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55200         loop termination condition.
55202         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55203         variable to calculate EZ.
55204         (__sqr): Likewise.
55206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55207         the lower precision input.
55209 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55211         [BZ #13550]
55212         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55213         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55214         (run-via-rtld-prefix): Do not handle %-bp tests.
55215         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55216         (all-object-suffixes): Remove .ob.
55217         (bppfx): Remove variable.
55218         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55219         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55220         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55221         [$(build-bounded) = yes] (libtype.ob): Likewise.
55222         * Makerules (elide-routines.ob): Remove variable.
55223         (do-tests-clean): Do not handle *-bp.out.
55224         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55225         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55226         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55227         (tests): Do not include $(tests-bp.out).
55228         (xtests): Do not include $(xtests-bp.out).
55229         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55230         [$(build-bounded) = yes] ($(addprefix
55231         $(objpfx),$(binaries-bounded))): Remove rule.
55232         ($(objpfx)%-bp.out): Remove rule.
55233         * config.make.in (build-bounded): Remove variable.
55234         * crypt/Makefile [$(build-bounded) = yes]
55235         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55236         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55237         append to variable.
55238         [$(build-bounded) = yes] (install-lib): Likewise.
55239         [$(build-bounded) = yes] (generated): Likewise.
55240         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55241         Remove rule.
55242         * intl/Makefile [$(build-bounded) = yes]
55243         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55244         * math/Makefile [$(build-bounded) = yes]
55245         ($(tests:%=$(objpfx)%-bp): Likewise.
55246         * misc/Makefile [$(build-bounded) = yes]
55247         ($(objpfx)tst-tsearch-bp): Likewise.
55248         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55249         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55250         Remove dependency.
55251         * string/Makefile (o-objects.ob): Remove variable.
55252         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55253         (CFLAGS-.ob): Remove variable.
55254         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55255         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55256         both definitions of variable.
55257         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55258         (ASFLAGS-.ob): Remove variable.
55260 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55262         [BZ #13550]
55263         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55264         Remove __BOUNDED_POINTERS__ from condition.
55265         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55266         * string/bits/string2.h [!__NO_STRING_INLINES &&
55267         !__BOUNDED_POINTERS__]: Likewise.
55268         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55269         Likewise.
55270         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55271         Remove conditional code.
55272         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55273         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55274         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55275         condition.
55277         [BZ #13550]
55278         * csu/libc-start.c: Do not include <bp-sym.h>.
55279         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55280         * elf/dl-open.c: Do not include <bp-sym.h>.
55281         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55282         * math/fegetenv.c: Do not include <bp-sym.h>.
55283         (fegetenv): Do not use BP_SYM in versioned symbols.
55284         * nptl/sysdeps/pthread/bits/libc-lockP.h
55285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55286         <bp-sym.h>.
55287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55288         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55290         (__pthread_mutex_destroy): Likewise.
55291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55292         (__pthread_mutex_lock): Likewise.
55293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55294         (__pthread_mutex_trylock): Likewise.
55295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55296         (__pthread_mutex_unlock): Likewise.
55297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55298         (__pthread_mutexattr_init): Likewise.
55299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55300         (__pthread_mutexattr_destroy): Likewise.
55301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55302         (__pthread_mutexattr_settype): Likewise.
55303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55304         (__pthread_rwlock_init): Likewise.
55305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55306         (__pthread_rwlock_destroy): Likewise.
55307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55308         (__pthread_rwlock_rdlock): Likewise.
55309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55310         (__pthread_rwlock_tryrdlock): Likewise.
55311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55312         (__pthread_rwlock_wrlock): Likewise.
55313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55314         (__pthread_rwlock_trywrlock): Likewise.
55315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55316         (__pthread_rwlock_unlock): Likewise.
55317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55318         (__pthread_key_create): Likewise.
55319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55320         (__pthread_setspecific): Likewise.
55321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55322         (__pthread_getspecific): Likewise.
55323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55324         Likewise.
55325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55326         (_pthread_cleanup_push_defer): Likewise.
55327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55328         (_pthread_cleanup_pop_restore): Likewise.
55329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55330         (pthread_setcancelstate): Likewise.
55331         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55332         <bp-sym.h>.
55333         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55334         (memchr): Do not use BP_SYM in weak_alias.
55335         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55336         (fegetenv): Do not use BP_SYM in versioned symbols.
55337         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55338         (fesetenv): Do not use BP_SYM in versioned symbols.
55339         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55340         (feupdateenv): Do not use BP_SYM in versioned symbols.
55341         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55342         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55343         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55344         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55345         (open64): Do not use BP_SYM in weak_alias.
55346         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55347         (fegetenv): Do not use BP_SYM in versioned symbols.
55348         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55349         (fesetenv): Do not use BP_SYM in versioned symbols.
55350         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55351         (feupdateenv): Do not use BP_SYM in versioned symbols.
55352         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55353         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55354         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55355         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55356         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55357         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55358         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55359         <bp-sym.h>.
55360         (__libc_start_main): Do not use BP_SYM.
55362 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55365         redundant return line.
55366         (norm): Likewise.
55367         (denorm): Likewise.
55368         (dbl_mp): Likewise.
55369         (sub_magnitudes): Likewise.
55370         (__add): Likewise.
55371         (__sub): Likewise.
55372         (__mul): Likewise.
55373         (__inv): Likewise.
55374         (__dvd): Likewise.
55375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55376         (norm): Likewise.
55377         (denorm): Likewise.
55378         (dbl_mp): Likewise.
55379         (sub_magnitudes): Likewise.
55380         (__add): Likewise.
55381         (__sub): Likewise.
55382         (__mul): Likewise.
55383         (__inv): Likewise.
55384         (__dvd): Likewise.
55386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55387         instead of __mul.
55388         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55389         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55390         (cc32): Likewise.
55392         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55393         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55395         of __mul for squares.
55396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55397         function
55398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55399         Likewise.
55400         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55401         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55403 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55405         [BZ #13550]
55406         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55407         code.
55408         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55409         prototype or function definition.  Rename ubp_* variables and
55410         parameters.  Remove argv definitions conditional on
55411         [__BOUNDED_POINTERS__].
55412         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55413         * elf/dl-runtime.c (_dl_fixup): Likewise.
55414         * include/set-hooks.h (RUN_HOOK): Likewise.
55415         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55416         definition.
55417         * string/strcpy.c (strcpy): Do not use __unbounded.
55418         * sysdeps/generic/frame.h (struct layout): Likewise.
55419         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55420         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55421         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55422         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55423         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55424         (__backtrace): Likewise.
55425         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55426         use __ptrvalue.
55427         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55428         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55429         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55430         Likewise.
55431         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55432         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55433         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55434         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55435         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55436         Do not use __unbounded.
55437         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55438         Rename __unboundedrlimits parameter to rlimits in prototype.
55439         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55440         Do not use __unbounded.
55441         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55442         not use __ptrvalue.
55443         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55444         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55445         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55446         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55447         __ptrvalue or __unbounded.
55448         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55449         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55450         use __unbounded.
55451         (__new_msgctl): Do not use __ptrvalue.
55452         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55453         __unbounded.
55454         (__libc_msgrcv): Do not use __ptrvalue.
55455         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55456         startup_info): Do not use __unbounded.
55457         (__libc_start_main): Likewise.  Rename ubp_* variables and
55458         parameters.  Remove argv definitions conditional on
55459         [__BOUNDED_POINTERS__].
55460         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55461         __ptrvalue.
55462         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55463         use __unbounded.
55464         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55465         or __ptrvalue.
55466         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55467         use __unbounded.
55468         (__new_shmctl): Do not use __ptrvalue.
55469         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55470         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55471         Likewise.
55472         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55473         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55474         (__libc_sigaction): Likewise.
55475         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55476         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55477         Likewise.
55478         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55480 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55482         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55484         * string/mempcpy.c: Implement by calling memcpy.
55486 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55490         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55491         evaluation.
55493         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55494         values in the mantissa.
55496         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55497         minimize writes to Z.
55498         (sub_magnitudes): Simplify code a bit.
55500 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55502         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55503         from the message.  The linker prefixes all warnings with that already.
55505 2013-02-12  Andreas Schwab  <schwab@suse.de>
55507         [BZ #15078]
55508         * posix/regexec.c (extend_buffers): Add parameter min_len.
55509         (check_matching): Pass minimum needed length.
55510         (clean_state_log_if_needed): Likewise.
55511         (get_subexp): Likewise.
55512         * posix/Makefile (tests): Add bug-regex34.
55513         (bug-regex34-ENV): Define.
55514         * posix/bug-regex34.c: New file.
55516         [BZ #11561]
55517         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55518         elements compare against the byte sequence of it, not its name.
55519         * posix/Makefile (tests): Add bug-regex35.
55520         (bug-regex35-ENV): Define.
55521         * posix/bug-regex35.c: New file.
55523 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55525         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55526         comment.
55527         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55528         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55529         (CHECK_EOL): Add undef.
55531 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55533         * bits/stdlib-bsearch.h: New file.
55534         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55535         * stdlib/stdlib.h: Likewise.
55537 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55539         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55540         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55541         declaration.
55542         * manual/search.texi (Array Search Function): Add missing const in
55543         lfind prototype.
55544         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55545         declaration to use rlim_t.
55546         (Basic Scheduling Functions): Remove erroneous const from
55547         sched_getparam prototype.  Remove erroneous * from
55548         sched_get_priority_max and sched_get_priority_min prototypes.
55549         (Resource Usage): Fix summary @comment on vtimes to refer to
55550         sys/vtimes.h rather than vtimes.h.
55551         Add missing *s in vtimes prototype.
55552         (Limits on Resources): Fix ulimit prototype to return long int.
55553         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55554         prototypes to use long int rather than double.
55555         (BSD Random): Fix initstate and setstate to use char *, not void *.
55556         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55557         prototype to make second argument 'struct aiocb64 *const[]'.
55558         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55559         (Status of AIO Operations): Remove erroneous const in aio_return and
55560         aio_return64 prototypes.
55561         (Synchronizing I/O): Fix sync prototype to return void.
55562         * manual/startup.texi (Suboptions): Remove an erroneous const in
55563         getsubopt prototype.
55564         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55565         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55566         use size_t rather than int.
55567         (Scanning All Users): Likewise for getpwent_r.
55568         (Setting Groups): Add missing const to setgroups prototype.
55569         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55570         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55571         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55572         'const void *' rather than 'const char *'.
55573         (Host Address Functions): Likewise for inet_ntop.
55574         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55575         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55576         ssize_t for return value.
55577         (Sending Data): Likewise for send, sendto, sendmsg.
55578         (Socket Option Functions): Add a missing const in setsockopt prototype.
55579         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55580         use wchar_t for the argument.
55581         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55582         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55583         take no arguments.
55584         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55585         double/float/long double for second argument.
55586         Fix return types of significand, significandf, significandl.
55587         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55588         argument in fchmod prototype.
55589         (File Owner): Use uid_t and gid_t in fchown prototype.
55590         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55591         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55592         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55593         use 'const struct dirent **' as argument types to CMP function pointer
55594         argument.
55595         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55596         (File Times): Fix summary magic @comment for struct utimbuf and utime
55597         to refer to utime.h, not time.h.
55598         * manual/string.texi (Argz Functions): Add missing const in
55599         argz_extract and argz_next prototypes.
55600         (Finding Tokens in a String): Likewise for basename.
55601         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55602         (Copying and Concatenation): Fix typo in wmemmove prototype.
55603         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55604         (Signal Stack): Remove erroneous const in sigstack prototype.
55605         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55606         prototype.
55607         (Simple Calendar Time): Likewise for stime.
55608         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55609         prototype.
55610         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55611         say sys/sysctl.h instead.
55612         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55613         and vsyslog prototypes.
55615 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55617         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55618         Remove.
55620 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55622         * misc/sys/mman.h: Fix typo in mremap comment.
55624 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55626         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55627         the '\0' terminator.
55629 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55631         [BZ #13550]
55632         * debug/segfault.c: Don't include <bp-checks.h>.
55633         * sysdeps/generic/bp-checks.h: Remove file.
55634         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55635         (__GETDENTS): Don't use CHECK_N.
55636         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55637         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55638         (__getgroups): Don't use CHECK_N.
55639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55640         (setgroups): Don't use CHECK_N.
55641         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55642         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55643         (__libc_msgrcv): Don't use CHECK_N.
55644         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55645         (__libc_msgsnd): Don't use CHECK_N.
55646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55647         <bp-checks.h>.
55648         (__libc_pread): Don't use CHECK_N.
55649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55650         include <bp-checks.h>.
55651         (__libc_pread64): Don't use CHECK_N.
55652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55653         include <bp-checks.h>.
55654         (__libc_pwrite): Don't use CHECK_N.
55655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55656         include <bp-checks.h>.
55657         (__libc_pwrite64): Don't use CHECK_N.
55658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55659         <bp-checks.h>.
55660         (__libc_pread): Don't use CHECK_N.
55661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55662         include <bp-checks.h>.
55663         (__libc_pread64): Don't use CHECK_N.
55664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55665         include <bp-checks.h>.
55666         (__libc_pwrite): Don't use CHECK_N.
55667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55668         include <bp-checks.h>.
55669         (__libc_pwrite64): Don't use CHECK_N.
55670         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55671         (do_pread): Don't use CHECK_N.
55672         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55673         (do_pread64): Don't use CHECK_N.
55674         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55675         (do_pwrite): Don't use CHECK_N.
55676         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55677         (do_pwrite64): Don't use CHECK_N.
55678         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55679         (__libc_readv): Don't use CHECK_N.
55680         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55681         (semop): Don't use CHECK_N.
55682         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55683         <bp-checks.h>.
55684         (semtimedop): Don't use CHECK_N.
55685         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55686         (__libc_pread): Don't use CHECK_N.
55687         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55688         <bp-checks.h>.
55689         (__libc_pread64): Don't use CHECK_N.
55690         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55691         <bp-checks.h>.
55692         (__libc_pwrite): Don't use CHECK_N.
55693         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55694         <bp-checks.h>.
55695         (__libc_pwrite64): Don't use CHECK_N.
55696         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55697         <bp-checks.h>.
55698         (__libc_msgrcv): Don't use CHECK_N.
55699         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55700         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55701         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55702         (__libc_writev): Don't use CHECK_N.
55704 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55706         * string/strcpy.c: Removed unused variable.
55708         * Makeconfig (+sysdep-includes): Define with := rather than =.
55709         Use an existing include/ subdir of each sysdeps dir before it.
55711 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55713         * nscd/connection.c (register_traced_file): Comment function.
55714         [HAVE_INOTIFY] (union __inev): Define.
55715         [HAVE_INOTIFY] (inotify_check_files): New function.
55716         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55717         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55718         clear_db_cache.
55719         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55721 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55723         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55724         loaded if not already and that a failure is permanent.
55726 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55728         [BZ #15006]
55729         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55730         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55732 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55734         [BZ #13550]
55735         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55736         (CHECK_1_NULL_OK): Likewise.
55737         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55738         (__fxstat): Do not use CHECK_1.
55739         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55740         <bp-checks.h>.
55741         (___fxstat64): Do not use CHECK_1.
55742         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55743         <bp-checks.h>.
55744         (__fxstatat): Do not use CHECK_1.
55745         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55746         <bp-checks.h>.
55747         (__fxstatat64): Do not use CHECK_1.
55748         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55749         <bp-checks.h>.
55750         (__fxstat): Do not use CHECK_1.
55751         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55752         <bp-checks.h>.
55753         (__fxstatat): Do not use CHECK_1.
55754         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55755         <bp-checks.h>.
55756         (__getresgid): Do not use CHECK_1.
55757         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55758         <bp-checks.h>.
55759         (__getresuid): Do not use CHECK_1.
55760         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55761         <bp-checks.h>.
55762         (__lxstat): Do not use CHECK_1.
55763         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55764         <bp-checks.h>.
55765         (__old_msgctl): Do not use CHECK_1.
55766         (__new_msgctl): Likewise.
55767         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55768         <bp-checks.h>.
55769         (__new_setrlimit): Do not use CHECK_1.
55770         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55771         <bp-checks.h>.
55772         (__old_shmctl): Do not use CHECK_1.
55773         (__new_shmctl): Likewise.
55774         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55775         <bp-checks.h>.
55776         (__xstat): Do not use CHECK_1.
55777         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55778         (__lxstat): Do not use CHECK_1.
55779         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55780         <bp-checks.h>.
55781         (___lxstat64): Do not use CHECK_1.
55782         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55783         (__old_msgctl): Do not use CHECK_1.
55784         (__new_msgctl): Likewise.
55785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55786         <bp-checks.h>.
55787         (__gettimeofday): Do not use CHECK_1.
55788         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55789         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55790         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55791         <bp-checks.h>.
55792         (__gettimeofday): Do not use CHECK_1.
55793         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55794         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55795         (__new_shmctl): Do not use CHECK_1.
55796         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55797         <bp-checks.h>.
55798         (do_sigtimedwait): Do not use CHECK_1.
55799         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55800         <bp-checks.h>.
55801         (do_sigwaitinfo): Do not use CHECK_1.
55802         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55803         <bp-checks.h>.
55804         (msgctl): Do not use CHECK_1.
55805         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55806         <bp-checks.h>.
55807         (shmctl): Do not use CHECK_1.
55808         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55809         (ustat): Do not use CHECK_1.
55810         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55811         <bp-checks.h>.
55812         (__fxstat): Do not use CHECK_1.
55813         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55814         <bp-checks.h>.
55815         (__fxstatat): Do not use CHECK_1.
55816         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55817         <bp-checks.h>.
55818         (__lxstat): Do not use CHECK_1.
55819         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55820         <bp-checks.h>.
55821         (__xstat): Do not use CHECK_1.
55822         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55823         (__xstat): Do not use CHECK_1.
55824         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55825         (___xstat64): Do not use CHECK_1.
55827         [BZ #13550]
55828         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55829         definitions.
55830         (CHECK_BOUNDS_HIGH): Likewise.
55831         * string/strcpy.c: Do not include <bp-checks.h>.
55832         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55834 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55836         * nscd/nscd-client.h (__nscd_drop_map_ref):
55837         Add __attribute__ ((unused)).
55838         * nis/nss-nisplus.h (niserr2nss): Likewise.
55840         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55841         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55843         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55844         Remove inline keyword.
55845         * include/rounding-mode.h (round_away): Likewise.
55846         * libio/wfileops.c (adjust_wide_data): Likewise.
55847         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55848         (__m128i_strloadu_tolower): Likewise.
55849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55850         (__m128i_strloadu_tolower): Likewise.
55851         * time/mktime.c (ydhms_diff): Likewise.
55852         * locale/elem-hash.h (elem_hash): Likewise.
55853         * locale/setlocale.c (setdata): Likewise.
55854         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55855         (re_string_wchar_at): Likewise.
55856         (bitset_not, bitset_merge, bitset_mask): Likewise.
55857         [!(__GNUC__ > 3)] (inline): Remove macro.
55858         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55859         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55860         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55861         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55862         * string/memcmp.c (memcmp_bytes): Likewise.
55863         * locale/programs/locarchive.c (compute_hashval): Likewise.
55864         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55865         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55866         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55867         * nss/getent.c (print_rpc, print_protocols): Likewise.
55868         (print_passwd, print_group, print_aliases): Likewise.
55869         * nis/nss-nisplus.h (niserr2nss): Likewise.
55870         * nscd/connections.c (restart_p): Likewise.
55871         Change return type to bool.
55873 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55875         * Makeconfig (all-Depend-files): Add existing
55876         $(sorted-subdirs:=/Depend) files.
55877         (all-subdirs): Remove nss.
55878         * sysdeps/unix/inet/Subdirs: Add it here instead.
55879         * hesiod/Depend: New file.
55881         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55882         instead of calling alloca.
55884         * io/lseek.c (__lseek): Rename to __libc_lseek.
55885         Define __lseek as an alias.
55887         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55889 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55891         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55892         else clause and remove check for non-standard endianness.
55894 2013-02-04  David S. Miller  <davem@davemloft.net>
55896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55898 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55900         [BZ #13550]
55901         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55902         (__ubp_memchr): Remove prototype.
55903         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55904         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55905         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55906         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55907         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55908         Remove alias.
55909         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55910         (__ubp_memchr): Likewise.
55911         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55912         (__ubp_memchr): Likewise.
55913         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55914         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55915         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55916         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55917         CHECK_STRING.
55918         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55919         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55920         (__getcwd): Do not use CHECK_STRING.
55921         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55922         <bp-checks.h>.
55923         (__real_chown): Do not use CHECK_STRING.
55924         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55925         <bp-checks.h>.
55926         (fchownat): Do not use CHECK_STRING.
55927         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55928         CHECK_STRING.
55929         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55930         <bp-checks.h>.
55931         (__lchown): Do not use CHECK_STRING.
55932         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55933         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55934         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55935         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55937         include <bp-checks.h>.
55938         (truncate64): Do not use CHECK_STRING.
55939         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55940         <bp-checks.h>.
55941         (__real_chown): Do not use CHECK_STRING.
55942         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55943         <bp-checks.h>.
55944         (__lchown): Do not use CHECK_STRING.
55945         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55946         <bp-checks.h>.
55947         (__chown): Do not use CHECK_STRING.
55948         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55949         <bp-checks.h>.
55950         (truncate64): Do not use CHECK_STRING.
55951         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55952         Likewise.
55953         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55954         (__xmknod): Do not use CHECK_STRING.
55955         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55956         <bp-checks.h>.
55957         (__xmknodat): Do not use CHECK_STRING.
55958         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55959         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55961 2013-02-04  Andreas Schwab  <schwab@suse.de>
55963         [BZ #14142]
55964         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55965         * include/netdb.h: Likewise for h_errno.
55966         * elf/tst-stackguard1.c: Include <tls.h>.
55968 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55970         * elf/link.h (struct link_map): Extend the l_addr comment.
55971         * include/link.h (struct link_map): Likewise.
55973 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55975         [BZ #13550]
55976         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55977         (BOUNDED_1): Remove macro.
55978         * debug/backtrace.c: Don't include <bp-checks.h>.
55979         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55980         (__backtrace): Likewise.
55981         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55982         <bp-checks.h>.
55983         (__backtrace): Don't use BOUNDED_1.
55984         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55985         <bp-checks.h>.
55986         (__backtrace): Don't use BOUNDED_1.
55987         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55988         (__backtrace): Don't use BOUNDED_1.
55989         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55990         (shmat): Don't use BOUNDED_N.
55992 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55994         [BZ #13550]
55995         * sysdeps/generic/bp-start.h: Remove file.
55996         * csu/libc-start.c: Don't include <bp-start.h>.
55997         (LIBC_START_MAIN): Set up __environ directly instead of using
55998         INIT_ARGV_and_ENVIRON.
55999         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56000         <bp-start.h>.
56002         [BZ #13550]
56003         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56004         definitions.
56005         (CHECK_FCNTL): Likewise.
56006         (CHECK_N_PAGES): Likewise.
56008         [BZ #13550]
56009         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56010         definitions.
56011         (CHECK_SIGSET_NULL_OK): Likewise.
56012         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56013         <bp-checks.h>.
56014         (sigpending): Don't use CHECK_SIGSET.
56015         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56016         <bp-checks.h>.
56017         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56018         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56019         <bp-checks.h>.
56020         (do_sigsuspend): Don't use CHECK_SIGSET.
56021         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56022         use CHECK_SIGSET.
56023         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56024         (do_sigwait): Don't use CHECK_SIGSET.
56025         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56026         use CHECK_SIGSET.
56027         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56028         include <bp-checks.h>.
56029         (sigpending): Don't use CHECK_SIGSET.
56030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56031         include <bp-checks.h>.
56032         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56033         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56034         <bp-checks.h>.
56035         (sigpending): Don't use CHECK_SIGSET.
56036         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56037         <bp-checks.h>.
56038         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56040         [BZ #13550]
56041         * sysdeps/generic/bp-semctl.h: Remove file.
56042         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56043         <bp-checks.h> and <bp-semctl.h>.
56044         (__old_semctl): Don't use CHECK_SEMCTL.
56045         (__new_semctl): Likewise.
56046         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56047         and <bp-semctl.h>.
56048         (__old_semctl): Don't use CHECK_SEMCTL.
56049         (__new_semctl): Likewise.
56050         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56051         <bp-checks.h> and <bp-semctl.h>.
56052         (__old_semctl): Don't use CHECK_SEMCTL.
56053         (__new_semctl): Likewise.
56054         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56055         <bp-checks.h> and <bp-semctl.h>.
56056         (semctl): Don't use CHECK_SEMCTL.
56058         [BZ #13550]
56059         * Makerules (elide-bp-thunks): Remove variable.
56060         (elide-routines.oS): Don't use $(elide-bp-thunks).
56061         (elide-routines.os): Likewise.
56062         (elide-routines.o): Likewise.
56063         (elide-routines.op): Likewise.
56064         (elide-routines.og): Likewise.
56065         (objects): Don't use $(bp-thunks).
56066         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56067         include.
56068         (common-generated): Do not add s-proto-bp.d.
56069         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56070         (int): Likewise.
56071         (typ): Likewise.
56072         Do not generate makefile rules for bounded-pointer thunks.
56073         * sysdeps/generic/bp-thunks.h: Remove file.
56074         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56075         * sysdeps/unix/s-proto-bp.S: Likewise.
56077         [BZ #15062]
56078         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56079         parts of result separately when argument is not close to line from
56080         -i to i and one part of argument is small.
56081         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56082         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56083         * math/libm-test.inc (cacos_test): Add more tests.
56084         (casin_test): Likewise.
56085         (casinh_test): Likewise.
56086         * sysdeps/i386/fpu/libm-test-ulps: Update.
56087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56089 2013-01-31  David S. Miller  <davem@davemloft.net>
56091         * po/de.po: Update from translation team.
56093 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56095         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56097 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56099         * configure.in (_AC_PROG_CC_C89): New definition.
56100         * configure: Regenerate.
56102         * configure.in (AC_PROG_CPP): New definition.
56103         * configure: Regenerate.
56105 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56107         * debug/tst-backtrace.h: New file.
56108         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56109         (ret): Remove variable.
56110         (x): Likewise.
56111         (FAIL): Remove macro.
56112         (NO_INLINE): Likewise.
56113         (fn1): Use match function instead of strstr.
56114         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56115         (ret): Remove variable.
56116         (x): Likewise.
56117         (FAIL): Remove macro.
56118         (NO_INLINE): Likewise.
56119         (fn): Use match function instead of strstr.
56120         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56121         (ret): Remove variable.
56122         (x): Likewise.
56123         (FAIL): Remove macro.
56124         (NO_INLINE): Likewise.
56125         (handle_signal): Use match function instead of strstr.
56126         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56127         (ret): Remove variable.
56128         (x): Likewise.
56129         (FAIL): Remove macro.
56130         (NO_INLINE): Likewise.
56131         (handle_signal): Use match function instead of strstr.
56133 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56135         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56137 2013-01-23  David S. Miller  <davem@davemloft.net>
56139         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56140         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56141         argument of CAS if possible.
56142         * sysdeps/sparc/sparc64/bits/atomic.h
56143         (__arch_compare_and_exchange_val_32_acq): Likewise.
56144         (__arch_compare_and_exchange_val_64_acq): Likewise.
56146 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56148         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56149         * sysdeps/posix/ulimit.c: ... this.
56150         Include <limits.h>.
56151         * sysdeps/unix/bsd/ulimit.c: Remove file.
56153 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56155         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56156         (LDFLAGS-tst-array5): Likewise.
56158 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56160         [BZ #15036]
56161         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56162         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56163         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56164         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56166 2013-01-21  David S. Miller  <davem@davemloft.net>
56168         * sysdeps/sparc/backtrace.c: New file.
56169         * sysdeps/sparc/sparc32/backtrace.h: New file.
56170         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56171         * sysdeps/sparc/sparc64/backtrace.h: New file.
56172         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56173         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56174         -funwind-tables.
56176 2013-01-21  Andreas Schwab  <schwab@suse.de>
56178         [BZ #15020]
56179         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56180         closed its stdout.
56182 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56185         "mpa2.h".
56186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56188 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56189             Mark Mitchell  <mark@codesourcery.com>
56190             Tom de Vries  <tom@codesourcery.com>
56191             Paul Pluzhnikov  <ppluzhnikov@google.com>
56193         * debug/tst-backtrace2.c: New file.
56194         * debug/tst-backtrace3.c: Likewise.
56195         * debug/tst-backtrace4.c: Likewise.
56196         * debug/tst-backtrace5.c: Likewise.
56197         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56198         (CFLAGS-tst-backtrace3.c): Likewise.
56199         (CFLAGS-tst-backtrace4.c): Likewise.
56200         (CFLAGS-tst-backtrace5.c): Likewise.
56201         (LDFLAGS-tst-backtrace2): Likewise.
56202         (LDFLAGS-tst-backtrace3): Likewise.
56203         (LDFLAGS-tst-backtrace4): Likewise.
56204         (LDFLAGS-tst-backtrace5): Likewise.
56205         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56206         tst-backtrace4 and tst-backtrace5.
56208 2013-01-18  Anton Blanchard  <anton@samba.org>
56209             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56211         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56212         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56213         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56214         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56216         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56217         "+r" and remove output regs list as redundant.  Add explicit inline
56218         asm to specify register of return val to work around compiler codegen
56219         bug.  Remove (int) cast on return value.  Add return type parameter to
56220         use in macro so that this macro does not truncate return value for
56221         64-bit values.
56222         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56223         pass to INTERNAL_VSYSCALL_NCS.
56224         (INLINE_VSYSCALL): Add 'long int' as return type to
56225         INTERNAL_VSYSCALL_NCS macro invocation.
56226         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56227         INTERNAL_VSYSCALL_NCS macro invocation.
56228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56230 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56232         [BZ #14496]
56233         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56234         Fix application of SIMD FP exception mask.
56236         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56237         mp_no from a power of two.
56238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56239         __mpexp_twomm1.  Use __pow_mp.
56241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56242         multiplication.
56244 2013-01-17  David S. Miller  <davem@davemloft.net>
56246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56248 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56250         [BZ #15023]
56251         * include/complex.h: Condition contents on [!_COMPLEX_H].
56252         (__kernel_casinhf): New prototype.
56253         (__kernel_casinh): Likewise.
56254         (__kernel_casinhl): Likewise.
56255         * math/Makefile (libm_calls): Add k_casinh.
56256         * math/k_casinh.c: New file.
56257         * math/k_casinhf.c: Likewise.
56258         * math/k_casinhl.c: Likewise.
56259         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56260         finite nonzero arguments.
56261         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56262         finite nonzero arguments.
56263         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56264         finite nonzero arguments.
56265         * math/s_casinh.c: Do not include <float.h>.
56266         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56267         * math/s_casinhf.c: Do not include <float.h>.
56268         (__casinhf): Move code for finite nonzero arguments to
56269         k_casinhf.c.
56270         * math/s_casinhl.c: Do not include <float.h>.
56271         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56272         redefine.
56273         (__casinhl): Move code for finite nonzero arguments to
56274         k_casinhl.c.
56275         * math/libm-test.inc (cacos_test): Add more tests.
56276         * sysdeps/i386/fpu/libm-test-ulps: Update.
56277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56279 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56281         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56282         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56283         [!HAVE_MREMAP]: Remove [defined linux] case.
56284         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56286 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56288         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56290 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56292         * elf/elf.h (R_386_SIZE32): New relocation.
56293         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56294         R_386_SIZE32.
56295         (elf_machine_rela): Likewise.
56296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56297         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56299 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56301         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56302         (FP_FAST_FMA): Do not define.
56303         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56304         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56305         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56306         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56307         !_SOFT_FLOAT]: Likewise.
56308         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56309         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56310         value.
56311         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56312         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56313         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56314         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56315         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56316         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56317         file.
56319 2013-01-16  Andreas Schwab  <schwab@suse.de>
56321         [BZ #14327]
56322         * include/stdlib.h (__mktemp): Add declaration.
56323         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56324         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56326 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56328         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56329         definitions.
56330         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56331         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56332         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56333         definitions here.
56334         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56335         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56336         definitions.
56337         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56338         and ONE.
56339         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56340         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56341         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56342         definitions.
56343         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56344         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56345         definitions.
56346         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56348         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56350 2013-01-15  David S. Miller  <davem@davemloft.net>
56352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56353         trunc{,f} to libm-sysdep_routes.
56354         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56356         file.
56357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56359         file.
56360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56361         file.
56362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56364         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56365         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56366         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56367         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56368         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56369         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56372         nearbyint{,f} to libm-sysdep_routes.
56373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56375         New file.
56376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56377         file.
56378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56379         New file.
56380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56381         file.
56382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56384         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56385         file.
56386         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56387         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56388         file.
56389         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56390         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56391         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56393         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56394         libc_feholdexcept and libc_fesetenv.
56396 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56398         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56400 2013-01-14  David S. Miller  <davem@davemloft.net>
56402         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56403         (SPARC_ASM_VIS2_IFUNC): Likewise.
56404         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56406         use of 'siam' instruction.
56407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56408         Likewise.
56409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56410         Likewise.
56411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56412         Likewise.
56413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56418         file.
56419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56420         file.
56421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56422         file.
56423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56424         file.
56425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56426         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56430         new VIS2 routines.
56431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56434         Likewise.
56435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56440         routines to libm-sysdep_routines.
56441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56444         fdim/fdimf to libm-sysdep_routines.
56445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56446         file.
56447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56449         file.
56450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56453         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56454         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56455         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56456         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56458 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56460         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56461         to optimize copies.
56463         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56468         local variable MPTWO.
56469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56470         Likewise.
56472 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56474         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56475         GLOB_NOESCAPE.
56477 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56479         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56481 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56483         * manual/pattern.texi (glob_t): Document gl_flags.
56484         (glob64_t): Likewise.
56486 2013-01-11  David S. Miller  <davem@davemloft.net>
56488         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56489         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56490         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56491         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56492         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56493         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56494         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56495         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56496         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56497         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56498         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56499         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56500         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56502         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56503         sparc V9 rather than using V8 code.
56504         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56505         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56507         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56508         Move to...
56509         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56510         Here.
56512 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56514         [BZ #14941]
56515         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56516         not in the main loop.
56517         * configure: Regenerated.
56519 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56521         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56522         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56523         to just #else.
56524         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56525         [!__GLIBC_HAVE_LONG_LONG] case.
56526         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56527         condition to just #else.
56528         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56529         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56530         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56531         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56532         unconditional.
56533         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56534         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56535         #elif condition to just #else.
56536         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56537         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56538         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56539         #elif condition to just #else.
56541 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56543         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56544         (EF_MIPS_ARCH_64): Fix value.
56545         (EF_MIPS_ARCH_32R2): New.
56546         (EF_MIPS_ARCH_64R2): New.
56548 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56550         * Makeconfig (+link-pie-before-libc): New.
56551         (+link-pie-after-libc): Likewise.
56552         (+link-pie-tests): Likewise.
56553         (+link-pie): Rewritten.
56554         (link-before-libc): Remove $(config-LDFLAGS).
56555         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56556         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56557         (config-LDFLAGS): Renamed to ...
56558         (rtld-LDFLAGS): This.
56559         (rtld-tests-LDFLAGS): New macro.
56560         (link-libc-rpath-link): Likewise.
56561         (link-libc-tests-rpath-link): Likewise.
56562         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56563         (link-libc): Prepand $(link-libc-rpath-link).
56564         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56565         (test-program-prefix): New macro.
56566         (test-via-rtld-prefix): Likewise.
56567         (test-program-cmd): Likewise.
56568         (host-test-program-cmd): Likewise.
56569         * Makefile ($(common-objpfx)testrun.sh): Replace
56570         $(run-program-prefix) with $(test-program-prefix).
56571         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56572         $(rtld-LDFLAGS).
56573         ($(common-objpfx)shlib.lds): Likewise.
56574         (build-module-helper): Likewise.
56575         ($(common-objpfx)format.lds): Likewise.
56576         * Rules (binaries-pie-tests): New.
56577         (binaries-pie-notests): Likewise.
56578         (binaries-pie): Rewritten.
56579         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56580         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56581         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56582         (make-test-out): Replace $(host-built-program-cmd) with
56583         $(host-test-program-cmd).
56584         * config.make.in (build-hardcoded-path-in-tests): New variable.
56585         * configure.in (--enable-hardcoded-path-in-tests): New configure
56586         option.
56587         (hardcoded_path_in_tests): New AC_SUBST.
56588         * configure: Regenerated.
56589         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56590         $(built-program-cmd) with $(test-program-cmd).
56591         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56592         (test_program_cmd): This.
56593         * elf/Makefile ($(objpfx)order.out): Run test with
56594         $(test-program-prefix).
56595         ($(objpfx)order2.out): Likewise.
56596         ($(objpfx)tst-initorder.out): Likewise.
56597         ($(objpfx)tst-initorder2.out): Likewise.
56598         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56599         $(test-program-cmd).
56600         ($(objpfx)tst-array1-static.out): Likewise.
56601         ($(objpfx)tst-array2.out): Likewise.
56602         ($(objpfx)tst-array3.out): Likewise.
56603         ($(objpfx)tst-array4.out): Likewise.
56604         ($(objpfx)tst-array5.out): Likewise.
56605         ($(objpfx)tst-array5-static.out): Likewise.
56606         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56607         $(test-program-cmd).
56608         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56609         $(run-program-prefix) with $(test-program-prefix).
56610         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56611         (test_program_prefix): This.
56612         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56613         $(run-program-prefix) with $(test-program-prefix).
56614         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56615         (test_program_prefix): This.
56616         * iconvdata/tst-tables.sh: Likewise.
56617         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56618         $(run-program-prefix) with $(test-program-prefix).
56619         ($(objpfx)tst-translit.out): Likewise.
56620         ($(objpfx)tst-gettext2.out): Likewise.
56621         ($(objpfx)tst-gettext4.out): Likewise.
56622         ($(objpfx)tst-gettext6.out): Likewise.
56623         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56624         (test_program_prefix): This.
56625         * intl/tst-gettext2.sh: Likewise.
56626         * intl/tst-gettext4.sh  Likewise.
56627         * intl/tst-gettext6.sh: Likewise.
56628         * intl/tst-translit.sh: Likewise.
56629         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56630         with $(test-program-cmd).
56631         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56632         $(run-program-prefix) with $(test-program-prefix).
56633         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56634         (test_program_prefix): This.
56635         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56636         $(run-program-prefix) with $(test-program-prefix).
56637         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56638         (test_program_prefix): This.
56639         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56640         * posix/Makefile ($(objpfx)globtest.out): Replace
56641         $(run-via-rtld-prefix) and $(test-wrapper) with
56642         $(test-program-prefix) and $(test-via-rtld-prefix).
56643         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56644         $(test-program-prefix).
56645         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56646         $(host-test-program-cmd).
56647         (tst-spawn-ARGS): Likewise.
56648         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56649         $(test-program-prefix).
56650         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56651         (test_via_rtld_prefix): This.
56652         (test_wrapper): Renamed to ...
56653         (test_program_prefix): This.
56654         (run_program_prefix): Replaced by test_program_prefix.
56655         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56656         (test_program_prefix): This.
56657         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56658         with $(host-test-program-cmd).
56659         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56660         $(run-program-prefix) with $(test-program-prefix).
56661         ($(objpfx)tst-printf.out): Likewise.
56662         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56663         $(test-program-cmd).
56664         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56665         (test_program_prefix): This.
56666         * stdio-common/tst-unbputc.sh: Likewise.
56667         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56668         $(run-program-prefix) with $(test-program-prefix).
56669         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56670         (test_program_prefix): This.
56671         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56672         $(built-program-cmd) with $(test-program-cmd).
56674 2013-01-11  Andreas Jaeger  <aj@suse.de>
56676         [BZ #15003]
56677         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56678         value. Sync with Linux 3.7.
56680 2013-01-10  David S. Miller  <davem@davemloft.net>
56682         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56683         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56684         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56686 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56688         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56689         never set.
56690         * configure: Regenerated.
56692 2013-01-10  David S. Miller  <davem@davemloft.net>
56694         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56695         sparc V9 rather than using V8 code.
56696         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56697         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56699 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56701         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56702         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56703         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56704         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56705         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56706         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56707         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56708         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56709         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56710         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56711         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56712         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56713         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56714         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56715         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56716         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56717         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56718         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56719         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56720         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56721         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56722         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56723         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56724         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56725         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56726         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56727         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56729 2013-01-10  David S. Miller  <davem@davemloft.net>
56731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56733 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56735         * posix/Makefile (tests-static): New variable.
56736         (tests): Add $(tests-static).
56737         (tst-exec-static-ARGS): New variable.
56738         (tst-spawn-static-ARGS): Likewise.
56739         * posix/tst-exec-static.c: New file.
56740         * posix/tst-spawn-static.c: Likewise.
56741         * posix/tst-exec.c: Support run directly.
56742         * posix/tst-spawn.c: Likewise.
56744 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56746         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56747         long.
56748         * math/bits/mathcalls.h (llrint): Likewise.
56749         (llround): Likewise.
56750         * stdlib/stdlib.h (struct drand48_data): Likewise.
56751         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56752         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56753         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56754         Likewise.
56755         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56756         Likewise.
56757         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56758         (elf_greg_t): Likewise.
56759         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56760         (__jmp_buf): Likewise.
56761         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56762         definitions.
56763         (llrint): Likewise, for all definitions.
56764         (llrintl): Likewise.
56766         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56767         Remove [__GNUC__] condition.
56768         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56769         condition to just [__USE_ISOC99].
56770         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56772 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56774         [BZ #14200]
56775         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56776         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56777         defined.
56778         (_POSIX_V6_ILP32_OFF32): Likewise.
56779         (_XBS5_ILP32_OFF32): Likewise.
56780         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56781         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56783 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56785         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56788         doubles __mpexp_twomm1.  Adjust usage.
56789         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56790         Remove.
56792 2013-01-10  Andreas Schwab  <schwab@suse.de>
56794         [BZ #14964]
56795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56796         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56798 2013-01-09  David S. Miller  <davem@davemloft.net>
56800         [BZ #15003]
56801         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56802         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56803         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56804         (TCP_FASTOPEN): Define.
56805         (tcp_repair_opt): New structure.
56806         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56807         enum values.
56808         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56809         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56810         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56811         (tcp_cookie_transactions): New structure.
56813 2013-01-09  Anton Blanchard  <anton@samba.org>
56815         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56816         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56818         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56820 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56822         * include/features.h (__USE_ANSI): Remove.
56824 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56826         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56828         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56830 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56832         * sysdeps/s390/fpu/libm-test-ulps: Update.
56834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56836         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56837         (__acr): Likewise.
56838         (__cpy): Likewise.
56839         (norm): Likewise.
56840         (denorm): Likewise.
56841         (__mp_dbl): Likewise.
56842         (__dbl_mp): Likewise.
56843         (add_magnitudes): Likewise.
56844         (sub_magnitudes): Likewise.
56845         (__add): Likewise.
56846         (__sub): Likewise.
56847         (__mul): Likewise.
56848         (__inv): Likewise.
56849         (__dvd): Likewise.
56850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56851         (__acr): Likewise.
56852         (__cpy): Likewise.
56853         (norm): Likewise.
56854         (denorm): Likewise.
56855         (__mp_dbl): Likewise.
56856         (__dbl_mp): Likewise.
56857         (add_magnitudes): Likewise.
56858         (sub_magnitudes): Likewise.
56859         (__add): Likewise.
56860         (__sub): Likewise.
56861         (__mul): Likewise.
56862         (__inv): Likewise.
56863         (__dvd): Likewise.
56864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56865         (__acr): Likewise.
56866         (__cpy): Likewise.
56867         (norm): Likewise.
56868         (denorm): Likewise.
56869         (__mp_dbl): Likewise.
56870         (__dbl_mp): Likewise.
56871         (add_magnitudes): Likewise.
56872         (sub_magnitudes): Likewise.
56873         (__add): Likewise.
56874         (__sub): Likewise.
56875         (__mul): Likewise.
56876         (__inv): Likewise.
56877         (__dvd): Likewise.
56879 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56881         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56882         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56883         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56884         2 && __USE_EXTERN_INLINES]: Likewise.
56886 2013-01-08  Andreas Jaeger  <aj@suse.de>
56888         [BZ# 14985]
56889         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56890         Remove.
56891         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56892         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56894 2013-01-07  Anton Blanchard  <anton@samba.org>
56896         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56897         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56898         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56899         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56900         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56901         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56902         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56903         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56905         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56906         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56907         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56909         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56910         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56911         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56912         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56913         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56914         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56915         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56916         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56917         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56919         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56920         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56921         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56922         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56923         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56925         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56926         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56928         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56929         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56930         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56931         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56932         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56934         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56936         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56937         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56938         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56940 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56942         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56943         (__MALLOC_PMT): Likewise.
56944         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56945         [__GNUC__], only on [_LIBC].
56946         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56947         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56948         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56949         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56950         forward declaration.
56951         (realloc_hook_ini): Likewise.
56952         (memalign_hook_ini): Likewise.
56953         (__libc_memalign): Do not use __MALLOC_PMT in variable
56954         declaration.
56955         (__libc_valloc): Likewise.
56956         (__libc_pvalloc): Likewise.
56957         (__libc_calloc): Likewise.
56958         (__posix_memalign): Likewise.
56960         [BZ #14996]
56961         * math/s_casinh.c: Include <float.h>.
56962         (__casinh): Do not do computation with squaring and square root
56963         for large arguments.
56964         * math/s_casinhf.c: Include <float.h>.
56965         (__casinhf): Do not do computation with squaring and square root
56966         for large arguments.
56967         * math/s_casinhl.c: Include <float.h>.
56968         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56969         (__casinhl): Do not do computation with squaring and square root
56970         for large arguments.
56971         * math/libm-test.inc (casin_test): Add more tests.
56972         (casinh_test): Likewise.
56973         * sysdeps/i386/fpu/libm-test-ulps: Update.
56974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56976 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56978         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56979         (__x86_64_raw_data_cache_size): Likewise.
56980         (__x86_64_data_cache_size_half): Likewise.
56981         (__x86_64_raw_data_cache_size_half): Likewise.
56982         (__x86_64_shared_cache_size): Likewise.
56983         (__x86_64_raw_shared_cache_size): Likewise.
56984         (__x86_64_shared_cache_size_half): Likewise.
56985         (__x86_64_raw_shared_cache_size_half): Likewise.
56986         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56987         to ...
56988         (__x86_data_cache_size): This.
56989         (__x86_64_raw_data_cache_size): Renamed to ...
56990         (__x86_raw_data_cache_size): This.
56991         (__x86_64_data_cache_size_half): Renamed to ...
56992         (__x86_data_cache_size_half): This.
56993         (__x86_64_raw_data_cache_size_half): Renamed to ...
56994         (__x86_raw_data_cache_size_half): This.
56995         (__x86_64_shared_cache_size): Renamed to ...
56996         (__x86_shared_cache_size): This.
56997         (__x86_64_raw_shared_cache_size): Renamed to ...
56998         (__x86_raw_shared_cache_size): This.
56999         (__x86_64_shared_cache_size_half): Renamed to ...
57000         (__x86_shared_cache_size_half): This.
57001         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57002         (__x86_raw_shared_cache_size_half): This.
57003         * sysdeps/x86_64/memcpy.S: Updated.
57004         * sysdeps/x86_64/memset.S: Likewise.
57005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57009 2013-01-04  David S. Miller  <davem@davemloft.net>
57011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57013 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57015         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57016         1 to avoid redefinition warning.
57017         (__USE_GNU): Don't define.
57018         (init_signaling_nan): Protoize.
57020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57022 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57024         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57026         (__cpymn): Likewise.
57027         (norm): Remove commented code.
57028         (denorm): Likewise.
57029         (__mp_dbl): Likewise.
57030         (__inv): Likewise.
57031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57032         (__cpymn): Likewise.
57033         (norm): Remove commented code.
57034         (denorm): Likewise.
57035         (__mp_dbl): Likewise.
57036         (__inv): Likewise.
57038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57039         mp_no value for 1.0 and 2.0.
57040         (norm): Use RADIXI instead of radixi.d.
57041         (denorm): Likewise.
57042         (__mul): Use 0.0 instead of zero.d.
57043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57044         mp_no value for 1.0 and 2.0.
57045         (norm): Use RADIXI instead of radixi.d.
57046         (denorm): Likewise.
57047         (__mul): Use 0.0 instead of zero.d.
57049 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57051         [BZ #14994]
57052         * math/s_casinh.c (__casinh): Reduce finite argument to first
57053         quadrant then set signs of results at the end.
57054         * math/s_casinhf.c (__casinhf): Likewise.
57055         * math/s_casinhl.c (__casinhl): Likewise.
57056         * math/libm-test.inc (casin_test): Add more tests.
57057         (casinh_test): Likewise.
57058         * sysdeps/i386/fpu/libm-test-ulps: Update.
57059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57061 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57063         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57065         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57067         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57068         declarations.
57069         (denorm): Likewise.
57070         (__mp_dbl): Likewise.
57071         (__inv): Likewise.
57073         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57074         and adjust the header comment.
57076         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57077         variable name from declaration.
57079 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57082         Initialize COMMON_CPUID_INDEX_7 element.
57083         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57084         (CPUID_RTM): Likewise.
57085         (HAS_RTM): Likewise.
57086         (COMMON_CPUID_INDEX_7): New enum.
57088 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57090         [BZ #14981]
57091         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57092         size is zero, record memory as freed.
57094 2013-01-03  Andreas Jaeger  <aj@suse.de>
57096         * po/ia.po: Add new Interlingua translation.
57098 2012-01-03  Allan McRae  <allan@archlinux.org>
57100         * locale/programs/localedef.c: Fix description of '--posix' flag.
57102 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57104         * NEWS: Update dates in second copyright notice.
57105         * README: Update copyright dates in example.
57106         * manual/libc.texinfo: Update copyright dates.
57107         * scripts/test-installation.pl: Update copyright date in --version
57108         output.
57110         * hurd/ctty-input.c: Fix copyright notice formatting.
57111         * hurd/ctty-output.c: Likewise.
57112         * hurd/dtable.c: Likewise.
57113         * hurd/hurd-raise.c: Likewise.
57114         * hurd/hurdprio.c: Likewise.
57115         * hurd/msgportdemux.c: Likewise.
57116         * misc/sys/file.h: Likewise.
57117         * misc/sys/ioctl.h: Likewise.
57118         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57119         * sysdeps/mach/hurd/chdir.c: Likewise.
57120         * sysdeps/mach/hurd/fchdir.c: Likewise.
57121         * sysdeps/mach/hurd/rename.c: Likewise.
57122         * sysdeps/mach/hurd/rmdir.c: Likewise.
57123         * sysdeps/mach/hurd/seekdir.c: Likewise.
57124         * sysdeps/mach/hurd/setsid.c: Likewise.
57125         * sysdeps/posix/wait3.c: Likewise.
57127         * All files with FSF copyright notices: Update copyright dates
57128         using scripts/update-copyrights.
57129         * intl/plural.c: Regenerated.
57130         * locale/programs/charmap-kw.h: Likewise.
57131         * locale/programs/locfile-kw.h: Likewise.
57133 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57135         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57136         four values.
57138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57139         calculation loop and add branch prediction.
57141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57142         check access beyond bounds of m1np.
57144         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57145         MPTWO.
57146         (__inv): Remove local variable MPTWO to use the global
57147         constant.
57148         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57150         variable MPTWO.
57151         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57152         MP3HALFS static const.
57154 2013-01-01  David S. Miller  <davem@davemloft.net>
57156         * po/ca.po: Update from translation team.
57158 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57160         * scripts/update-copyrights: New file.
57161         * Makeconfig: Reformat copyright notice.
57162         * ctype/ctype.h: Likewise.
57163         * debug/swprintf_chk.c: Likewise.
57164         * elf/dl-cache.c: Likewise.
57165         * elf/dl-debug.c: Likewise.
57166         * elf/dl-object.c: Likewise.
57167         * grp/initgroups.c: Likewise.
57168         * hurd/Makefile: Likewise.
57169         * hurd/hurd/signal.h: Likewise.
57170         * hurd/hurdfault.c: Likewise.
57171         * hurd/hurdioctl.c: Likewise.
57172         * hurd/hurdlookup.c: Likewise.
57173         * hurd/intr-msg.c: Likewise.
57174         * iconv/gconv_open.c: Likewise.
57175         * libio/swprintf.c: Likewise.
57176         * locale/lc-ctype.c: Likewise.
57177         * locale/nl_langinfo.c: Likewise.
57178         * mach/Machrules: Likewise.
57179         * mach/Makefile: Likewise.
57180         * malloc/obstack.h: Likewise.
57181         * manual/Makefile: Likewise.
57182         * manual/tsort.awk: Likewise.
57183         * misc/bits/stab.def: Likewise.
57184         * nis/nis_print_group_entry.c: Likewise.
57185         * nis/nis_table.c: Likewise.
57186         * nis/nss_compat/compat-pwd.c: Likewise.
57187         * nis/nss_compat/compat-spwd.c: Likewise.
57188         * po/Makefile: Likewise.
57189         * posix/fnmatch.c: Likewise.
57190         * posix/regex.h: Likewise.
57191         * resolv/Makefile: Likewise.
57192         * resolv/nss_dns/dns-network.c: Likewise.
57193         * resolv/res_hconf.c: Likewise.
57194         * scripts/gen-sorted.awk: Likewise.
57195         * soft-fp/soft-fp.h: Likewise.
57196         * stdio-common/printf.h: Likewise.
57197         * stdlib/monetary.h: Likewise.
57198         * stdlib/random.c: Likewise.
57199         * stdlib/random_r.c: Likewise.
57200         * sysdeps/generic/Makefile: Likewise.
57201         * sysdeps/gnu/Makefile: Likewise.
57202         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57204         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57206         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57209         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57210         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57211         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57212         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57213         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57214         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57215         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57216         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57217         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57218         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57219         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57220         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57221         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57222         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57223         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57224         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57225         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57226         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57227         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57228         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57229         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57230         * sysdeps/mach/hurd/errnos.awk: Likewise.
57231         * sysdeps/mach/hurd/fork.c: Likewise.
57232         * sysdeps/mach/hurd/getcwd.c: Likewise.
57233         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57234         * sysdeps/mach/hurd/mmap.c: Likewise.
57235         * sysdeps/mach/hurd/utimes.c: Likewise.
57236         * sysdeps/mach/hurd/xmknod.c: Likewise.
57237         * sysdeps/posix/profil.c: Likewise.
57238         * sysdeps/posix/readdir_r.c: Likewise.
57239         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57240         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57241         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57242         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57244         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57245         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57246         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57248         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57249         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57250         * sysdeps/pthread/lio_listio.c: Likewise.
57251         * sysdeps/sparc/dl-procinfo.h: Likewise.
57252         * sysdeps/unix/i386/sysdep.S: Likewise.
57253         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57254         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57255         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57256         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57258         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57259         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57260         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57261         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57262         * sysdeps/wordsize-32/divdi3.c: Likewise.
57263         * time/sys/time.h: Likewise.
57264         * wcsmbs/Makefile: Likewise.
57266 2013-01-01  David S. Miller  <davem@davemloft.net>
57268         * po/fr.po: Update from translation team.
57270         * catgets/gencat.c: Update copyright year.
57271         * csu/version.c: Likewise.
57272         * debug/catchsegv.sh: Likewise.
57273         * debug/pcprofiledump.c: Likewise.
57274         * debug/xtrace.sh: Likewise.
57275         * elf/ldconfig.c: Likewise.
57276         * elf/ldd.bash.in: Likewise.
57277         * elf/pldd.c: Likewise.
57278         * elf/sotruss.ksh: Likewise.
57279         * elf/sprof.c: Likewise.
57280         * iconv/iconv_prog.c: Likewise.
57281         * iconv/iconvconfig.c: Likewise.
57282         * locale/programs/locale.c: Likewise.
57283         * locale/programs/localedef.c: Likewise.
57284         * login/programs/pt_chown.c: Likewise.
57285         * malloc/memusage.sh: Likewise.
57286         * malloc/memusagestat.c: Likewise.
57287         * malloc/mtrace.pl: Likewise.
57288         * nscd/nscd.c: Likewise.
57289         * nss/getent.c: Likewise.
57290         * nss/makedb.c: Likewise.
57291         * posix/getconf.c: Likewise.
57293 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57295         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57296         numbers.
57298 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57300         * math/bits/mathcalls.h (modf): Use __nonnull.
57302 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57304         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57305         (split): Use macro CN instead of the bare value.
57306         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57307         could be used.
57308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57309         instead of the bare value.
57310         (power1): Likewise.
57312 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57314         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57315         __ATAN_TWOM.
57316         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57318         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57319         their values.
57320         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57321         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57322         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57323         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57325 2012-12-28  Andreas Jaeger  <aj@suse.de>
57327         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57328         values are from Linux 3.7.
57330         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57331         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57333 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57335         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57336         TRUE case.
57338         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57339         (norm): Likewise.
57340         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57341         variables with preprocessor constants.
57342         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57343         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57344         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57346 2012-12-27  Bruno Haible  <bruno@clisp.org>
57348         [BZ #14317]
57349         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57350         only if needed.
57352 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57355         and use variable directly.
57356         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57358         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57359         MPONE.
57360         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57361         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57362         variable MPONE.
57363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57365         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57366         include directive.  Remove local variable MPONE.
57367         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57368         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57369         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57371 2012-12-25  David S. Miller  <davem@davemloft.net>
57373         * version.h (RELEASE): Set to "development".
57374         (VERSION): Set to "2.17.90".
57375         * NEWS: Add 2.18 section.
57377 2012-12-21  David S. Miller  <davem@davemloft.net>
57379         * po/hr.po: Update from translation team.
57381 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57383         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57385 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57387         * NEWS:  Mention new memcpy for MIPS.
57389 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57391         * manual/contrib.texi (Contributors): Spelling correction.
57393 2012-12-15  David S. Miller  <davem@davemloft.net>
57395         * po/ru.po: Update from translation team.
57397 2012-12-13  David S. Miller  <davem@davemloft.net>
57399         * NEWS: Mention IFUNC testsuite enhancements.
57401         * po/pl.po: Update from translation team.
57402         * po/bg.po: Likewise.
57404         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57405         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57407 2012-12-11  David S. Miller  <davem@davemloft.net>
57409         * po/sv.po: Update from translation team.
57411         * po/vi.po: Update from translation team.
57413         * po/cs.po: Update from translation team.
57415         * po/de.po: Update from translation team.
57416         * po/eo.po: Likewise.
57417         * po/nl.po: Likewise.
57419 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57421         [BZ #14246]
57422         * manual/argp.texi (Argp Helper Functions): Move node to follow
57423         Argp Parsing State.
57425         [BZ #14872]
57426         * manual/conf.texi (Limits on File System Capacity): Mention if
57427         terminating null is included in the max size.
57429 2012-12-10  Andreas Jaeger  <aj@suse.de>
57431         * po/cs.po: Update from translation team.
57433 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57435         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57436         void pointer and cast to uintptr_t.
57437         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57438         path.
57439         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57440         * sysdeps/s390/s390-64/memset.S: Likewise.
57442 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57444         [BZ #14833]
57445         * menual/message.texi (Message Translation): Fix typos.
57446         (Helper programs for gettext): Likewise.
57448 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57450         [BZ #14898]
57451         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57452         Change to -1.
57454 2012-12-07  David S. Miller  <davem@davemloft.net>
57456         * po/libc.pot: Update.
57458 2012-12-07  Richard Henderson  <rth@redhat.com>
57460         [BZ #10114]
57461         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57462         normal/normal case to before the switch.
57463         (_FP_DIV): Likewise.
57465 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57466             Mike Frysinger  <vapier@gentoo.org>
57468         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57469         check for __NR_fadvise64_64.
57471 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57473         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57474         0, not just to plain "0" as a statement.
57475         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57476         with cw.
57478 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57480         * NEWS: Use sourceware.org in Bugzilla URL.
57482 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57485         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57487         * stdio-common/tst-put-error.c (do_test): Add newline to the
57488         padded test to ensure flush.
57490 2012-12-05  Jeff Law  <law@redhat.com>
57492         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57494 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57496         * README: Don't refer to ports add-on as distributed separately.
57497         Mention AArch64 in list of systems supported in the ports add-on.
57499         * LICENSES: Add more non-FSF copyright and license notices.
57501         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57502         ((unused)).
57504         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57506         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57507         10000 as width of padded output.
57509 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57511         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57514         variable LX with __attribute__ ((unused)).
57515         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57516         Likewise.
57517         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57518         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57520         with __attribute__ ((unused)).
57522 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57524         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57526 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57528         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57529         (CFLAGS-nldbl-acos.c): New variable.
57530         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57531         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57532         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57533         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57534         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57535         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57536         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57537         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57538         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57539         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57540         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57541         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57542         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57543         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57544         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57545         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57546         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57547         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57548         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57549         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57550         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57551         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57552         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57553         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57554         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57555         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57556         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57557         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57558         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57559         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57560         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57561         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57562         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57563         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57564         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57565         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57566         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57567         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57568         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57569         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57570         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57571         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57572         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57573         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57574         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57575         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57576         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57577         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57578         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57579         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57580         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57581         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57582         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57583         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57584         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57585         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57586         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57587         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57588         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57589         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57590         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57591         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57592         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57593         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57594         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57595         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57596         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57597         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57598         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57599         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57600         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57601         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57602         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57603         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57604         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57605         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57606         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57607         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57608         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57609         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57610         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57611         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57612         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57613         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57614         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57615         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57616         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57617         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57618         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57619         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57620         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57621         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57622         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57623         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57624         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57625         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57626         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57629         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57631         [BZ #14914]
57632         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57633         whole low double instead of just low 47 bits when splitting values
57634         into two parts.
57636 2012-12-03  Allan McRae  <allan@archlinux.org>
57638         * manual/stdio.texi (Predefined Printf Handlers): Remove
57639         @hsep and @vsep usage.
57641 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57643         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57644         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57646 2012-12-03  Jeff Law  <law@redhat.com>
57648         * time/sys/time.h (settimeofday): Do not mark TV argument
57649         as __nonnull.
57651 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57653         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57654         when currently writing and seek to current position when not.
57655         * libio/Makefile (tests): Remove bug-fclose1.
57656         * libio/bug-fclose1.c: Delete.
57658 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57660         * manual/arith.texi (feenableexcept): Fix typo.
57661         (fedisableexcept): Likewise.
57663 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57665         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57666         second, differently-typed declaration, rather than a cast.
57668 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57670         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57671         * include/rpc/svc.h: ... here.
57673 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57675         [BZ #13013]
57676         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57677         depending n and resplen2 to catch cases where answer
57678         equals answerp2.
57680 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57682         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57683         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57685 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57687         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57689 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57691         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57693 2012-11-28  Jeff Law  <law@redhat.com>
57695         [BZ #13761]
57696         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57697         dataset_temporary.  Track alloca usage into alloca_used.
57698         If dataset is large allocate and release it via malloc/free.
57700 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57702         [BZ #14197]
57703         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57705 2012-11-28  David S. Miller  <davem@davemloft.net>
57707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57709 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57711         [BZ #14803]
57712         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57713         of pi/2 rounded to nearest to 64 bits.
57714         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57715         nearest to 64 bits.
57716         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57717         bits.
57719 2012-11-28  Jeff Law <law@redhat.com>
57720             Martin Osvald <mosvald@redhat.com>
57722         [BZ #14889]
57723         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57724         * sunrpc/svc.c: Include time.h.
57725         (__svc_accept_failed): New function.
57726         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57727         any reason other than EINTR, call __svc_accept_failed.
57728         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57729         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57731 2012-11-28  Andreas Schwab  <schwab@suse.de>
57733         * scripts/abilist.awk: Also handle indirect functions in .opd
57734         section.
57736 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57738         [BZ #13881]
57739         * sysdeps/x86/fpu/powl_helper.c: New file.
57740         * sysdeps/x86/fpu/Makefile: Likewise.
57741         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57742         (p3): New object.
57743         (__ieee754_powl): Use __powl_helper for finite arguments except
57744         integer exponents below 8.
57745         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57746         (p3): New object.
57747         (__ieee754_powl): Use __powl_helper for finite arguments except
57748         integer exponents below 8.
57749         * math/libm-test.inc (pow_test): Add more tests and enable some
57750         previously disabled tests.
57751         * sysdeps/i386/fpu/libm-test-ulps: Update.
57752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57754 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57755             Carlos O'Donell  <carlos_odonell@mentor.com>
57757         * nss/makedb.c (is_prime): Assert that input is odd and greater
57758         than 4.  Note that fact in a comment too.
57759         (next_prime): Add 4 to input.
57761 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57763         [BZ #11741]
57764         * libio/Makefile (tests): Add test case tst-fwrite-error.
57765         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57766         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57767         * libio/tst-fwrite-error.c: New test case.
57769 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57771         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57772         before casting to void *.
57773         * include/libc-internal.h (__pointer_type): New macro.
57774         (__integer_if_pointer_type_sub): Likewise.
57775         (__integer_if_pointer_type): Likewise.
57776         (cast_to_integer): Likewise.
57777         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57778         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57779         before casting to atomic64_t.
57780         (atomic_exchange_acq): Likewise.
57781         (__arch_exchange_and_add_body): Likewise.
57782         (__arch_add_body): Likewise.
57783         (atomic_add_negative): Likewise.
57784         (atomic_add_zero): Likewise.
57786 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57788         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57789         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57790         (add_fdes): Likewise.
57791         (linear_search_fdes): Likewise.
57792         (binary_search_unencoded_fdes): Likewise.
57794 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57796         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57798 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57800         * configure.in: Autodetect C++ header directories.
57801         * configure: Regenerated.
57803 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57805         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57807 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57811 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57813         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57814         LDBL_MANT_DIG == 106]: Disable some tests.
57815         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57816         Likewise.
57817         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57818         Likewise.
57820         [BZ #14871]
57821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57822         input for small inputs.  Return +/- pi/2 for large inputs.
57823         * math/libm-test.inc (atan_test): Add more tests.
57825         * sysdeps/generic/unwind-dw2-fde-glibc.c
57826         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57827         __attribute__ ((unused)).
57829         [BZ #14645]
57830         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57831         x * y if x and y are nonzero and z is zero.
57833         [BZ #14811]
57834         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57835         nonzero exponents with absolute value below 0x1p-117 to +/-
57836         0x1p-117.
57838         [BZ #14869]
57839         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57840         up arguments below 2**-450, not just those below 2**-500.
57841         * math/libm-test.inc (hypot_test): Add another test.
57843         [BZ #14868]
57844         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57845         Return a+b for ratio over 2**120, not 2**60.
57846         * math/libm-test.inc (hypot_test): Add another test.
57848         * math/libm-test.inc (clog_test): Use
57849         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57850         (clog10_test): Likewise.
57852         [BZ #6778]
57853         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57855 2012-11-22  Andreas Schwab  <schwab@suse.de>
57857         * sysdeps/i386/fpu/libm-test-ulps: Update.
57859 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57861         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57862         printf output with newline.
57864 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57866         [BZ #14865]
57867         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57868         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57869         -z nodlopen, -z initfirst and -z execstack support.
57870         * configure: Regenerated.
57872         * elf/elf.h (DF_1_NODIRECT): New macro.
57873         (DF_1_IGNMULDEF): Likewise.
57874         (DF_1_NOKSYMS): Likewise.
57875         (DF_1_NOHDR): Likewise.
57876         (DF_1_EDITED): Likewise.
57877         (DF_1_NORELOC): Likewise.
57878         (DF_1_SYMINTPOSE): Likewise.
57879         (DF_1_GLOBAUDIT): Likewise.
57880         (DF_1_SINGLETON): Likewise.
57881         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57882         DT_1_SUPPORTED_MASK bits.
57883         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57885 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57887         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57889 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57891         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57892         macro.
57894         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57895         (sendmmsg): Move declarations...
57896         * socket/sys/socket.h: ... here.
57897         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57898         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57899         include it from...
57900         * socket/recvmmsg.c: ... this new file.
57901         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57902         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57903         definition of __sendmmsg hidden.
57904         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57905         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57906         Move ENOSYS stub into and include it from...
57907         * socket/sendmmsg.c: ... this new file.
57908         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57909         (sysdep_routines): Move recvmmsg and sendmmsg...
57910         * socket/Makefile (routines): ... here.
57911         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57912         (GLIBC_PRIVATE): Add __sendmmsg.
57913         * include/sys/socket.h (__sendmmsg): Add declarations.
57914         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57915         sendmmsg.
57917 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57919         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57920         variable I1 with __attribute__ ((unused)).
57921         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57923 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57925         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57926         DUMMY variables with __attribute__ ((unused)).
57928         * bits/byteswap.h: Include <bits/types.h>.
57929         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57931 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57933         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57934         string_t.  Do not manually set errno.
57935         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57936         length with __strnlen.  Make sure to both set errno and return it on
57937         failure.
57939 2012-11-19  David S. Miller  <davem@davemloft.net>
57941         With help from Joseph Myers.
57942         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57943         very large arguments properly.
57944         * math/libm-test.inc (atan_test): New tests.
57945         (atan2_test): New tests.
57946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57949 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57951         [BZ #14856]
57952         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57953         Define to 3.
57955         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57956         [POSIX] (EADDRNOTAVAIL): Likewise.
57957         [POSIX] (EAFNOSUPPORT): Likewise.
57958         [POSIX] (EALREADY): Likewise.
57959         [POSIX] (ECONNABORTED): Likewise.
57960         [POSIX] (ECONNREFUSED): Likewise.
57961         [POSIX] (ECONNRESET): Likewise.
57962         [POSIX] (EDESTADDRREQ): Likewise.
57963         [POSIX] (EDQUOT): Likewise.
57964         [POSIX] (EHOSTUNREACH): Likewise.
57965         [POSIX] (EIDRM): Likewise.
57966         [POSIX] (EISCONN): Likewise.
57967         [POSIX] (ELOOP): Likewise.
57968         [POSIX] (EMULTIHOP): Likewise.
57969         [POSIX] (ENETDOWN): Likewise.
57970         [POSIX] (ENETUNREACH): Likewise.
57971         [POSIX] (ENOBUFS): Likewise.
57972         [POSIX] (ENODATA): Likewise.
57973         [POSIX] (ENOLINK): Likewise.
57974         [POSIX] (ENOMSG): Likewise.
57975         [POSIX] (ENOPROTOOPT): Likewise.
57976         [POSIX] (ENOSR): Likewise.
57977         [POSIX] (ENOSTR): Likewise.
57978         [POSIX] (ENOTCONN): Likewise.
57979         [POSIX] (ENOTSOCK): Likewise.
57980         [POSIX] (EOPNOTSUPP): Likewise.
57981         [POSIX] (EOVERFLOW): Likewise.
57982         [POSIX] (EPROTO): Likewise.
57983         [POSIX] (EPROTONOSUPPORT): Likewise.
57984         [POSIX] (EPROTOTYPE): Likewise.
57985         [POSIX] (ESTALE): Likewise.
57986         [POSIX] (ETIME): Likewise.
57987         [POSIX] (ETXTBSY): Likewise.
57988         [POSIX] (EWOULDBLOCK): Likewise.
57989         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57990         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57991         [POSIX] (SEEK_CUR): Likewise.
57992         [POSIX] (SEEK_END): Likewise.
57993         [POSIX || UNIX98] (mode_t): Do not require.
57994         [POSIX] (off_t): Likewise.
57995         [POSIX] (pid_t): Likewise.
57996         [POSIX] (sys/stat.h): Do not allow header.
57997         [POSIX] (unistd.h): Likewise.
57998         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57999         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58000         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58001         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58002         require.
58003         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58004         sigevent): Specify elements.
58005         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58006         entry.
58007         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58008         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58010         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58011         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58012         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58013         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58014         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58015         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58016         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58017         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58018         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58019         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58020         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58021         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58022         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58023         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58024         Likewise.
58025         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58026         Likewise.
58027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58028         Likewise.
58029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58030         Likewise.
58031         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58032         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58033         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58034         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58035         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58036         Specify lower bound on value.
58037         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58038         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58039         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58040         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58041         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58042         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58043         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58044         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58045         value.
58046         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58047         as optional.
58048         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58049         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58050         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58051         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58052         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58053         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58054         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58055         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58056         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58057         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58058         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58059         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58060         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58061         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58062         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58063         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58064         entry.
58065         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58066         optional.
58067         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58068         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58069         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58070         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58071         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58072         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58073         Likewise.
58074         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58075         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58076         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58077         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58078         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58079         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58080         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58081         as optional.
58082         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58083         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58085         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58086         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58087         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58088         specify as optional.
58089         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58090         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58091         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58092         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58093         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58094         [XPG3] (NL_LANGMAX): Likewise.
58095         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58096         [POSIX || XPG3] (NL_NMAX): Likewise.
58097         [POSIX || XPG3] (NL_SETMAX): Likewise.
58098         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58099         [XPG3] (NZERO): Likewise.
58100         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58101         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58102         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58103         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58104         (REG_ERANGE): Expect.
58105         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58106         optional-constant.
58107         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58108         Use (void) in prototype.
58109         [POSIX] (*_t): Allow.
58110         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58111         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58112         (WRDE_BADVAL): Expect.
58114         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58115         expect.
58116         [XPG3 || XPG4] (O_RSYNC): Likewise.
58117         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58118         Likewise.
58119         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58120         [XPG3 || XPG4] (sigqueue): Likewise.
58121         [XPG3 || XPG4] (sigtimedwait): Likewise.
58122         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58123         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58124         [XPG3 || XPG4] (vsnprintf): Likewise.
58125         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58126         Likewise.
58127         [XPG3 || XPG4] (blksize_t): Likewise.
58128         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58129         Likewise.
58130         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58131         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58132         [XPG3 || XPG4] (struct itimerspec): Likewise.
58133         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58134         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58135         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58136         [XPG3 || XPG4] (clockid_t): Likewise.
58137         [XPG3 || XPG4] (timer_t): Likewise.
58138         [XPG3 || XPG4] (clock_getres): Likewise.
58139         [XPG3 || XPG4] (clock_gettime): Likewise.
58140         [XPG3 || XPG4] (clock_settime): Likewise.
58141         [XPG3 || XPG4] (nanosleep): Likewise.
58142         [XPG3 || XPG4] (timer_create): Likewise.
58143         [XPG3 || XPG4] (timer_delete): Likewise.
58144         [XPG3 || XPG4] (timer_gettime): Likewise.
58145         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58146         [XPG3 || XPG4] (timer_settime): Likewise.
58147         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58148         [XPG3 || XPG4] (getlogin_r): Likewise.
58149         [XPG3 || XPG4] (pread): Likewise.
58150         [XPG3 || XPG4] (pthread_atfork): Likewise.
58151         [XPG3 || XPG4] (pwrite): Likewise.
58153         [BZ #14835]
58154         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58155         <bits/siginfo.h>.
58157 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58159         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58160         finalizing MALLSTREAM.
58162         * sysdeps/mach/hurd/syncfs.c: New file.
58164 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58166         [BZ #14719]
58167         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58168         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58169         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58170         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58171         (_nss_dns_gethostbyname4_r): Likewise.
58172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58173         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58175 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58177         [BZ #13763]
58178         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58180 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58182         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58183         * elf/cache.c (print_entry): Print ",AArch64" for
58184         FLAG_AARCH64_LIB64
58186         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58187         * elf/cache.c (print_entry): Print ",hard-float" for
58188         FLAG_ARM_LIBHF.
58190 2012-11-18  David S. Miller  <davem@davemloft.net>
58192         With help from Joseph Myers.
58193         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58194         cutoff to 2**-13.
58195         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58196         cutoff to 2**-25.
58197         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58198         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58199         small.
58200         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58201         * math/libm-test.inc (y0_test): New tests.
58202         (y1_test): New tests.
58203         * sysdeps/i386/fpu/libm-test-ulps: Update.
58204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58207 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58209         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58210         64-bit targets.
58211         * configure: Regenerated.
58213 2012-11-17  David S. Miller  <davem@davemloft.net>
58215         [BZ #14811]
58216         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58217         nonzero exponents with absolute value below 0x1p-128 to +/-
58218         0x1p-128.
58220 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58222         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58224         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58226         * posix/getconf-speclist.c: New file.
58227         * posix/posix-envs.def: Likewise.
58228         * posix/confstr.c (START_ENV_GROUP): New macro.
58229         (END_ENV_GROUP): Likewise.
58230         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58231         (KNOWN_PRESENT_ENV_STRING): Likewise.
58232         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58233         (UNKNOWN_ENVIRONMENT): Likewise.
58234         (confstr): Include posix-envs.def instead of handling
58235         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58236         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58237         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58238         (END_ENV_GROUP): Likewise.
58239         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58240         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58241         (UNKNOWN_ENVIRONMENT): Likewise.
58242         (__sysconf): Include posix-envs.def instead of handling associated
58243         cases directly here.
58244         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58245         preprocessing getconf-speclist.c rather than running getconf or
58246         generating empty file.
58248 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58250         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58252 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58254         [BZ #14672]
58255         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58257 2012-11-16  David S. Miller  <davem@davemloft.net>
58259         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58260         smaller than LDBL_EPSILON/2.0L, just return xm1.
58262 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58264         * elf/tst-array1.c (init): Set constructor priority to 1000.
58265         (fini): Set destructor priority to 1000.
58266         * elf/tst-array2dep.c: Likewise.
58268 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58270         [BZ #11741]
58271         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58272         (_IO_new_file_xsputn): Also return EOF if none of the input
58273         data was written when overflow failed.
58274         * libio/iopadn.c (_IO_padn): Likewise.
58275         * libio/iowpadn.c (_IO_wpadn): Likewise.
58276         * stdio-common/tst-put-error.c: Add copyright notice.
58277         (do_test): Add case for printing padded string.
58278         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58279         _IO_padn returned error.
58280         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58281         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58282         return EOF.
58284 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58286         * libio/libioP.h: Add comment note that the references to C++
58287         bits are now obsolete.
58289 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58291         * math/libm-test.inc (check_complex): Use asprintf.
58293 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58295         * debug/pcprofiledump.c (print_version): Update copyright year.
58296         * malloc/memusagestat.c (print_version): Likewise.
58298 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58300         [BZ #14831]
58301         * elf/Makefile (tests): Add tst-audit8.
58302         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58303         ($(objpfx)tst-audit8.out): New target.
58304         (tst-audit8-ENV): New variable.
58305         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58306         audit if l_reloc_result is NULL.
58307         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58308         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58309         * elf/tst-audit8.c: New file.
58311 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58313         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58314         * misc/Makefile (CFLAGS-select.c): Define.
58315         * posix/Makefile (CFLAGS-pause.c): Define.
58317 2012-11-13  David S. Miller  <davem@davemloft.net>
58319         * crypt/Makefile: Move test targets after toplevel Rules
58320         inclusion.  Grab any necessary sysdep routines when linking.
58321         * crypt/md5.c (md5_process_block): Remove define, we will always
58322         name it __md5_process_block.
58323         (md5_finish_ctx): Update md5_process_block call.
58324         (md5_stream): Likewise.
58325         (md5_process_bytes): Likewise.
58326         (md5_process_block): Rename to __md5_process_block and move to ...
58327         * crypt/md5-block.c: ... here.
58328         * crypt/sha256.c (sha256_process_block): Move to ...
58329         * crypt/sha256-block.c: ... here.
58330         * crypt/sha512.c (sha512_process_block): Move to ...
58331         * crypt/sha512-block.c: ... here.
58332         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58333         path.
58334         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58335         * sysdeps/sparc/sparc64/multiarch/Makefile
58336         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58337         crypt subdir.
58338         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58339         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58340         multiarch changes.
58341         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58342         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58343         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58344         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58345         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58346         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58347         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58348         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58349         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58350         file.
58351         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58352         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58353         file.
58354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58356 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58358         * timezone/tzselect.ksh: Update from tzcode git revision
58359         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58360         * timezone/zdump.c: Likewise.
58361         * timezone/zic.c: Likewise.
58362         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58363         in TZVERSION setting, not $(PKGVERSION).
58364         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58365         REPORT_BUGS_TO settings.
58367         [BZ #14838]
58368         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58369         macro.
58371 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58373         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58374         detection to immediately after _FP_ROUND().
58375         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58376         bits are 0.
58378 2012-11-11  David S. Miller  <davem@davemloft.net>
58380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58381         inttypes.h
58382         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58383         __close rather than their public counterparts.
58385 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58387         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58388         file.
58389         [UNIX98] (sem_timedwait): Do not expect.
58390         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58391         [XPG4 || UNIX98] (sockatmark): Do not expect.
58392         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58393         (clock_getcpuclockid): Do not expect.
58394         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58395         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58396         Do not expect.
58397         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58398         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58399         [UNIX98] (vwscanf): Likewise.
58400         [UNIX98] (vswscanf): Likewise.
58402 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58404         * timezone/version.h: Remove file.
58405         * timezone/README: Do not refer to version.h.
58406         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58407         $(objpfx)version.h.
58408         ($(objpfx)zdump.o): Likewise.
58409         ($(objpfx)version.h): New target.
58411         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58412         2012i.
58413         * timezone/README: Don't mention modification to tzselect.ksh.
58414         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58415         work on unmodified tzselect.ksh.  Substitute version numbers in
58416         tzselect.ksh.
58418         * Makefile (format-me): Remove.
58419         (INSTALL): Adjust indentation.  Use commands directly instead of
58420         using $(format-me).
58422         * aclocal.m4 (ACX_PKGVERSION): New macro.
58423         (ACX_BUGURL): Likewise.
58424         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58425         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58426         (REPORT_BUGS_TO): Likewise.
58427         * configure: Regenerated.
58428         * config.h.in (PKGVERSION): New macro.
58429         (REPORT_BUGS_TO): Likewise.
58430         * config.make.in (PKGVERSION): New variable.
58431         (PKGVERSION_TEXI): Likewise.
58432         (REPORT_BUGS_TO): Likewise.
58433         (REPORT_BUGS_TEXI): Likewise.
58434         * Makefile (format-me): Use -I$(common-objpfx)manual.
58435         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58436         ($(common-objpfx)manual/%): New target.
58437         (manual/%): Remove target.
58438         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58439         (print_version): Use PKGVERSION.
58440         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58441         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58442         and REPORT_BUGS_TO.
58443         ($(objpfx)xtrace): Likewise.
58444         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58445         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58446         (print_version): Use PKGVERSION.
58447         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58448         (do_version): Use PKGVERSION.
58449         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58450         REPORT_BUGS_TO.
58451         (common-ldd-rewrite): Likewise.
58452         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58453         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58454         (print_version): Use PKGVERSION.
58455         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58456         * elf/pldd.c (argp_program_bug_address): Remove variable.
58457         (more_help): New function.
58458         (argp): Use more_help.
58459         (print_version): Use PKGVERSION.
58460         * elf/sln.c (main): Use PKGVERSION.
58461         (usage): Use REPORT_BUGS_TO.
58462         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58463         (top level): Use PKGVERSION.
58464         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58465         (print_version): Use PKGVERSION.
58466         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58467         (print_version): Use PKGVERSION.
58468         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58469         (print_version): Use PKGVERSION.
58470         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58471         (print_version): Use PKGVERSION.
58472         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58473         (print_version): Use PKGVERSION.
58474         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58475         (print_version): Use PKGVERSION.
58476         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58477         and BUGURL.
58478         ($(objpfx)memusage): Likewise.
58479         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58480         (do_version): Use PKGVERSION.
58481         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58482         (print_version): Use PKGVERSION.
58483         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58484         ($PKGVERSION): New variable.
58485         ($REPORT_BUGS_TO): Likewise.
58486         (usage): Use $REPORT_BUGS_TO.
58487         (top level): Use $PKGVERSION.
58488         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58489         ($(objpfx)pkgvers.texi): New rule.
58490         ($(objpfx)stamp-pkgvers): Likewise.
58491         * manual/install.texi: Include pkgvers.texi.
58492         (--with-pkgversion): Document new configure option.
58493         (--with-bugurl): Likewise.
58494         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58495         than necessarily for this particular distribution.  Use
58496         REPORT_BUGS_TO for where to report bugs.
58497         * INSTALL: Regenerated.
58498         * manual/libc.texinfo: Include pkgvers.texi.
58499         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58500         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58501         (print_version): Use PKGVERSION.
58502         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58503         (print_version): Use PKGVERSION.
58504         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58505         (print_version): Use PKGVERSION.
58506         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58507         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58508         macro.
58509         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58510         (print_version): Use PKGVERSION.
58511         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58512         (print_version): Use PKGVERSION.
58513         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58514         and PKGVERSION.
58516         * timezone/checktab.awk: Update from tzcode 2012i.
58517         * timezone/ialloc.c: Likewise.
58518         * timezone/private.h: Likewise.
58519         * timezone/scheck.c: Likewise.
58520         * timezone/tzfile.h: Likewise.
58521         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58522         (TZVERSION): Hardcode tzcode version number.
58523         * timezone/zdump.c: Update from tzcode 2012i.
58524         * timezone/zic.c: Likewise.
58525         * timezone/version.h: New file.
58526         * timezone/README: Describe version.h.  Update upstream location.
58528         [BZ #14824]
58529         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58530         (mktemp): Enable declaration.
58531         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58532         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58533         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58535         Likewise.
58536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58537         Likewise.
58538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58539         Likewise.
58540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58541         Likewise.
58542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58543         Likewise.
58544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58545         Likewise.
58547         [BZ #14821]
58548         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58549         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58550         for copies of such integer values.
58551         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58552         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58554 2012-11-09  Andreas Jaeger  <aj@suse.de>
58556         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58557         definitions and declarations that are provided by
58558         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58560 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58562         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58563         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58564         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58565         definition.
58567 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58569         * elf/elf.h: Update comment before AArch64 relocations.
58571 2012-11-07  David S. Miller  <davem@davemloft.net>
58573         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58574         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58575         (__start_context): Declare.
58576         (__makecontext_ret): Delete.
58577         (__makecontext): Hook up __start_context instead of
58578         __makecontext_ret.
58579         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58580         (sysdep_routines): Add __start_context when in stdlib.
58582 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58584         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58585         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58586         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58587         hardcoded "nm".
58588         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58589         (READELF): New variable.  Use it instead of hardcoded "readelf".
58591 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58593         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58594         * sysdeps/x86/Makefile: Here.
58595         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58596         * sysdeps/x86/tst-xmmymm.sh: This.
58598 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58600         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58601         expectations.
58602         [UNIX98] (pthread_barrier_t): Do not expect.
58603         [UNIX98] (pthread_barrierattr_t): Likewise.
58604         [UNIX98] (pthread_spinlock_t): Likewise.
58605         [UNIX98] (pthread_barrier_destroy): Likewise.
58606         [UNIX98] (pthread_barrier_init): Likewise.
58607         [UNIX98] (pthread_barrier_wait): Likewise.
58608         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58609         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58610         [UNIX98] (pthread_barrierattr_init): Likewise.
58611         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58612         [UNIX98] (pthread_getcpuclockid): Likewise.
58613         [UNIX98] (pthread_mutex_timedlock): Likewise.
58614         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58615         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58616         [UNIX98] (pthread_sigmask): Likewise.
58617         [UNIX98] (pthread_spin_destroy): Likewise.
58618         [UNIX98] (pthread_spin_init): Likewise.
58619         [UNIX98] (pthread_spin_lock): Likewise.
58620         [UNIX98] (pthread_spin_trylock): Likewise.
58621         [UNIX98] (pthread_spin_unlock): Likewise.
58622         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58623         Do not expect.
58624         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58625         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58626         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58627         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58628         [XPG3 || XPG4] (pthread_key_t): Likewise.
58629         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58630         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58631         [XPG3 || XPG4] (pthread_once_t): Likewise.
58632         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58633         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58634         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58635         [XPG3 || XPG4] (pthread_t): Likewise.
58637         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58638         not expect.
58639         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58641         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58642         Change function return type to int.
58644         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58645         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58646         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58647         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58648         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58649         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58650         [!POSIX] (posix_madvise): Likewise.
58651         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58652         && !UNIX98].
58653         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58654         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58655         (mode_t): Likewise.
58656         (posix_mem_offset): Likewise.
58657         (posix_typed_mem_get_info): Likewise.
58658         (posix_typed_mem_open): Likewise.
58660         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58661         Change condition to [XOPEN2K8].
58663         * conform/conformtest.pl: Preprocess allow-header data with -x c
58664         instead of from stdin.
58665         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58666         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58667         [C99-based standards] (cerfc): Likewise.
58668         [C99-based standards] (cexp2): Likewise.
58669         [C99-based standards] (cexpm1): Likewise.
58670         [C99-based standards] (clog10): Likewise.
58671         [C99-based standards] (clog1p): Likewise.
58672         [C99-based standards] (clog2): Likewise.
58673         [C99-based standards] (clgamma): Likewise.
58674         [C99-based standards] (ctgamma): Likewise.
58675         [C99-based standards] (cerff): Likewise.
58676         [C99-based standards] (cerfcf): Likewise.
58677         [C99-based standards] (cexp2f): Likewise.
58678         [C99-based standards] (cexpm1f): Likewise.
58679         [C99-based standards] (clog10f): Likewise.
58680         [C99-based standards] (clog1pf): Likewise.
58681         [C99-based standards] (clog2f): Likewise.
58682         [C99-based standards] (clgammaf): Likewise.
58683         [C99-based standards] (ctgammaf): Likewise.
58684         [C99-based standards] (cerfl): Likewise.
58685         [C99-based standards] (cerfcl): Likewise.
58686         [C99-based standards] (cexp2l): Likewise.
58687         [C99-based standards] (cexpm1l): Likewise.
58688         [C99-based standards] (clog10l): Likewise.
58689         [C99-based standards] (clog1pl): Likewise.
58690         [C99-based standards] (clog2l): Likewise.
58691         [C99-based standards] (clgammal): Likewise.
58692         [C99-based standards] (ctgammal): Likewise.
58693         * conform/data/inttypes.h-data [C99-based standards]: Include
58694         stdint.h-data.  Remove all expectations for stdint.h contents.
58695         [C99-based standards] (PRI*): Do not allow.
58696         [C99-based standards] (SCN*): Likewise.
58697         [C99-based standards] (*_t): Likewise.
58698         [C99-based-standards] (PRId8): Expect macro.
58699         [C99-based-standards] (PRIi8): Likewise.
58700         [C99-based-standards] (PRIo8): Likewise.
58701         [C99-based-standards] (PRIu8): Likewise.
58702         [C99-based-standards] (PRIx8): Likewise.
58703         [C99-based-standards] (PRIX8): Likewise.
58704         [C99-based-standards] (SCNd8): Likewise.
58705         [C99-based-standards] (SCNi8): Likewise.
58706         [C99-based-standards] (SCNo8): Likewise.
58707         [C99-based-standards] (SCNu8): Likewise.
58708         [C99-based-standards] (SCNx8): Likewise.
58709         [C99-based-standards] (PRIdLEAST8): Likewise.
58710         [C99-based-standards] (PRIiLEAST8): Likewise.
58711         [C99-based-standards] (PRIoLEAST8): Likewise.
58712         [C99-based-standards] (PRIuLEAST8): Likewise.
58713         [C99-based-standards] (PRIxLEAST8): Likewise.
58714         [C99-based-standards] (PRIXLEAST8): Likewise.
58715         [C99-based-standards] (SCNdLEAST8): Likewise.
58716         [C99-based-standards] (SCNiLEAST8): Likewise.
58717         [C99-based-standards] (SCNoLEAST8): Likewise.
58718         [C99-based-standards] (SCNuLEAST8): Likewise.
58719         [C99-based-standards] (SCNxLEAST8): Likewise.
58720         [C99-based-standards] (PRIdFAST8): Likewise.
58721         [C99-based-standards] (PRIiFAST8): Likewise.
58722         [C99-based-standards] (PRIoFAST8): Likewise.
58723         [C99-based-standards] (PRIuFAST8): Likewise.
58724         [C99-based-standards] (PRIxFAST8): Likewise.
58725         [C99-based-standards] (PRIXFAST8): Likewise.
58726         [C99-based-standards] (SCNdFAST8): Likewise.
58727         [C99-based-standards] (SCNiFAST8): Likewise.
58728         [C99-based-standards] (SCNoFAST8): Likewise.
58729         [C99-based-standards] (SCNuFAST8): Likewise.
58730         [C99-based-standards] (SCNxFAST8): Likewise.
58731         [C99-based-standards] (PRId16): Likewise.
58732         [C99-based-standards] (PRIi16): Likewise.
58733         [C99-based-standards] (PRIo16): Likewise.
58734         [C99-based-standards] (PRIu16): Likewise.
58735         [C99-based-standards] (PRIx16): Likewise.
58736         [C99-based-standards] (PRIX16): Likewise.
58737         [C99-based-standards] (SCNd16): Likewise.
58738         [C99-based-standards] (SCNi16): Likewise.
58739         [C99-based-standards] (SCNo16): Likewise.
58740         [C99-based-standards] (SCNu16): Likewise.
58741         [C99-based-standards] (SCNx16): Likewise.
58742         [C99-based-standards] (PRIdLEAST16): Likewise.
58743         [C99-based-standards] (PRIiLEAST16): Likewise.
58744         [C99-based-standards] (PRIoLEAST16): Likewise.
58745         [C99-based-standards] (PRIuLEAST16): Likewise.
58746         [C99-based-standards] (PRIxLEAST16): Likewise.
58747         [C99-based-standards] (PRIXLEAST16): Likewise.
58748         [C99-based-standards] (SCNdLEAST16): Likewise.
58749         [C99-based-standards] (SCNiLEAST16): Likewise.
58750         [C99-based-standards] (SCNoLEAST16): Likewise.
58751         [C99-based-standards] (SCNuLEAST16): Likewise.
58752         [C99-based-standards] (SCNxLEAST16): Likewise.
58753         [C99-based-standards] (PRIdFAST16): Likewise.
58754         [C99-based-standards] (PRIiFAST16): Likewise.
58755         [C99-based-standards] (PRIoFAST16): Likewise.
58756         [C99-based-standards] (PRIuFAST16): Likewise.
58757         [C99-based-standards] (PRIxFAST16): Likewise.
58758         [C99-based-standards] (PRIXFAST16): Likewise.
58759         [C99-based-standards] (SCNdFAST16): Likewise.
58760         [C99-based-standards] (SCNiFAST16): Likewise.
58761         [C99-based-standards] (SCNoFAST16): Likewise.
58762         [C99-based-standards] (SCNuFAST16): Likewise.
58763         [C99-based-standards] (SCNxFAST16): Likewise.
58764         [C99-based-standards] (PRId32): Likewise.
58765         [C99-based-standards] (PRIi32): Likewise.
58766         [C99-based-standards] (PRIo32): Likewise.
58767         [C99-based-standards] (PRIu32): Likewise.
58768         [C99-based-standards] (PRIx32): Likewise.
58769         [C99-based-standards] (PRIX32): Likewise.
58770         [C99-based-standards] (SCNd32): Likewise.
58771         [C99-based-standards] (SCNi32): Likewise.
58772         [C99-based-standards] (SCNo32): Likewise.
58773         [C99-based-standards] (SCNu32): Likewise.
58774         [C99-based-standards] (SCNx32): Likewise.
58775         [C99-based-standards] (PRIdLEAST32): Likewise.
58776         [C99-based-standards] (PRIiLEAST32): Likewise.
58777         [C99-based-standards] (PRIoLEAST32): Likewise.
58778         [C99-based-standards] (PRIuLEAST32): Likewise.
58779         [C99-based-standards] (PRIxLEAST32): Likewise.
58780         [C99-based-standards] (PRIXLEAST32): Likewise.
58781         [C99-based-standards] (SCNdLEAST32): Likewise.
58782         [C99-based-standards] (SCNiLEAST32): Likewise.
58783         [C99-based-standards] (SCNoLEAST32): Likewise.
58784         [C99-based-standards] (SCNuLEAST32): Likewise.
58785         [C99-based-standards] (SCNxLEAST32): Likewise.
58786         [C99-based-standards] (PRIdFAST32): Likewise.
58787         [C99-based-standards] (PRIiFAST32): Likewise.
58788         [C99-based-standards] (PRIoFAST32): Likewise.
58789         [C99-based-standards] (PRIuFAST32): Likewise.
58790         [C99-based-standards] (PRIxFAST32): Likewise.
58791         [C99-based-standards] (PRIXFAST32): Likewise.
58792         [C99-based-standards] (SCNdFAST32): Likewise.
58793         [C99-based-standards] (SCNiFAST32): Likewise.
58794         [C99-based-standards] (SCNoFAST32): Likewise.
58795         [C99-based-standards] (SCNuFAST32): Likewise.
58796         [C99-based-standards] (SCNxFAST32): Likewise.
58797         [C99-based-standards] (PRId64): Likewise.
58798         [C99-based-standards] (PRIi64): Likewise.
58799         [C99-based-standards] (PRIo64): Likewise.
58800         [C99-based-standards] (PRIu64): Likewise.
58801         [C99-based-standards] (PRIx64): Likewise.
58802         [C99-based-standards] (PRIX64): Likewise.
58803         [C99-based-standards] (SCNd64): Likewise.
58804         [C99-based-standards] (SCNi64): Likewise.
58805         [C99-based-standards] (SCNo64): Likewise.
58806         [C99-based-standards] (SCNu64): Likewise.
58807         [C99-based-standards] (SCNx64): Likewise.
58808         [C99-based-standards] (PRIdLEAST64): Likewise.
58809         [C99-based-standards] (PRIiLEAST64): Likewise.
58810         [C99-based-standards] (PRIoLEAST64): Likewise.
58811         [C99-based-standards] (PRIuLEAST64): Likewise.
58812         [C99-based-standards] (PRIxLEAST64): Likewise.
58813         [C99-based-standards] (PRIXLEAST64): Likewise.
58814         [C99-based-standards] (SCNdLEAST64): Likewise.
58815         [C99-based-standards] (SCNiLEAST64): Likewise.
58816         [C99-based-standards] (SCNoLEAST64): Likewise.
58817         [C99-based-standards] (SCNuLEAST64): Likewise.
58818         [C99-based-standards] (SCNxLEAST64): Likewise.
58819         [C99-based-standards] (PRIdFAST64): Likewise.
58820         [C99-based-standards] (PRIiFAST64): Likewise.
58821         [C99-based-standards] (PRIoFAST64): Likewise.
58822         [C99-based-standards] (PRIuFAST64): Likewise.
58823         [C99-based-standards] (PRIxFAST64): Likewise.
58824         [C99-based-standards] (PRIXFAST64): Likewise.
58825         [C99-based-standards] (SCNdFAST64): Likewise.
58826         [C99-based-standards] (SCNiFAST64): Likewise.
58827         [C99-based-standards] (SCNoFAST64): Likewise.
58828         [C99-based-standards] (SCNuFAST64): Likewise.
58829         [C99-based-standards] (SCNxFAST64): Likewise.
58830         [C99-based-standards] (PRIdMAX): Likewise.
58831         [C99-based-standards] (PRIiMAX): Likewise.
58832         [C99-based-standards] (PRIoMAX): Likewise.
58833         [C99-based-standards] (PRIuMAX): Likewise.
58834         [C99-based-standards] (PRIxMAX): Likewise.
58835         [C99-based-standards] (PRIXMAX): Likewise.
58836         [C99-based-standards] (SCNdMAX): Likewise.
58837         [C99-based-standards] (SCNiMAX): Likewise.
58838         [C99-based-standards] (SCNoMAX): Likewise.
58839         [C99-based-standards] (SCNuMAX): Likewise.
58840         [C99-based-standards] (SCNxMAX): Likewise.
58841         [C99-based-standards] (PRIdPTR): Likewise.
58842         [C99-based-standards] (PRIiPTR): Likewise.
58843         [C99-based-standards] (PRIoPTR): Likewise.
58844         [C99-based-standards] (PRIuPTR): Likewise.
58845         [C99-based-standards] (PRIxPTR): Likewise.
58846         [C99-based-standards] (PRIXPTR): Likewise.
58847         [C99-based-standards] (SCNdPTR): Likewise.
58848         [C99-based-standards] (SCNiPTR): Likewise.
58849         [C99-based-standards] (SCNoPTR): Likewise.
58850         [C99-based-standards] (SCNuPTR): Likewise.
58851         [C99-based-standards] (SCNxPTR): Likewise.
58852         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58853         allow.
58854         * conform/data/stdint.h-data: Update comments to clarify
58855         requirements.
58856         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58857         type.
58858         [C99-based standards] (INT8_MAX): Likewise.
58859         [C99-based standards] (INT16_MIN): Likewise.
58860         [C99-based standards] (INT16_MAX): Likewise.
58861         [C99-based standards] (INT32_MIN): Likewise.
58862         [C99-based standards] (INT32_MAX): Likewise.
58863         [C99-based standards] (INT64_MIN): Likewise.
58864         [C99-based standards] (INT64_MAX): Likewise.
58865         [C99-based standards] (UINT8_MAX): Likewise.
58866         [C99-based standards] (UINT16_MAX): Likewise.
58867         [C99-based standards] (UINT32_MAX): Likewise.
58868         [C99-based standards] (UINT64_MAX): Likewise.
58869         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58870         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58871         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58872         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58873         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58874         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58875         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58876         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58877         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58878         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58879         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58880         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58881         [C99-based standards] (INT_FAST8_MIN): Likewise.
58882         [C99-based standards] (INT_FAST8_MAX): Likewise.
58883         [C99-based standards] (INT_FAST16_MIN): Likewise.
58884         [C99-based standards] (INT_FAST16_MAX): Likewise.
58885         [C99-based standards] (INT_FAST32_MIN): Likewise.
58886         [C99-based standards] (INT_FAST32_MAX): Likewise.
58887         [C99-based standards] (INT_FAST64_MIN): Likewise.
58888         [C99-based standards] (INT_FAST64_MAX): Likewise.
58889         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58890         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58891         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58892         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58893         [C99-based standards] (INTPTR_MIN): Likewise.
58894         [C99-based standards] (INTPTR_MAX): Likewise.
58895         [C99-based standards] (UINTPTR_MAX): Likewise.
58896         [C99-based standards] (INTMAX_MIN): Likewise.
58897         [C99-based standards] (INTMAX_MAX): Likewise.
58898         [C99-based standards] (UINTMAX_MAX): Likewise.
58899         [C99-based standards] (PTRDIFF_MIN): Likewise.
58900         [C99-based standards] (PTRDIFF_MAX): Likewise.
58901         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58902         [C99-based standards] (SIZE_MAX): Likewise.
58903         [C99-based standards] (WCHAR_MAX): Likewise.
58904         [C99-based standards] (WINT_MAX): Likewise.
58905         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58906         constraint on value.
58907         [C99-based standards] (WCHAR_MIN): Likewise.
58908         [C99-based standards] (WINT_MIN): Likewise.
58909         [C99-based standards] (*_t): Allow.
58910         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58911         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58912         Include math.h-data and complex.h-data.  Remove all expectations
58913         of math.h and complex.h contents.
58914         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58915         at end of line.
58916         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58917         (struct tm): Expect tag.
58918         [C99-based-standards] (wcstof): Expect function.
58919         [C99-based-standards] (wcstold): Likewise.
58920         [C99-based-standards] (wcstoll): Likewise.
58921         [C99-based-standards] (wcstoull): Likewise.
58922         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58923         macro-int-constant.  Specify type.
58924         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58925         constraint on value.
58926         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58927         Specify type.
58928         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58929         Specify value.
58930         [ISO C standards]: Do not allow headers.
58931         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58932         wcs[abcdefghijklmnopqrstuvwxyz]*.
58933         [ISO C standards] (*_t): Do not allow.
58934         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58935         Expect function.
58936         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58937         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58938         Specify type.
58939         [ISO C standards]: Do not allow headers.
58940         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58941         is[abcdefghijklmnopqrstuvwxyz]*.
58942         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58943         to[abcdefghijklmnopqrstuvwxyz]*.
58944         [ISO C standards] (*_t): Do not allow.
58945         * conform/data/stdalign.h-data: New file.
58946         * conform/data/stdbool.h-data: Likewise.
58947         * conform/data/stdnoreturn.h-data: Likewise.
58949 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58951         [BZ #14815]
58952         * manual/filesys.texi (Directory Entries): Typo fix.
58953         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58955 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58957         * elf/elf.h (EM_AARCH64): New macro.
58958         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58959         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58960         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58961         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58962         (R_AARCH64_TLSDESC): Likewise.
58963         (NT_ARM_TLS): Likewise.
58964         (NT_ARM_HW_BREAK): Likewise.
58965         (NT_ARM_HW_WATCH): Likewise.
58967 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58969         [BZ #14811]
58970         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58971         (__ieee754_powl): Saturate nonzero exponents with absolute value
58972         below 0x1p-79 to +/- 0x1p-79.
58973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58974         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58975         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58976         nonzero exponents with absolute value below 0x1p-32 to +/-
58977         0x1p-32.
58978         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58979         (__ieee754_powl): Saturate nonzero exponents with absolute value
58980         below 0x1p-79 to +/- 0x1p-79.
58981         * math/libm-test.inc (pow_test): Add more tests.
58983 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58985         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58986         _dl_s390_cap_flags with kernel. Increase string length.
58987         (_dl_s390_platforms): Add z196 and zEC12.
58989 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58991         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58992         Change XOPEN21K to XOPEN2K.
58994 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58996         * string/memmove.c: Use memcpy when possible.
58998 2012-11-06  Andreas Jaeger  <aj@suse.de>
59000         * po/eo.po: Update from translation team.
59002 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59004         [BZ #14793]
59005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59006         exponent and small x and y exponents, scale x or y up.  Increase
59007         by 2 the exponent used in scaling up.
59008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59010         * math/libm-test.inc (fma_test): Add more tests.
59011         (fma_test_towardzero): Likewise.
59012         (fma_test_downward): Likewise.
59013         (fma_test_upward): Likewise.
59015 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59017         [BZ #14805]
59018         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59019         fenv_t *.
59021         [BZ #14801]
59022         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59023         namespace for names of struct fields.
59024         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59025         fenv_t fields.
59026         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59027         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59029 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59031         [BZ #3665]
59032         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59034 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59036         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59037         PTR_DEMANGLE.
59039         [BZ #5246]
59040         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59041         PTR_DEMANGLE.
59043 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59045         [BZ #14797]
59046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59047         definitely overflow as x * y not x * y + z.
59048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59050         * math/libm-test.inc (fma_test): Add more tests.
59051         (fma_test_towardzero): Likewise.
59052         (fma_test_downward): Likewise.
59053         (fma_test_upward): Likewise.
59055 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59057         [BZ #157]
59059         * include/stub-tag.h: Remove file.
59060         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59061         '#include' of it.
59062         * manual/maint.texi (Porting): Don't reference it.
59063         * Makerules ($(objpfx)stubs): Likewise.
59064         * dirent/closedir.c: Don't include <stub-tag.h>.
59065         * dirent/dirfd.c: Likewise.
59066         * dirent/fdopendir.c: Likewise.
59067         * dirent/getdents.c: Likewise.
59068         * dirent/getdents64.c: Likewise.
59069         * dirent/opendir.c: Likewise.
59070         * dirent/readdir.c: Likewise.
59071         * dirent/readdir64.c: Likewise.
59072         * dirent/readdir64_r.c: Likewise.
59073         * dirent/readdir_r.c: Likewise.
59074         * dirent/rewinddir.c: Likewise.
59075         * dirent/seekdir.c: Likewise.
59076         * dirent/telldir.c: Likewise.
59077         * gmon/profil.c: Likewise.
59078         * grp/setgroups.c: Likewise.
59079         * inet/if_index.c: Likewise.
59080         * io/access.c: Likewise.
59081         * io/chdir.c: Likewise.
59082         * io/chmod.c: Likewise.
59083         * io/chown.c: Likewise.
59084         * io/close.c: Likewise.
59085         * io/dup.c: Likewise.
59086         * io/dup2.c: Likewise.
59087         * io/dup3.c: Likewise.
59088         * io/euidaccess.c: Likewise.
59089         * io/faccessat.c: Likewise.
59090         * io/fchdir.c: Likewise.
59091         * io/fchmod.c: Likewise.
59092         * io/fchmodat.c: Likewise.
59093         * io/fchown.c: Likewise.
59094         * io/fchownat.c: Likewise.
59095         * io/fcntl.c: Likewise.
59096         * io/flock.c: Likewise.
59097         * io/fstatfs.c: Likewise.
59098         * io/fstatfs64.c: Likewise.
59099         * io/fstatvfs.c: Likewise.
59100         * io/fstatvfs64.c: Likewise.
59101         * io/futimens.c: Likewise.
59102         * io/fxstat.c: Likewise.
59103         * io/fxstat64.c: Likewise.
59104         * io/fxstatat.c: Likewise.
59105         * io/fxstatat64.c: Likewise.
59106         * io/getcwd.c: Likewise.
59107         * io/isatty.c: Likewise.
59108         * io/lchmod.c: Likewise.
59109         * io/lchown.c: Likewise.
59110         * io/link.c: Likewise.
59111         * io/linkat.c: Likewise.
59112         * io/lseek.c: Likewise.
59113         * io/lseek64.c: Likewise.
59114         * io/lxstat64.c: Likewise.
59115         * io/mkdir.c: Likewise.
59116         * io/mkdirat.c: Likewise.
59117         * io/mkfifo.c: Likewise.
59118         * io/mkfifoat.c: Likewise.
59119         * io/open.c: Likewise.
59120         * io/open64.c: Likewise.
59121         * io/openat.c: Likewise.
59122         * io/openat64.c: Likewise.
59123         * io/pipe.c: Likewise.
59124         * io/pipe2.c: Likewise.
59125         * io/poll.c: Likewise.
59126         * io/posix_fadvise.c: Likewise.
59127         * io/posix_fadvise64.c: Likewise.
59128         * io/posix_fallocate.c: Likewise.
59129         * io/posix_fallocate64.c: Likewise.
59130         * io/read.c: Likewise.
59131         * io/readlink.c: Likewise.
59132         * io/readlinkat.c: Likewise.
59133         * io/rmdir.c: Likewise.
59134         * io/sendfile.c: Likewise.
59135         * io/sendfile64.c: Likewise.
59136         * io/statfs.c: Likewise.
59137         * io/statfs64.c: Likewise.
59138         * io/statvfs.c: Likewise.
59139         * io/statvfs64.c: Likewise.
59140         * io/symlink.c: Likewise.
59141         * io/symlinkat.c: Likewise.
59142         * io/ttyname.c: Likewise.
59143         * io/ttyname_r.c: Likewise.
59144         * io/umask.c: Likewise.
59145         * io/unlink.c: Likewise.
59146         * io/unlinkat.c: Likewise.
59147         * io/utime.c: Likewise.
59148         * io/utimensat.c: Likewise.
59149         * io/write.c: Likewise.
59150         * io/xmknod.c: Likewise.
59151         * io/xmknodat.c: Likewise.
59152         * io/xstat.c: Likewise.
59153         * io/xstat64.c: Likewise.
59154         * login/getpt.c: Likewise.
59155         * login/grantpt.c: Likewise.
59156         * login/unlockpt.c: Likewise.
59157         * math/e_acoshl.c: Likewise.
59158         * math/e_acosl.c: Likewise.
59159         * math/e_asinl.c: Likewise.
59160         * math/e_atan2l.c: Likewise.
59161         * math/e_atanhl.c: Likewise.
59162         * math/e_coshl.c: Likewise.
59163         * math/e_expl.c: Likewise.
59164         * math/e_fmodl.c: Likewise.
59165         * math/e_gammal_r.c: Likewise.
59166         * math/e_hypotl.c: Likewise.
59167         * math/e_j0l.c: Likewise.
59168         * math/e_j1l.c: Likewise.
59169         * math/e_jnl.c: Likewise.
59170         * math/e_lgammal_r.c: Likewise.
59171         * math/e_log10l.c: Likewise.
59172         * math/e_log2l.c: Likewise.
59173         * math/e_logl.c: Likewise.
59174         * math/e_powl.c: Likewise.
59175         * math/e_rem_pio2l.c: Likewise.
59176         * math/e_sinhl.c: Likewise.
59177         * math/e_sqrtl.c: Likewise.
59178         * math/fclrexcpt.c: Likewise.
59179         * math/fedisblxcpt.c: Likewise.
59180         * math/feenablxcpt.c: Likewise.
59181         * math/fegetenv.c: Likewise.
59182         * math/fegetexcept.c: Likewise.
59183         * math/fegetround.c: Likewise.
59184         * math/feholdexcpt.c: Likewise.
59185         * math/fesetenv.c: Likewise.
59186         * math/fesetround.c: Likewise.
59187         * math/feupdateenv.c: Likewise.
59188         * math/fgetexcptflg.c: Likewise.
59189         * math/fraiseexcpt.c: Likewise.
59190         * math/fsetexcptflg.c: Likewise.
59191         * math/ftestexcept.c: Likewise.
59192         * math/k_cosl.c: Likewise.
59193         * math/k_rem_pio2l.c: Likewise.
59194         * math/k_sinl.c: Likewise.
59195         * math/k_tanl.c: Likewise.
59196         * math/s_asinhl.c: Likewise.
59197         * math/s_atanl.c: Likewise.
59198         * math/s_cbrtl.c: Likewise.
59199         * math/s_erfl.c: Likewise.
59200         * math/s_expm1l.c: Likewise.
59201         * math/s_log1pl.c: Likewise.
59202         * math/s_tanhl.c: Likewise.
59203         * misc/acct.c: Likewise.
59204         * misc/brk.c: Likewise.
59205         * misc/chflags.c: Likewise.
59206         * misc/chroot.c: Likewise.
59207         * misc/fchflags.c: Likewise.
59208         * misc/fgetxattr.c: Likewise.
59209         * misc/flistxattr.c: Likewise.
59210         * misc/fremovexattr.c: Likewise.
59211         * misc/fsetxattr.c: Likewise.
59212         * misc/fsync.c: Likewise.
59213         * misc/ftruncate.c: Likewise.
59214         * misc/futimes.c: Likewise.
59215         * misc/futimesat.c: Likewise.
59216         * misc/getdomain.c: Likewise.
59217         * misc/getdtsz.c: Likewise.
59218         * misc/gethostid.c: Likewise.
59219         * misc/gethostname.c: Likewise.
59220         * misc/getloadavg.c: Likewise.
59221         * misc/getpagesize.c: Likewise.
59222         * misc/getsysstats.c: Likewise.
59223         * misc/getxattr.c: Likewise.
59224         * misc/gtty.c: Likewise.
59225         * misc/ioctl.c: Likewise.
59226         * misc/lgetxattr.c: Likewise.
59227         * misc/listxattr.c: Likewise.
59228         * misc/llistxattr.c: Likewise.
59229         * misc/lremovexattr.c: Likewise.
59230         * misc/lsetxattr.c: Likewise.
59231         * misc/lutimes.c: Likewise.
59232         * misc/madvise.c: Likewise.
59233         * misc/mincore.c: Likewise.
59234         * misc/mlock.c: Likewise.
59235         * misc/mlockall.c: Likewise.
59236         * misc/mmap.c: Likewise.
59237         * misc/mprotect.c: Likewise.
59238         * misc/msync.c: Likewise.
59239         * misc/munlock.c: Likewise.
59240         * misc/munlockall.c: Likewise.
59241         * misc/munmap.c: Likewise.
59242         * misc/preadv.c: Likewise.
59243         * misc/preadv64.c: Likewise.
59244         * misc/ptrace.c: Likewise.
59245         * misc/pwritev.c: Likewise.
59246         * misc/pwritev64.c: Likewise.
59247         * misc/readv.c: Likewise.
59248         * misc/reboot.c: Likewise.
59249         * misc/remap_file_pages.c: Likewise.
59250         * misc/removexattr.c: Likewise.
59251         * misc/revoke.c: Likewise.
59252         * misc/select.c: Likewise.
59253         * misc/setdomain.c: Likewise.
59254         * misc/setegid.c: Likewise.
59255         * misc/seteuid.c: Likewise.
59256         * misc/sethostid.c: Likewise.
59257         * misc/sethostname.c: Likewise.
59258         * misc/setregid.c: Likewise.
59259         * misc/setreuid.c: Likewise.
59260         * misc/setxattr.c: Likewise.
59261         * misc/sstk.c: Likewise.
59262         * misc/stty.c: Likewise.
59263         * misc/swapoff.c: Likewise.
59264         * misc/swapon.c: Likewise.
59265         * misc/sync.c: Likewise.
59266         * misc/syncfs.c: Likewise.
59267         * misc/syscall.c: Likewise.
59268         * misc/truncate.c: Likewise.
59269         * misc/ualarm.c: Likewise.
59270         * misc/usleep.c: Likewise.
59271         * misc/ustat.c: Likewise.
59272         * misc/utimes.c: Likewise.
59273         * misc/vhangup.c: Likewise.
59274         * misc/writev.c: Likewise.
59275         * posix/_exit.c: Likewise.
59276         * posix/alarm.c: Likewise.
59277         * posix/execve.c: Likewise.
59278         * posix/fexecve.c: Likewise.
59279         * posix/fork.c: Likewise.
59280         * posix/fpathconf.c: Likewise.
59281         * posix/getaddrinfo.c: Likewise.
59282         * posix/getegid.c: Likewise.
59283         * posix/geteuid.c: Likewise.
59284         * posix/getgid.c: Likewise.
59285         * posix/getgroups.c: Likewise.
59286         * posix/getlogin.c: Likewise.
59287         * posix/getlogin_r.c: Likewise.
59288         * posix/getpgid.c: Likewise.
59289         * posix/getpid.c: Likewise.
59290         * posix/getppid.c: Likewise.
59291         * posix/getresgid.c: Likewise.
59292         * posix/getresuid.c: Likewise.
59293         * posix/getsid.c: Likewise.
59294         * posix/getuid.c: Likewise.
59295         * posix/glob64.c: Likewise.
59296         * posix/nanosleep.c: Likewise.
59297         * posix/pathconf.c: Likewise.
59298         * posix/pause.c: Likewise.
59299         * posix/posix_madvise.c: Likewise.
59300         * posix/pread.c: Likewise.
59301         * posix/pread64.c: Likewise.
59302         * posix/pwrite.c: Likewise.
59303         * posix/pwrite64.c: Likewise.
59304         * posix/sched_getaffinity.c: Likewise.
59305         * posix/sched_getp.c: Likewise.
59306         * posix/sched_gets.c: Likewise.
59307         * posix/sched_primax.c: Likewise.
59308         * posix/sched_primin.c: Likewise.
59309         * posix/sched_rr_gi.c: Likewise.
59310         * posix/sched_setaffinity.c: Likewise.
59311         * posix/sched_setp.c: Likewise.
59312         * posix/sched_sets.c: Likewise.
59313         * posix/sched_yield.c: Likewise.
59314         * posix/setgid.c: Likewise.
59315         * posix/setlogin.c: Likewise.
59316         * posix/setpgid.c: Likewise.
59317         * posix/setresgid.c: Likewise.
59318         * posix/setresuid.c: Likewise.
59319         * posix/setsid.c: Likewise.
59320         * posix/setuid.c: Likewise.
59321         * posix/sleep.c: Likewise.
59322         * posix/spawni.c: Likewise.
59323         * posix/sysconf.c: Likewise.
59324         * posix/times.c: Likewise.
59325         * posix/wait.c: Likewise.
59326         * posix/wait3.c: Likewise.
59327         * posix/wait4.c: Likewise.
59328         * posix/waitpid.c: Likewise.
59329         * resolv/gai_sigqueue.c: Likewise.
59330         * resource/getpriority.c: Likewise.
59331         * resource/getrlimit.c: Likewise.
59332         * resource/getrusage.c: Likewise.
59333         * resource/nice.c: Likewise.
59334         * resource/setpriority.c: Likewise.
59335         * resource/setrlimit.c: Likewise.
59336         * resource/ulimit.c: Likewise.
59337         * rt/aio_cancel.c: Likewise.
59338         * rt/aio_fsync.c: Likewise.
59339         * rt/aio_read.c: Likewise.
59340         * rt/aio_sigqueue.c: Likewise.
59341         * rt/aio_suspend.c: Likewise.
59342         * rt/aio_write.c: Likewise.
59343         * rt/clock_getres.c: Likewise.
59344         * rt/clock_gettime.c: Likewise.
59345         * rt/clock_nanosleep.c: Likewise.
59346         * rt/clock_settime.c: Likewise.
59347         * rt/lio_listio.c: Likewise.
59348         * rt/mq_close.c: Likewise.
59349         * rt/mq_getattr.c: Likewise.
59350         * rt/mq_notify.c: Likewise.
59351         * rt/mq_open.c: Likewise.
59352         * rt/mq_receive.c: Likewise.
59353         * rt/mq_send.c: Likewise.
59354         * rt/mq_setattr.c: Likewise.
59355         * rt/mq_timedreceive.c: Likewise.
59356         * rt/mq_timedsend.c: Likewise.
59357         * rt/mq_unlink.c: Likewise.
59358         * rt/shm_open.c: Likewise.
59359         * rt/shm_unlink.c: Likewise.
59360         * rt/timer_create.c: Likewise.
59361         * rt/timer_delete.c: Likewise.
59362         * rt/timer_getoverr.c: Likewise.
59363         * rt/timer_gettime.c: Likewise.
59364         * rt/timer_settime.c: Likewise.
59365         * setjmp/__longjmp.c: Likewise.
59366         * setjmp/setjmp.c: Likewise.
59367         * signal/kill.c: Likewise.
59368         * signal/killpg.c: Likewise.
59369         * signal/raise.c: Likewise.
59370         * signal/sigaction.c: Likewise.
59371         * signal/sigaltstack.c: Likewise.
59372         * signal/sigblock.c: Likewise.
59373         * signal/sigignore.c: Likewise.
59374         * signal/sigintr.c: Likewise.
59375         * signal/signal.c: Likewise.
59376         * signal/sigpause.c: Likewise.
59377         * signal/sigpending.c: Likewise.
59378         * signal/sigqueue.c: Likewise.
59379         * signal/sigreturn.c: Likewise.
59380         * signal/sigset.c: Likewise.
59381         * signal/sigsetmask.c: Likewise.
59382         * signal/sigstack.c: Likewise.
59383         * signal/sigsuspend.c: Likewise.
59384         * signal/sigtimedwait.c: Likewise.
59385         * signal/sigvec.c: Likewise.
59386         * signal/sigwait.c: Likewise.
59387         * signal/sigwaitinfo.c: Likewise.
59388         * signal/sysv_signal.c: Likewise.
59389         * socket/accept.c: Likewise.
59390         * socket/accept4.c: Likewise.
59391         * socket/bind.c: Likewise.
59392         * socket/connect.c: Likewise.
59393         * socket/getpeername.c: Likewise.
59394         * socket/getsockname.c: Likewise.
59395         * socket/getsockopt.c: Likewise.
59396         * socket/isfdtype.c: Likewise.
59397         * socket/listen.c: Likewise.
59398         * socket/recv.c: Likewise.
59399         * socket/recvfrom.c: Likewise.
59400         * socket/recvmsg.c: Likewise.
59401         * socket/send.c: Likewise.
59402         * socket/sendmsg.c: Likewise.
59403         * socket/sendto.c: Likewise.
59404         * socket/setsockopt.c: Likewise.
59405         * socket/shutdown.c: Likewise.
59406         * socket/sockatmark.c: Likewise.
59407         * socket/socket.c: Likewise.
59408         * socket/socketpair.c: Likewise.
59409         * stdio-common/ctermid.c: Likewise.
59410         * stdio-common/cuserid.c: Likewise.
59411         * stdio-common/remove.c: Likewise.
59412         * stdio-common/rename.c: Likewise.
59413         * stdio-common/renameat.c: Likewise.
59414         * stdio-common/tempname.c: Likewise.
59415         * stdlib/getcontext.c: Likewise.
59416         * stdlib/makecontext.c: Likewise.
59417         * stdlib/setcontext.c: Likewise.
59418         * stdlib/swapcontext.c: Likewise.
59419         * stdlib/system.c: Likewise.
59420         * streams/fattach.c: Likewise.
59421         * streams/fdetach.c: Likewise.
59422         * streams/getmsg.c: Likewise.
59423         * streams/getpmsg.c: Likewise.
59424         * streams/putmsg.c: Likewise.
59425         * streams/putpmsg.c: Likewise.
59426         * sysdeps/unix/bsd/getpt.c: Likewise.
59427         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59428         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59429         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59431         Likewise.
59432         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59433         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59434         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59435         * sysvipc/msgctl.c: Likewise.
59436         * sysvipc/msgget.c: Likewise.
59437         * sysvipc/msgrcv.c: Likewise.
59438         * sysvipc/msgsnd.c: Likewise.
59439         * sysvipc/semctl.c: Likewise.
59440         * sysvipc/semget.c: Likewise.
59441         * sysvipc/semop.c: Likewise.
59442         * sysvipc/semtimedop.c: Likewise.
59443         * sysvipc/shmat.c: Likewise.
59444         * sysvipc/shmctl.c: Likewise.
59445         * sysvipc/shmdt.c: Likewise.
59446         * sysvipc/shmget.c: Likewise.
59447         * termios/tcdrain.c: Likewise.
59448         * termios/tcflow.c: Likewise.
59449         * termios/tcflush.c: Likewise.
59450         * termios/tcgetattr.c: Likewise.
59451         * termios/tcgetpgrp.c: Likewise.
59452         * termios/tcsendbrk.c: Likewise.
59453         * termios/tcsetattr.c: Likewise.
59454         * termios/tcsetpgrp.c: Likewise.
59455         * time/adjtime.c: Likewise.
59456         * time/clock.c: Likewise.
59457         * time/getitimer.c: Likewise.
59458         * time/gettimeofday.c: Likewise.
59459         * time/setitimer.c: Likewise.
59460         * time/settimeofday.c: Likewise.
59461         * time/stime.c: Likewise.
59462         * time/time.c: Likewise.
59464 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59466         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59467         /usr/old/bin.
59469         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59470         instead of spaces.
59471         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59473 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59475         [BZ #14796]
59476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59477         FE_TONEAREST before applying Dekker multiplication and Knuth
59478         addition.  Clear inexact exceptions and check for exact zero
59479         results afterwards.
59480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59481         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59483         * math/libm-test.inc (fma_test): Add more tests.
59484         (fma_test_towardzero): Likewise.
59485         (fma_test_downward): Likewise.
59486         (fma_test_upward): Likewise.
59487         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59488         function.
59489         (libc_fesetround): New macro.
59490         (libc_fesetroundf): Likewise.
59491         (libc_fesetroundl): Likewise.
59492         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59493         function.
59494         (libc_fesetround_387): Likewise.
59495         (libc_fesetroundf): New macro.
59496         (libc_fesetround): Likewise.
59497         (libc_fesetroundl): Likewise.
59498         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59499         function.
59500         (libc_fesetroundf): New macro.
59501         (libc_fesetround): Likewise.
59502         (libc_fesetroundl): Likewise.
59503         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59504         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59505         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59506         libm_hidden_ver.
59507         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59508         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59509         libm_hidden_def.
59510         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59511         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59512         libm_hidden_ver.
59513         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59514         libm_hidden_def.
59516         [BZ #3439]
59517         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59518         integer constant usable in #if and use that to give value to enum
59519         constant.
59520         (FE_DIVBYZERO): Likewise.
59521         (FE_UNDERFLOW): Likewise.
59522         (FE_OVERFLOW): Likewise.
59523         (FE_INVALID): Likewise.
59524         (FE_INVALID_SNAN): Likewise.
59525         (FE_INVALID_ISI): Likewise.
59526         (FE_INVALID_IDI): Likewise.
59527         (FE_INVALID_ZDZ): Likewise.
59528         (FE_INVALID_IMZ): Likewise.
59529         (FE_INVALID_COMPARE): Likewise.
59530         (FE_INVALID_SOFTWARE): Likewise.
59531         (FE_INVALID_SQRT): Likewise.
59532         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59533         (FE_TONEAREST): Likewise.
59534         (FE_TOWARDZERO): Likewise.
59535         (FE_UPWARD): Likewise.
59536         (FE_DOWNWARD): Likewise.
59537         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59538         (FE_DIVBYZERO): Likewise.
59539         (FE_OVERFLOW): Likewise.
59540         (FE_UNDERFLOW): Likewise.
59541         (FE_INEXACT): Likewise.
59542         (FE_TONEAREST): Likewise.
59543         (FE_DOWNWARD): Likewise.
59544         (FE_UPWARD): Likewise.
59545         (FE_TOWARDZERO): Likewise.
59546         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59547         (FE_UNDERFLOW): Likewise.
59548         (FE_OVERFLOW): Likewise.
59549         (FE_DIVBYZERO): Likewise.
59550         (FE_INVALID): Likewise.
59551         (FE_TONEAREST): Likewise.
59552         (FE_TOWARDZERO): Likewise.
59553         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59554         (FE_OVERFLOW): Likewise.
59555         (FE_UNDERFLOW): Likewise.
59556         (FE_DIVBYZERO): Likewise.
59557         (FE_INEXACT): Likewise.
59558         (FE_TONEAREST): Likewise.
59559         (FE_TOWARDZERO): Likewise.
59560         (FE_UPWARD): Likewise.
59561         (FE_DOWNWARD): Likewise.
59562         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59563         (FE_DIVBYZERO): Likewise.
59564         (FE_OVERFLOW): Likewise.
59565         (FE_UNDERFLOW): Likewise.
59566         (FE_INEXACT): Likewise.
59567         (FE_TONEAREST): Likewise.
59568         (FE_DOWNWARD): Likewise.
59569         (FE_UPWARD): Likewise.
59570         (FE_TOWARDZERO): Likewise.
59572 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59574         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59576 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59578         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59579         commands.  Quote $PWD.
59580         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59581         -x" by "export".
59582         (remove_newlines): Remove.
59584 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59586         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59587         * stdlib/stdlib.h (atof): Moved to ...
59588         * include/bits/stdlib-float.h: Here.  New file.
59589         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59590         * stdlib/bits/stdlib-float.h: New file.
59591         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59592         -mno-sse -mno-mmx.
59593         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59594         <xmmintrin.h>.
59596 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59598         * conform/conformtest.pl (@headers): Add fenv.h.
59599         * conform/data/fenv.h-data: New file.
59600         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59601         include of <math/fenv.h>.
59603         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59604         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59605         && !UNIX98].  Enables tests for XOPEN2K8.
59606         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59607         POSIX2008]: Likewise.
59609         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59610         (struct rusage): Do not expect type or its members.
59612         [BZ #3439]
59613         * math/math.h (FP_NAN): Define macro to integer constant usable in
59614         #if and use that to give value to enum constant.
59615         (FP_INFINITE): Likewise.
59616         (FP_ZERO): Likewise.
59617         (FP_SUBNORMAL): Likewise.
59618         (FP_NORMAL): Likewise.
59620 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59622         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59623         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59624         arguments.
59626 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59628         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59629         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59630         autoconf-time if not.
59631         * configure.in: Remove AC_PREREQ.
59633 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59635         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59636         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59637         of the internal implementation.
59639 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59641         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59642         except include of <misc/sys/syslog.h>.
59644 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59647         function returns with a NULL context exit with zero.
59649 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59651         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59653 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59655         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59656         (run_program_cmd): This.
59657         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59658         (tst_langinfo): New variable.  Use it.
59660 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59662         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59663         floating point opcodes.
59665 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59667         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59668         variable.
59670         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59672         * sysdeps/mach/hurd/powerpc: Remove directory.
59673         * sysdeps/mach/powerpc: Likewise.
59675 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59677         * scripts/check-local-headers.sh: Ignore c++ headers.
59679 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59681         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59682         __libc_cleanup_region_start argument.
59684 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59686         [BZ #14784]
59687         [BZ #14785]
59688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59689         x * y using scaling, not as x * y + z.
59690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59692         * math/libm-test.inc (fma_test): Add more tests.
59693         (fma_test_towardzero): Likewise.
59694         (fma_test_downward): Likewise.
59695         (fma_test_upward): Likewise.
59697 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59699         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59701 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59703         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59704         New variable.
59706 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59708         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59710 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59713         Fix sort order.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59715         Likewise.
59717 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59720         Fix the order of the list for glibc 2.17.
59721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59722         Likewise.
59724 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59728 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59730         [BZ #14610]
59731         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59732         for low part of x being zero before using __atanl (y).
59733         * math/libm-test.inc (atan2_test): Add another test.
59735         * manual/install.texi (Configuring and compiling): Document
59736         general use of test-wrapper and test-wrapper-env.
59737         * INSTALL: Regenerated.
59739         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59740         (__fma): Do not extract and scale down low bits on after-rounding
59741         systems when result rounded to normal precision would have normal
59742         exponent.
59743         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59744         (__fmal): Do not extract and scale down low bits on after-rounding
59745         systems when result rounded to normal precision would have normal
59746         exponent.
59747         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59748         (__fmal): Do not extract and scale down low bits on after-rounding
59749         systems when result rounded to normal precision would have normal
59750         exponent.
59751         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59752         macro.
59753         (fma_test): Add more tests.
59754         (fma_test_towardzero): Likewise.
59755         (fma_test_downward): Likewise.
59756         (fma_test_upward): Likewise.
59758 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59760         * sysdeps/i386/tininess.h: Renamed to ...
59761         * sysdeps/x86/tininess.h: This.
59762         * sysdeps/x86_64/tininess.h: Removed.
59764 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59766         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59767         input.  Use $(build-program-cmd).
59768         ($(objpfx)tst-array1-static.out): Likewise.
59769         ($(objpfx)tst-array2.out): Likewise.
59770         ($(objpfx)tst-array3.out): Likewise.
59771         ($(objpfx)tst-array4.out): Likewise.
59772         ($(objpfx)tst-array5.out): Likewise.
59773         ($(objpfx)tst-array5-static.out): Likewise.
59775 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59777         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59778         if defined.
59780         * nss/nsswitch.h (nss_interface_function): Provide new
59781         macro for use with NSS functions.
59782         * grp/initgroups.c: Use new macro.
59783         * nss/getXXbyYY.c: Likewise.
59784         * nss/getXXbyYY_r.c: Likewise.
59785         * nss/getXXent.c: Likewise.
59786         * nss/getXXent_r.c: Likewise.
59787         * sysdeps/posix/getaddrinfo.c: Likewise.
59789 2012-10-30  Andreas Jaeger  <aj@suse.de>
59791         * po/ru.po: Update Russion translation from translation project.
59793 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59795         [BZ #14152]
59796         [BZ #14783]
59797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59798         result and shift together with sticky bit instead of replicating
59799         round-to-nearest rounding.
59800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59802         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59803         missing underflow exceptions.
59804         (fma_test_towardzero): Add more tests.
59805         (fma_test_downward): Likewise.
59806         (fma_test_upward): Likewise.
59808         [BZ #14047]
59809         * sysdeps/generic/tininess.h: New file.
59810         * sysdeps/i386/tininess.h: Likewise.
59811         * sysdeps/sh/tininess.h: Likewise.
59812         * sysdeps/x86_64/tininess.h: Likewise.
59813         * stdlib/tst-strtod-underflow.c: Likewise.
59814         * stdlib/tst-tininess.c: Likewise.
59815         * stdlib/strtod_l.c: Include <tininess.h>.
59816         (round_and_return): Do not set errno for exact underflow cases.
59817         Force an underflow exception when setting errno for underflow.
59818         Determine underflow based on rounding to normal precision if
59819         TININESS_AFTER_ROUNDING.
59820         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59821         ERANGE for exact underflow cases.
59822         * stdlib/Makefile (tests): Add tst-tininess and
59823         tst-strtod-underflow.
59824         ($(objpfx)tst-tininess): Use $(link-libm).
59825         ($(objpfx)tst-strtod-underflow): Likewise.
59827 2012-10-30  Andreas Jaeger  <aj@suse.de>
59829         [BZ#14767]
59830         * elf/Makefile (tests): Remove conditional for have-initfini-array
59831         since this is now always required and the variable does not exist
59832         anymore.
59833         (tests-static): Likewise.
59834         (modules-names): Likewise.
59836         * po/eo.po: Add Esperanto translation from translation project.
59838         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59839         merged with constructor/destructor.
59840         (init_array): Likewise.
59841         * elf/tst-array2dep.c (fini_array): Likewise.
59842         (init_array): Likewise.
59844 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59846         * manual/message.texi: Delete @cartouche tags.
59848 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59850         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59851         EOPNOTSUPP.
59852         * sysdeps/mach/hurd/fsync.c: Likewise.
59854         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59855         [_POSIX_REALTIME_SIGNALS]: Change condition to
59856         [_POSIX_REALTIME_SIGNALS > 0].
59858 2012-10-27  Andreas Jaeger  <aj@suse.de>
59860         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59861         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59863         [__WORDSIZE != 64]: Likewise.
59865 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59867         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59868         *  iconvdata/tst-tables.sh: Likewise.
59870 2012-10-25  David S. Miller  <davem@davemloft.net>
59872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59873         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59874         of strtoull.
59876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59877         ifunc-impl-list.c
59878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59879         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59880         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59881         file.
59883 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59886         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59887         __getdirentries.
59889 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59890             Jim Blandy  <jimb@codesourcery.com>
59892         * scripts/cross-test-ssh.sh: New file.
59893         * manual/install.texi (Configuring and compiling): Document use of
59894         cross-test-ssh.sh.
59895         * INSTALL: Regenerated.
59897 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59899         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59900         EOPNOTSUPP.
59902 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59904         * Makeconfig (run-program-prefix): Fix comment.
59906 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59907             Jim Blandy  <jimb@codesourcery.com>
59909         * Makeconfig (test-wrapper): New variable,
59910         (test-wrapper-env): Likewise.
59911         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59912         (run-built-tests): Define to yes.
59913         (run-program-prefix): Use $(test-wrapper).
59914         (built-program-cmd): Likewise.
59915         * Rules (make-test-out): Use $(test-wrapper-env) and
59916         $(host-built-program-cmd).
59917         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59918         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59919         tst-pathopt.sh.
59920         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59921         $(test-wrapper-env) to tst-rtld-load-self.sh.
59922         ($(objpfx)order2.out): Use $(test-wrapper).
59923         ($(objpfx)tst-initorder.out): Likewise.
59924         ($(objpfx)tst-initorder2.out): Likewise.
59925         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59926         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59927         (test_wrapper_env): New variable.  Use it to run ld.so.
59928         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59929         Use it to run ld.so.
59930         (test_wrapper_env): Likewise.
59931         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59932         $(test-wrapper) to run-iconv-test.sh.
59933         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59934         (ICONV): Use $test_wrapper.
59935         * posix/Makefile ($(objpfx)globtest.out): Pass
59936         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59937         globtest.sh, not $(run-program-prefix).
59938         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59939         (test_wrapper): Likewise.
59940         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59941         set together with run_via_rtld_prefix.
59942         (run_program_prefix): Define in terms of test_wrapper and
59943         run_via_rtld_prefix.
59945 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59947         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59948         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59949         Targets removed.
59951         [BZ #14743]
59952         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59953         Declare __clock_getres, __clock_gettime, __clock_settime,
59954         __clock_nanosleep, and __clock_getcpuclockid.
59955         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59956         Remove librt_hidden_def (clock_gettime).
59957         * sysdeps/unix/clock_gettime.c: Likewise.
59958         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59959         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59960         * rt/clock_getres.c: Define __clock_getres as an alias.
59961         * sysdeps/posix/clock_getres.c: Likewise.
59962         * rt/clock_settime.c: Define __clock_settime as an alias.
59963         * sysdeps/unix/clock_settime.c: Likewise.
59964         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59965         * sysdeps/unix/clock_nanosleep.c: Likewise.
59966         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59967         * rt/clock-compat.c: New file.
59968         * rt/Makefile (librt-routines): Add clock-compat and move
59969         $(clock-routines) to ...
59970         (routines): ... here, new variable.
59971         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59972         Don't add get_clockfreq here.
59973         * rt/Versions (libc: GLIBC_2.17): New version set.
59974         Add clock_* symbols here.
59975         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59976         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59977         (GLIBC_2.17): Add clock_* symbols.
59978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59980         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59982         Likewise.
59983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59984         Likewise.
59985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59989         * NEWS: Mention the move.
59991         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59992         Use __open, __read, __close rather than their public counterparts.
59993         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59994         (__get_clockfreq_via_cpuinfo): Likewise.
59995         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59996         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59998         * config.h.in (HAVE_IFUNC): New #undef.
59999         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60000         was successful.
60001         * configure: Regenerated.
60003 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60005         * configure.in: Move READELF check to start of file.
60006         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60007         libc_cv_asm_gnu_indirect_function in the process.
60008         * configure: Regenerated.
60010 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60012         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60013         send the output to /dev/null.
60014         (libc_cv_cc_with_libunwind): Likewise.
60015         (libc_cv_as_noexecstack): Likewise.
60016         * configure: Regenerate.
60018 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60020         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60022         * posix/globtest.sh (TMPDIR): Do not set.
60023         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60024         (testout): Likewise.
60026 2012-10-24  Andreas Jaeger  <aj@suse.de>
60028         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60029         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60030         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60031         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60032         posix_fadvise64, posix_fallocate64.
60034         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60035         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60036         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60037         Likewise.
60038         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60039         Likewise.
60040         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60043         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60044         <bits/fcntl-linux.h>.
60045         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60047         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60048         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60049         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60050         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60051         [__WORDSIZE != 64]: Likewise.
60053 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60055         * Makeconfig (run-built-tests): New variable.
60056         * Rules [$(cross-compiling) = yes]: Change condition to
60057         [$(run-built-tests) = no].
60058         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60059         to [$(run-built-tests) = yes].
60060         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60061         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60062         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60063         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60064         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60065         * io/Makefile [$(cross-compiling) = no]: Likewise.
60066         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60067         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60068         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60069         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60070         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60071         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60072         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60073         * string/Makefile [$(cross-compiling) = no]: Likewise.
60075         * posix/Makefile ($(objpfx)globtest.out): Pass
60076         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60077         $(rtld-installed-name).
60078         * posix/globtest.sh (elf_objpfx): Remove variable.
60079         (rtld_installed_name): Likewise.
60080         (library_path): Likewise.
60081         (run_program_prefix): New variable.  Use for running globtest
60082         binary.
60084 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60085             Joseph Myers  <joseph@codesourcery.com>
60087         * Makeconfig (host-built-program-cmd): New variable.
60088         * elf/Makefile (tst-stackguard1-ARGS): Use
60089         $(host-built-program-cmd).
60090         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60091         (tst-spawn-ARGS): Likewise.
60092         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60094 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60095             Jim Blandy  <jimb@codesourcery.com>
60097         * Makeconfig (run-via-rtld-prefix): New variable.
60098         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60099         (built-program-cmd): Likewise.
60101 2012-10-22  Andreas Jaeger  <aj@suse.de>
60103         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60104         __O_RSYNC if it exists, otherwise to O_SYNC.
60106 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60107             Joseph Myers  <joseph@codesourcery.com>
60109         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60110         /dev/null.
60111         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60112         from /dev/null
60113         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60114         /dev/null.
60116 2012-10-22  Andreas Jaeger  <aj@suse.de>
60118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60119         Define always.
60120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60123         bits/fcntl-linux.h.
60125         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60126         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60129         to __O_LARGEFILE.
60130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60131         to __O_LARGEFILE.
60133 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60134             Joseph Myers  <joseph@codesourcery.com>
60136         * config.make.in (NM): New variable.
60138 2012-10-21  Andreas Jaeger  <aj@suse.de>
60140         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60141         definitions and declarations that are provided by
60142         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60144 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60146         [BZ #14683]
60147         * elf/Makefile (tests-static): Add tst-leaks1-static.
60148         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60149         ($(objpfx)tst-leaks1-static): New rule.
60150         ($(objpfx)tst-leaks1-static-mem): Likewise.
60151         (tst-leaks1-static-ENV): New macro.
60152         * elf/dl-open.c (dl_open_worker): Check the main application
60153         only if SHARED is defined.
60154         * elf/tst-leaks1-static.c: New file.
60156 2012-10-20  Andreas Jaeger  <aj@suse.de>
60158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60159         generic values for Linux.
60160         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60161         and declarations that are provided by <bits/fcntl-linux.h> and
60162         include <bits/fcntl-linux.h>.
60163         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60166 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60168         * io/fcntl.h: Move include of <bits/types.h> to the top and
60169         include it unconditionally.
60171 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60173         * wcsmbs/Makefile (tests-ifunc): New variable.
60174         (tests): Add $(tests-ifunc).
60175         * wcsmbs/test-wcschr-ifunc.c: New file.
60176         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60177         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60178         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60179         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60180         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60182         * string/Makefile (tests-ifunc): New variable.
60183         (tests): Add $(tests-ifunc).
60184         * string/test-memccpy.c (TEST_NAME): New macro.
60185         * string/test-memchr.c (TEST_NAME): Likewise.
60186         * string/test-memcmp.c (TEST_NAME): Likewise.
60187         * string/test-memcpy.c (TEST_NAME): Likewise.
60188         * string/test-memmem.c (TEST_NAME): Likewise.
60189         * string/test-memmove.c (TEST_NAME): Likewise.
60190         * string/test-memset.c (TEST_NAME): Likewise.
60191         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60192         * string/test-stpcpy.c (TEST_NAME): Likewise.
60193         * string/test-stpncpy.c (TEST_NAME): Likewise.
60194         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60195         * string/test-strcasestr.c (TEST_NAME): Likewise.
60196         * string/test-strcat.c (TEST_NAME): Likewise.
60197         * string/test-strchr.c (TEST_NAME): Likewise.
60198         * string/test-strcmp.c(TEST_NAME): Likewise.
60199         * string/test-strcpy.c (TEST_NAME): Likewise.
60200         * string/test-strcspn.c (TEST_NAME): Likewise.
60201         * string/test-strlen.c (TEST_NAME): Likewise.
60202         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60203         * string/test-strncmp.c (TEST_NAME): Likewise.
60204         * string/test-strncpy.c (TEST_NAME): Likewise.
60205         * string/test-strnlen.c (TEST_NAME): Likewise.
60206         * string/test-strpbrk.c (TEST_NAME): Likewise.
60207         * string/test-strrchr.c (TEST_NAME): Likewise.
60208         * string/test-strspn.c (TEST_NAME): Likewise.
60209         * string/test-strstr.c (TEST_NAME): Likewise.
60210         * string/test-bcopy-ifunc.c: New file.
60211         * string/test-bzero-ifunc.c: Likewise.
60212         * string/test-memccpy-ifunc.c: Likewise.
60213         * string/test-memchr-ifunc.c: Likewise.
60214         * string/test-memcmp-ifunc.c: Likewise.
60215         * string/test-memcpy-ifunc.c: Likewise.
60216         * string/test-memmem-ifunc.c: Likewise.
60217         * string/test-memmove-ifunc.c: Likewise.
60218         * string/test-mempcpy-ifunc.c: Likewise.
60219         * string/test-memset-ifunc.c: Likewise.
60220         * string/test-rawmemchr-ifunc.c: Likewise.
60221         * string/test-stpcpy-ifunc.c: Likewise.
60222         * string/test-stpncpy-ifunc.c: Likewise.
60223         * string/test-strcasecmp-ifunc.c: Likewise.
60224         * string/test-strcasestr-ifunc.c: Likewise.
60225         * string/test-strcat-ifunc.c: Likewise.
60226         * string/test-strchr-ifunc.c: Likewise.
60227         * string/test-strchrnul-ifunc.c: Likewise.
60228         * string/test-strcmp-ifunc.c: Likewise.
60229         * string/test-strcpy-ifunc.c: Likewise.
60230         * string/test-strcspn-ifunc.c: Likewise.
60231         * string/test-strlen-ifunc.c: Likewise.
60232         * string/test-strncasecmp-ifunc.c: Likewise.
60233         * string/test-strncat-ifunc.c: Likewise.
60234         * string/test-strncmp-ifunc.c: Likewise.
60235         * string/test-strncpy-ifunc.c: Likewise.
60236         * string/test-strnlen-ifunc.c: Likewise.
60237         * string/test-strpbrk-ifunc.c: Likewise.
60238         * string/test-strrchr-ifunc.c: Likewise.
60239         * string/test-strspn-ifunc.c: Likewise.
60240         * string/test-strstr-ifunc.c: Likewise.
60242         * debug/Makefile (tests-ifunc): New variable.
60243         (tests): Add $(tests-ifunc).
60244         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60245         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60246         * debug/test-stpcpy_chk-ifunc.c: New file.
60247         * debug/test-strcpy_chk-ifunc.c: Likewise.
60249 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60251         [BZ #13601]
60252         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60253         header is not read in.
60255 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60257         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60258         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60259         directly.  Pass built executable to script as
60260         $(built-program-cmd).
60261         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60262         $testprogram without using LD_LIBRARY_PATH and $ldso.
60264         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60265         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60266         $(rtld-installed-name).
60267         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60268         (rtld_installed_name): Likewise.
60269         (library_path): Likewise.
60270         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60271         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60272         $(run-program-prefix) to tst-tables.sh.
60273         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60274         it to run tst-table-from and tst-table-to.
60275         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60276         Pass it to tst-table.sh.
60277         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60278         $(run-program-prefix) to tst-gettext.sh.
60279         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60280         tst-translit.sh.
60281         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60282         tst-gettext2.sh.
60283         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60284         to run tst-gettext.
60285         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60286         to run tst-gettext2.
60287         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60288         to run tst-translit.
60289         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60290         $(run-program-prefix) to tst-mtrace.sh.
60291         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60292         to run tst-mtrace.
60293         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60294         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60295         $(rtld-installed-name).
60296         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60297         (rtld_installed_name): Likewise.
60298         (run_program_prefix): New variable.  Use it to run wordexp-test.
60300         * Makeconfig (ARCH): Remove all definitions.
60301         (machine): Likewise.
60302         [ARCH]: Remove conditional code.
60303         [!objdir]: Give error.
60304         [!objdir] (objpfx): Remove.
60305         [!objdir] (common-objpfx): Likewise.
60306         [!objdir] (common-objdir): Likewise.
60307         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60308         AC_CONFIG_FILES call.
60309         * configure: Regenerated.
60311         [BZ #13888]
60312         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60313         or TMPDIR.
60314         (testout): Likewise.
60316         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60317         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60318         $(rtld-installed-name).
60319         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60320         (rtld_installed_name): Likwise.
60321         (runit): Remove function.
60322         (run_getconf): New variable,  Use it for running getconf binary.
60324 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60326         [BZ #14716]
60327         * string/test-memmem.c (check_result): New function.
60328         (do_one_test): Use it.
60329         (check1): New function.
60330         (test_main): Use it.
60332 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60334         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60336 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60338         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60339         (_G_LSEEK64): Likewise.
60340         (_G_MMAP64): Likewise.
60341         (_G_FSTAT64): Likewise.
60342         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60343         (_G_LSEEK64): Likewise.
60344         (_G_MMAP64): Likewise.
60345         (_G_FSTAT64): Likewise.
60346         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60347         unconditional.  Call __mmap64 directly.
60348         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60349         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60350         __lseek64 directly.
60351         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60352         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60353         __mmap64 directly.
60354         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60355         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60356         __lseek64 directly.
60357         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60358         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60359         __lseek64 directly.
60360         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60361         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60362         __lseek64 directly.
60363         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60364         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60365         __fxstat64 directly.
60366         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60367         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60368         unconditional.
60369         (freopen64) [!_G_OPEN64]: Remove conditional code.
60370         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60371         unconditional.
60372         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60373         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60374         unconditional.
60375         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60376         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60377         unconditional.
60378         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60379         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60380         unconditional.
60381         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60382         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60383         unconditional.
60384         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60385         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60386         unconditional.
60387         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60388         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60389         unconditional.
60390         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60392 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60394         [BZ #12140]
60395         * manual/memory.texi (Malloc Tunable Parameters): Add note
60396         about free list pointers overwriting some perturb bytes.
60397         Wording suggested by Roland McGrath.
60399 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60401         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60402         (lgamma_test): Likewise.
60403         (tgamma_test): Likewise.
60405 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60407         [BZ #14700]
60408         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60409         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60411 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60413         * NEWS: Mention BZ #14716.
60414         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60415         when removing AVAILABLE1_USES_J macro.
60417 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60419         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60420         (__bswap_64): __uint64_t for unsigned 64-bit int.
60422 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60424         * include/string.h (memmem): Declare libc hidden alias.
60425         * string/memmem.c (memmem): Define libc hidden alias.
60426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60427         __read, __close instead of open, read, close.
60429 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60432         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60433         global and hidden.
60434         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60435         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60436         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60437         Likewise.
60438         (__rawmemchr_sse2): Likewise.
60439         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60440         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60441         (__strchr_sse2): Likewise.
60442         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60443         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60444         (__strcasecmp_sse2): Likewise.
60445         (__strncasecmp_sse2): Likewise.
60446         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60447         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60448         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60449         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60450         (__strrchr_sse2): Likewise.
60451         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60452         ifunc-impl-list.c.
60453         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60454         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60455         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60456         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60457         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60458         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60459         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60460         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60461         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60462         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60463         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60464         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60465         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60466         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60467         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60468         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60469         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60470         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60471         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60472         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60473         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60474         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60475         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60476         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60477         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60478         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60479         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60480         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60481         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60482         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60484         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60485         global and hidden.
60486         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60487         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60488         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60489         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60490         Likewise.
60491         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60492         Likewise.
60493         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60494         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60495         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60496         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60497         ifunc-impl-list.c.
60498         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60499         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60500         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60501         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60502         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60503         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60504         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60505         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60506         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60507         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60508         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60509         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60510         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60511         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60512         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60513         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60514         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60515         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60516         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60517         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60518         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60519         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60520         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60521         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60522         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60523         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60524         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60525         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60526         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60527         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60528         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60529         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60530         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60531         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60532         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60533         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60534         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60535         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60536         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60537         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60538         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60540         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60541         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60542         * include/ifunc-impl-list.h: New file.
60543         * misc/ifunc-impl-list.c: Likewise.
60544         * misc/Makefile (routines): Add ifunc-impl-list.
60545         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60546         * string/test-string.h: Include <ifunc-impl-list.h>.
60547         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60548         TEST_NAME]: New variables.
60549         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60550         are defined.
60551         (test_init): Call __libc_ifunc_impl_list to initialize
60552         func_list if TEST_IFUNC and TEST_NAME are defined.
60554         * string/Makefile (strop-tests): Add bcopy and bzero.
60555         * string/test-bcopy.c: New file.
60556         * string/test-bzero.c: Likewise.
60557         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60558         defined.
60559         * string/test-memset.c: Support bzero test if TEST_BZERO is
60560         defined.
60561         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60562         __libc_memmove.
60563         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60564         __libc_memset.
60565         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60566         of memset.
60568 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60570         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60571         * configure: Regenerated.
60573         * Makeconfig (+link-static-before-libc): Don't include
60574         $(link-static-libc).
60576         * libio/libio.h (_IO_pos_t): Remove.
60578 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60580         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60581         McGrath.
60583 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60585         * crypt/crypt-entry.c: Include fips-private.h.
60586         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60587         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60588         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60589         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60591 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60593         * crypt/crypt-private.h: Include stdbool.h.
60594         (_ufc_setup_salt_r): Return bool.
60595         * crypt/crypt-entry.c: Include errno.h.
60596         (__crypt_r): Return NULL with EINVAL for bad salt.
60597         * crypt/crypt_util.c (bad_for_salt): New.
60598         (_ufc_setup_salt_r): Check that salt is long enough and within
60599         the specified alphabet.
60600         * crypt/badsalttest.c: New file.
60601         * crypt/Makefile (tests): Add it.
60602         ($(objpfx)badsalttest): New.
60604 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60606         * NEWS: Add entry for BZ #14602.
60608 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60610         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60611         type-generic.
60612         * math/libm-test.inc: Update comment listing what functions and
60613         macros are tested.
60614         (isgreater_test): New function.
60615         (isgreaterequal_test): Likewise.
60616         (isless_test): Likewise.
60617         (islessequal_test): Likewise.
60618         (islessgreater_test): Likewise.
60619         (isunordered_test): Likewise.
60620         (main): Call the new functions.
60622 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60624         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60625         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60626         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60627         * sysdeps/i386/configure: Regenerated.
60628         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60629         * sysdeps/mach/configure: Regenerated.
60630         * sysdeps/mach/hurd/configure: Regenerated.
60631         * sysdeps/powerpc/configure: Regenerated.
60632         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60633         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60634         * sysdeps/s390/s390-32/configure: Regenerated.
60635         * sysdeps/s390/s390-64/configure: Regenerated.
60636         * sysdeps/sh/configure: Regenerated.
60637         * sysdeps/sparc/configure: Regenerated.
60638         * sysdeps/unix/sysv/linux/configure: Regenerated.
60639         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60640         * sysdeps/x86_64/configure: Regenerated.
60642         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60643         defined.  Don't check if MAP is NULL.
60645 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60647         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60648         (_G_stat64): Likewise.
60649         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60650         (_G_stat64): Likewise.
60651         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60652         instead of struct _G_stat64.
60653         * libio/fileops.c (mmap_remap_check): Likewise.
60654         (decide_maybe_mmap): Likewise.
60655         (_IO_new_file_seekoff): Likewise.
60656         (_IO_file_stat): Likewise.
60657         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60658         _G_off64_t.
60659         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60660         instead of struct _G_stat64.
60661         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60663 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60665         [BZ #14602]
60666         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60667         Replace with ...
60668         (CHECK_EOL): New macro.
60669         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60670         CHECK_EOL.
60671         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60672         Replace with CHECK_EOL.
60673         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60674         Replace with CHECK_EOL.
60676 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60678         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60679         type-generic.
60680         * math/libm-test.inc: Update comment listing what functions and
60681         macros are tested.
60682         (finite_test): New function.
60683         (isinf_test): Likewise.
60684         (isnan_test): Likewise.
60685         (fpclassify_test): Test subnormal input.
60686         (isfinite_test): Likewise.
60687         (isnormal_test): Likewise.
60688         (main): Call the new functions.
60690 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60692         [BZ #14660]
60693         * Makerules (%.dynsym): Force C locale when running
60694         $(OBJDUMP) --dynamic-syms.
60696 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60698         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60699         <stdint.h>.
60701 2012-10-06  David S. Miller  <davem@davemloft.net>
60703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60704         upper 32-bits of the length value in %o2 since we use branch-on-register
60705         tests which consider the entire 64-bit register.
60707 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60709         * string/test-strstr.c (check2): Add a test for page boundary.
60711 2012-10-05  David S. Miller  <davem@davemloft.net>
60713         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60714         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60715         file.
60716         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60717         sysdep_routines.
60718         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60719         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60720         and bzero when HWCAP_SPARC_CRYPTO is present.
60722 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60724         [BZ #14602]
60725         * string/test-strstr.c (check2): New function.
60726         (test_main): Call check2.
60728         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60729         and bug-strchr1.
60730         * string/bug-strcasestr1.c (do_test): Moved to ...
60731         * string/test-strcasestr.c (check1): Here.  New function.
60732         (do_one_test): Break out result checking code into ...
60733         (check_result): This.  New function.
60734         (do_one_test): Call check_result.
60735         (test_main): Call check1.
60736         * string/bug-strchr1.c (do_test): Moved to ...
60737         * string/test-strchr.c (check1): Here.  New function.
60738         (do_one_test): Break out result checking code into ...
60739         (check_result): This.  New function.
60740         (do_one_test): Call check_result.
60741         (test_main): Call check1.
60742         * string/bug-strstr1.c (main): Moved to ...
60743         * string/test-strstr.c (check1): Here.  New function.
60744         (do_one_test): Break out result checking code into ...
60745         (check_result): This.  New function.
60746         (do_one_test): Call check_result.
60747         (test_main): Call check1.
60748         * string/bug-strcasestr1.c: Removed.
60749         * string/bug-strchr1.c: Likewise.
60750         * string/bug-strstr1.c: Likewise.
60752         * elf/Makefile (dl-routines): Add hwcaps.
60753         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60754         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60755         (_dl_important_hwcaps): Moved to ...
60756         * elf/dl-hwcaps.c: Here.  New file.
60757         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60759         [BZ #14557]
60760         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60761         if IS_IN_rtld isn't defined.
60763         * elf/dl-support.c (_dl_sysinfo_map): New.
60764         Include "get-dynamic-info.h" and "setup-vdso.h".
60765         (_dl_non_dynamic_init): Call setup_vdso.
60766         * elf/dynamic-link.h: Don't include <assert.h>.
60767         (elf_get_dynamic_info): Moved to ...
60768         * elf/get-dynamic-info.h: Here.  New file.
60769         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60770         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60771         * elf/setup-vdso.h: Here.  New file.
60772         * elf/rtld.c: Include "setup-vdso.h".
60773         (dl_main): Call setup_vdso.
60775 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60777         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60778         creal in comment listing functions tested.  List finite, isinf,
60779         isnan, isless, islessequal, isgreater, isgreaterequal,
60780         islessgreater, isunordered, lgamma_r and pow10 as functions and
60781         macros not tested.  Mention which functions not tested are aliases
60782         for other functions.  Fix typo.  Note that signs of NaNs are not
60783         tested.
60785         * scripts/config.guess: Update from config.git.
60786         * scripts/config.sub: Likewise.
60788 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60790         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60791         * misc/madvise.c (madvise): Renamed to __madvise.
60792         Make madvise a weak alias.
60793         * include/sys/mman.h: Declare __madvise.
60794         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60795         * sysdeps/unix/syscalls.list
60796         (madvise): Make __madvise the strong name, and madvise a weak alias.
60797         * sysdeps/unix/sysv/linux/syscalls.list
60798         (madvise, mmap): Remove redundant entries.
60799         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60800         * malloc/malloc.c (mtrim): Likewise.
60801         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60803 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60805         * sysdeps/mach/hurd/dl-cache.c: File removed.
60806         * config.h.in (USE_LDCONFIG): New #undef.
60807         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60808         * configure: Regenerated.
60809         * elf/Makefile (dl-routines): Add dl-cache only under
60810         [$(use-ldconfig) = yes].
60811         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60812         cache on [USE_LDCONFIG].
60813         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60814         [USE_LDCONFIG].
60815         * elf/rtld.c (dl_main): Likewise.
60817 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60819         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60820         _SC_LEVEL4_CACHE_LINESIZE.
60822 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60824         * sysdeps/unix/bsd/confstr.h: File removed.
60826 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60828         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60829         sys/sdt-config.h.
60831 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60833         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60834         Make 'mapoff' field ElfW(Off) rather than off_t.
60836 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60838         * nscd/Makefile: Remove nscd-cflags and all its users.
60839         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60840         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60842         [BZ #10631]
60843         * malloc.c (malloc_printerr): Clarify error message.
60845 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60847         [BZ #14648]
60848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60849         Set bit_FMA_Usable if FMA is supported.
60850         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60851         macro.
60852         (bit_FMA4_Usable): Updated.
60853         (index_FMA_Usable): New macro.
60854         (CPUID_FMA): Likewise.
60855         (HAS_FMA): Defined with bit_FMA_Usable.
60857 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60859         * bits/types.h (__swblk_t): Type removed.
60860         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60861         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60863         (__SWBLK_T_TYPE): Likewise.
60864         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60865         (__SWBLK_T_TYPE): Likewise.
60866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60867         (__SWBLK_T_TYPE): Likewise.
60868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60869         (__SWBLK_T_TYPE): Likewise.
60871 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60872             Honza Horak <hhorak@redhat.com>
60874         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60875         (xdr_mapname): Use YPMAXMAP as maxsize.
60876         (xdr_peername): Use YPMAXPEER as maxsize.
60877         (xdr_keydat): Use YPAXRECORD as maxsize.
60878         (xdr_valdat): Use YPMAXRECORD as maxsize.
60880 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60882         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60884         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60885         * csu/init-first.c: ... here.
60886         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60887         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60888         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60889         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60890         * sysdeps/i386/init-first.c: File removed.
60891         * sysdeps/sh/init-first.c: File removed.
60893 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60895         [BZ #14645]
60896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60897         if x * y might underflow to zero and z is zero.
60898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60900         * math/libm-test.inc (min_subnorm_value): New variable.
60901         (fma_test): Add more tests.
60902         (fma_test_towardzero): Likewise.
60903         (fma_test_downward): Likewise.
60904         (fma_test_upward): Likewise.
60905         (initialize): Set min_subnorm_value.
60907 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60909         [BZ #14638]
60910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60911         0 + 0.
60912         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60913         mode for addition resulting in exact zero.
60914         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60916         exact 0 + 0.
60917         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60919         * math/libm-test.inc (fma_test): Add more tests.
60920         (fma_test_towardzero): New function.
60921         (fma_test_downward): Likewise.
60922         (fma_test_upward): Likewise.
60923         (main): Call the new functions.
60925 2012-09-28  David S. Miller  <davem@davemloft.net>
60927         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60929 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60931         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60932         instead of SIGALRM.
60934         * sysdeps/gnu/_G_config.h: Moved to ...
60935         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60936         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60937         * sysdeps/generic/_G_config.h: ... here.
60939         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60941         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60943         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60944         Conditionalize target on [libnss_test1.so-version].
60946         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60948         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60949         (elfobjdir): Move out of conditionals.
60951         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60952         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60953         (__nss_lookup_function): Conditionalize label remove_from_tree on
60954         [!DO_STATIC_NSS || SHARED], matching its only use.
60956 2012-09-28  David S. Miller  <davem@davemloft.net>
60958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60959         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60960         file.
60961         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60962         sysdep_routines.
60963         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60965         when HWCAP_SPARC_CRYPTO is present.
60967 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60969         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60971 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60973         [BZ #6530]
60974         * stdio-common/vfprintf.c (process_string_arg): Revert
60975         2000-07-22 change.
60977 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60979         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60980         for testcase.
60981         * stdio-common/tst-sprintf.c: Include <locale.h>
60982         (main): Test sprintf's handling of incomplete multibyte
60983         characters.
60985 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60987         * elf/dl-runtime.c (VERSYMIDX): Removed.
60988         * elf/dl-version.c (VERSYMIDX): Likewise.
60989         * elf/do-rel.h (VERSYMIDX): Likewise.
60990         (VALIDX): Likewise.
60991         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60992         * elf/rtld.c (VALIDX): Likewise.
60993         (ADDRIDX): Likewise.
60994         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60995         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60996         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60997         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60998         (VALIDX): Likewise.
60999         (ADDRIDX): Likewise.
61001 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61003         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61005 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61007         [BZ #11438]
61008         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61009         to global scope.
61010         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61011         addresses are in the same scope as 192.0.2/24.
61012         * posix/gai.conf: Document new scope table defaults.
61014 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61016         [BZ #5298]
61017         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61018         for ftell.  Compute offsets from write pointers instead.
61019         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61021 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61023         [BZ #14543]
61024         * libio/Makefile (tests): New test case tst-fseek.
61025         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61026         combination works in wide mode.
61027         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61028         state when the external buffer state changes.
61030 2012-09-27  David S. Miller  <davem@davemloft.net>
61032         [BZ #14376]
61033         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61034         pass reloc->r_addend in as the 'high' argument to
61035         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61039 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61041         * rt/tst-aio2.c: Include <pthread.h>.
61042         * rt/tst-aio3.c: Likewise.
61044 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61046         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61048 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61050         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61051         contents on [SHARED].
61053 2012-09-26  Marek Polacek  <polacek@redhat.com>
61055         [BZ #14530]
61056         [BZ #13741]
61057         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61058         for C++ and GCC <4.3 as well as for non GCC compilers.
61060 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61064 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61066         * Makefile.in (all, install): Declare with .PHONY.
61067         Reported by Michael Hope <michael.hope@linaro.org>.
61069 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61071         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61072         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61073         system header.
61074         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61075         Likewise.
61076         (sydep_routines): Add the new and the internal functions.
61077         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61078         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61080         (GLIBC_2.17): Add the new function.
61081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61082         (GLIBC_2.17): Likewise.
61083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61084         (GLIBC_2.17): Likewise.
61085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61086         (GLIBC_2.17): Likewise.
61087         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61089 2012-09-25  Alan Modra  <amodra@gmail.com>
61091         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61092         Add release barrier before setting once_control to say
61093         initialisation is done.  Add hints on lwarx.  Use macro in
61094         place of isync.
61095         (clear_once_control): Add release barrier.
61097 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61099         [BZ #13629]
61100         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61101         specially.
61102         * math/s_clog10.c (__clog10): Likewise.
61103         * math/s_clog10f.c (__clog10f): Likewise.
61104         * math/s_clog10l.c (__clog10l): Likewise.
61105         * math/s_clogf.c (__clogf): Likewise.
61106         * math/s_clogl.c (__clogl): Likewise.
61107         * math/Makefile (libm-calls): Add x2y2m1.
61108         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61109         (__x2y2m1): Likewise.
61110         (__x2y2m1l): Likewise.
61111         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61112         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61113         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61114         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61115         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61116         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61117         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61118         * sysdeps/i386/fpu/libm-test-ulps: Update.
61119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61121         [BZ #14621]
61122         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61123         int as type of variable DEPTH.
61124         (glob): Use size_t instead of int as type of variables NEWCOUNT
61125         and OLD_PATHC.
61127 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61129         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61130         Add s_sincosf-sse2.
61131         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61132         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61133         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61134         macros for using routine as __sincosf_ia32.
61135         Use macro for function declaration and weak_alias.
61136         * sysdeps/i386/fpu/libm-test-ulps: Update.
61138         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61141         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61142         subnormal argument.
61143         * math/s_cexpf.c (__cexpf): Likewise.
61144         * math/s_csinf.c (__csinf): Likewise.
61145         * math/s_csinhf.c (__csinhf): Likewise.
61146         * math/s_ctanf.c (__ctanf): Likewise.
61147         * math/s_ctanhf.c (__ctanhf): Likewise.
61148         * math/s_ccosh.c (__ccoshf): Likewise.
61149         * math/s_cexp.c (__cexpl): Likewise.
61150         * math/s_csin.c (__csin): Likewise.
61151         * math/s_csinh.c (__csinh): Likewise.
61152         * math/s_ctan.c (__ctan): Likewise.
61153         * math/s_ctanh.c (ctanh): Likewise.
61154         * math/s_ccoshl.c (__ccoshl): Likewise.
61155         * math/s_cexpl.c (__cexpl): Likewise.
61156         * math/s_csinl.c (__csinl): Likewise.
61157         * math/s_csinhl.c (__csinhl): Likewise.
61158         * math/s_ctanl.c (__ctanl): Likewise.
61159         * math/s_ctanhl.c (__ctanhl): Likewise.
61161 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61163         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61164         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61165         (_IO_off_t): Define to __off_t, not _G_off_t.
61166         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61167         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61168         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61169         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61170         type of __dummy and __dummy2 fields.
61171         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61172         (_G_ssize_t): Likewise.
61173         (_G_off_t): Likewise.
61174         (_G_pid_t): Likewise.
61175         (_G_uid_t): Likewise.
61176         (_G_wchar_t): Likewise.
61177         (_G_wint_t): Likewise.
61178         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61179         (_G_ssize_t): Likewise.
61180         (_G_off_t): Likewise.
61181         (_G_pid_t): Likewise.
61182         (_G_uid_t): Likewise.
61183         (_G_wchar_t): Likewise.
61184         (_G_wint_t): Likewise.
61185         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61186         (_G_ssize_t): Likewise.
61187         (_G_off_t): Likewise.
61188         (_G_pid_t): Likewise.
61189         (_G_uid_t): Likewise.
61190         (_G_wchar_t): Likewise.
61191         (_G_wint_t): Likewise.
61193 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61195         * malloc/arena.c: Include malloc-sysdep.h.
61196         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61197         is sufficient to shrink the heap or an unmap is needed.
61198         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61199         new function check_may_shrink_heap.
61200         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61201         new function check_may_shrink_heap.
61203 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61205         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61206         comments.
61208 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61210         * catgets/test-gencat.sh: Add "set -e".
61211         * elf/tst-pathopt.sh: Likewise.
61212         * grp/tst_fgetgrent.sh: Likewise.
61213         * iconvdata/run-iconv-test.sh: Likewise.
61214         * intl/tst-gettext.sh: Likewise.
61215         * intl/tst-gettext2.sh: Likewise.
61216         * intl/tst-gettext4.sh: Likewise.
61217         * intl/tst-gettext6.sh: Likewise.
61218         * intl/tst-translit.sh: Likewise.
61219         * io/ftwtest-sh: Likewise.
61220         * libio/test-freopen.sh: Likewise.
61221         * malloc/tst-mtrace.sh: Likewise.
61222         * posix/globtest.sh: Likewise.
61223         * posix/tst-getconf.sh: Likewise.
61224         * posix/wordexp-tst.sh: Likewise.
61225         * stdio-common/tst-printf.sh: Likewise.
61226         * stdio-common/tst-unbputc.sh: Likewise.
61227         * stdlib/tst-fmtmsg.sh: Likewise.
61228         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61229         * catgets/Makefile: Do not specify -e option when running
61230         testsuite shell scripts.
61231         * elf/Makefile: Likewise.
61232         * grp/Makefile: Likewise.
61233         * iconvdata/Makefile: Likewise.
61234         * intl/Makefile: Likewise.
61235         * io/Makefile: Likewise.
61236         * libio/Makefile: Likewise.
61237         * malloc/Makefile: Likewise.
61238         * posix/Makefile: Likewise.
61239         * stdio-common/Makefile: Likewise.
61240         * stdlib/Makefile: Likewise.
61241         * sysdeps/x86_64/Makefile: Likewise.
61243         * io/ftwtest-sh: Add copyright header.
61244         * posix/globtest.sh: Likewise.
61245         * posix/tst-getconf.sh: Likewise.
61246         * posix/wordexp-tst.sh: Likewise.
61247         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61249 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61251         [BZ #13679]
61252         * Makeconfig (+link): Defined as $(+link-static) if
61253         $(build-shared) isn't yes.
61254         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61255         isn't yes.
61256         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61258         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61260         [BZ #14562]
61261         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61262         new chunk size with MALLOC_ALIGN_MASK.
61264 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61266         [BZ #5044]
61267         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61268         <rounding-mode.h>.
61269         (__printf_fphex): Determine rounding using get_rounding_mode and
61270         round_away.
61271         * stdio-common/tst-printf-round.c (struct hex_test): New
61272         structure.
61273         (hex_tests): New variable.
61274         (test_hex_in_one_mode): New function.
61275         (do_test): Also run tests for hex float output.
61277 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61279         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61280         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61281         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61282         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61283         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61284         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61285         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61286         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61288 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61290         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61291         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61292         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61293         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61295 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61297         [BZ #14579]
61298         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61299         mode only.
61300         * elf/tst-rtld-load-self.sh: New test.
61301         * elf/Makefile: Run it.
61303 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61305         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61306         (tst-writev-ENV): Remove.
61307         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61309 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61311         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61313 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61315         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61316         unconditional.
61317         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61318         Likewise.
61319         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61320         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61321         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61322         Likewise.
61324 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61326         [BZ #14587]
61327         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61328         * config.make.in (have-cpp-asm-debuginfo): Removed.
61329         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61330         * configure: Regenerated.
61332 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61334         [BZ #5044]
61335         * stdio-common/printf_fp.c: Include <stdbool.h> and
61336         <rounding-mode.h>.
61337         (___printf_fp): Determine rounding using get_rounding_mode and
61338         round_away.
61339         * stdio-common/tst-printf-round.c: New file.
61340         * stdio-common/Makefile (tests): Add tst-printf-round.
61341         (link-libm): New variable.
61342         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61344 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61346         [BZ #14576]
61347         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61348         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61349         Likewise.
61350         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61351         Likewise.
61353 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61355         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61356         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61357         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61358         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61360 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61362         [BZ #14518]
61363         * include/rounding-mode.h: New file.
61364         * sysdeps/generic/get-rounding-mode.h: Likewise.
61365         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61366         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61367         (MAX_VALUE): New macro.
61368         (MIN_VALUE): Likewise.
61369         (overflow_value): New function.
61370         (underflow_value): Likewise.
61371         (round_and_return): Use overflow_value and underflow_value to
61372         determine return values in overflow and underflow cases.  Use
61373         round_away to determine rounding depending on rounding mode.
61374         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61375         determine return values in overflow and underflow cases.
61376         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61377         (struct test_results): New structure.
61378         (struct test): Use struct test_results to store expected results
61379         for all rounding modes.
61380         (TEST): Include expected results for all rounding modes.
61381         (test_in_one_mode): New function.
61382         (do_test): Use test_in_one_mode to compute and check results.
61383         Check results for all rounding modes.
61384         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61385         $(link-libm).
61387 2012-12-09  Allan McRae  <allan@archlinux.org>
61389         * sysdeps/i386/fpu/libm-test-ulps: Update
61391 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61393         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61394         (_G_int32_t): Likewise.
61395         (_G_uint16_t): Likewise.
61396         (_G_uint32_t): Likewise.
61397         (_G_HAVE_BOOL): Likewise.
61398         (_G_HAVE_ATEXIT): Likewise.
61399         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61400         (_G_HAVE_IO_FILE_OPEN): Likewise.
61401         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61402         (_G_int32_t): Likewise.
61403         (_G_uint16_t): Likewise.
61404         (_G_uint32_t): Likewise.
61405         (_G_HAVE_BOOL): Likewise.
61406         (_G_HAVE_ATEXIT): Likewise.
61407         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61408         (_G_HAVE_IO_FILE_OPEN): Likewise.
61409         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61410         (_G_int32_t): Likewise.
61411         (_G_uint16_t): Likewise.
61412         (_G_uint32_t): Likewise.
61413         (_G_HAVE_BOOL): Likewise.
61414         (_G_HAVE_ATEXIT): Likewise.
61415         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61416         (_G_HAVE_IO_FILE_OPEN): Likewise.
61418 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61420         * csu/libc-tls.c: Update copyright years.
61422 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61424         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61425         [!_G_USING_THUNKS]: Remove conditional code.
61426         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61427         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61429         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61430         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61431         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61432         (_G_VTABLE_LABEL_PREFIX): Likewise.
61433         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61434         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61435         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61436         (_G_VTABLE_LABEL_PREFIX): Likewise.
61437         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61438         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61439         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61440         (_G_VTABLE_LABEL_PREFIX): Likewise.
61441         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61443 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61445         * libio/Makefile: Include ../Makeconfig before tests.
61446         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61447         only if $(build-shared) is yes.
61449         * iconv/gconv_db.c: Update copyright years.
61451 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61453         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61454         unwind info if defined PIC. Fix special cases description.
61455         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61457         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61458         DP_HI_MASK entry.
61459         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61461 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61463         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61465         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61466         is NULL.
61468         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61469         (LDLIBS-tst-chk4): This.
61470         (LDFLAGS-tst-chk5): Renamed to ...
61471         (LDLIBS-tst-chk5): This.
61472         (LDFLAGS-tst-chk6): Renamed to ...
61473         (LDLIBS-tst-chk6): This.
61474         (LDFLAGS-tst-lfschk4): Renamed to ...
61475         (LDLIBS-tst-lfschk4): This.
61476         (LDFLAGS-tst-lfschk5): Renamed to ...
61477         (LDLIBS-tst-lfschk5): This.
61478         (LDFLAGS-tst-lfschk6): Renamed to ...
61479         (LDLIBS-tst-lfschk6): This.
61481         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61482         on $(common-objpfx)soversions.mk.
61484 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61486         [BZ #10014]
61487         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61488         example host name.
61490 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61492         * malloc/arena.c (arena_get_retry): New function that gets
61493         another arena for the caller to try its request on.
61494         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61495         current arena cannot fulfill the request.
61496         (__libc_memalign): Likewise.
61497         (__libc_memalign): Likewise.
61498         (__libc_pvalloc): Likewise.
61499         (__libc_calloc): Likewise.
61501 2012-09-05  John Tobey  <john.tobey@gmail.com>
61503         [BZ #13542]
61504         * manual/arith.texi (Operations on Complex): Fix description
61505         of carg branch cut.
61507 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61509         [BZ #10014]
61510         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61511         host name.
61513         [BZ #10038]
61514         * manual/memory.texi (Memory): Make order of menu items match
61515         order of sections.
61517 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61519         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61520         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61521         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61523 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61525         * csu/libc-tls.c (static_dtv): Renamed to ...
61526         (_dl_static_dtv): This.  Make it global.
61527         (_dl_initial_dtv): Removed.
61528         (__libc_setup_tls): Updated.
61529         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61530         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61531         DL_INITIAL_DTV.
61533 2012-09-06  Petr Machata  <pmachata@redhat.com>
61535         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61536         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61537         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61538         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61540 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61542         [BZ #14545]
61543         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61544         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61545         freeing dtv[-1].
61547 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61549         [BZ #14544]
61550         * Makeconfig (link-static-before-libc): Replace $(+prector)
61551         with $(+prectorT).
61552         (link-static-after-libc): Replace $(+postctor) with
61553         $(+postctorT).
61554         (link-bounded): Replace $(+prector)/$(+postctor) with
61555         $(+prectorT)/$(+postctorT).
61556         (+prectorT): New macro.
61557         (+postctorT): Likewise.
61559 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61561         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61562         (round_str): Handle values above the maximum for IBM long double
61563         as inexact.
61564         * stdlib/tst-strtod-round.c (tests): Regenerated.
61566 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61568         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61569         assembler flag.
61570         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61571         zarch_nohighgprs around the zarch optimized routines.
61572         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61573         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61575         for zarch.
61577 2012-09-05  David S. Miller  <davem@davemloft.net>
61579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61581         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61582         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61583         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61584         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61585         entries.
61587 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61589         * malloc/arena.c: Fold copyright years.
61590         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61592 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61594         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61596 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61598         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61600 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61602         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61603         change internal state upon failure.
61605 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61607         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61608         * malloc/memusage.c (mmap): Likewise.
61609         (mmap64, mremap): Likewise.  Adjust name in comment.
61611 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61613         * libio/fileops.c: Fix typos in comments.
61614         * libio/oldfileops.c: Likewise.
61615         * libio/wfileops.c: Likewise.
61617 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61619         [BZ #1349]
61620         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61621         (tst-malloc-usable-ENV): Set environment for test case.
61622         * malloc/hooks.c (malloc_check_get_size): New function to get
61623         requested size.
61624         * malloc/malloc.c (musable): Use malloc_check_get_size.
61625         * malloc/tst-malloc-usable.c: New test case.
61627 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61629         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61631 2012-09-05  Allan McRae  <allan@archlinux.org>
61633         [BZ #13966]
61634         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61635         determine header location.
61636         * configure: Regenerated.
61638 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61640         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61641         float format.
61642         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61643         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61644         format.
61645         (test): Regenerate.
61647 2012-09-04  David S. Miller  <davem@davemloft.net>
61649         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61650         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61651         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61653 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61655         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61656         failures.
61658         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61660 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61662         [BZ #9914]
61663         * libio/iogetdelim.c: Include <limits.h>.
61664         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61665         + len + 1 would overflow.
61667 2012-09-03  Andreas Jaeger  <aj@suse.de>
61669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61670         * sysdeps/i386/fpu/libm-test-ulps: Update.
61672 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61674         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61675         Add s_sinf-sse2, s_conf-sse2.
61677         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61678         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61679         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61680         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61682         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61683         for using routine as __sinf_ia32.
61684         Use macro for function declaration and weak_alias.
61685         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61686         for using routine as __cosf_ia32.
61687         Use macro for function declaration and weak_alias.
61689         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61690         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61692         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61693         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61696         * math/libm-test.inc (cos_test): Add more test cases.
61697         (sin_test): Likewise.
61698         (sincos_test): Likewise.
61700 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61702         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61703         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61704         hidden.
61705         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61707 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61709         [BZ #14538]
61710         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61711         first element of the GOT.
61712         (elf_machine_load_address): Return the difference between
61713         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61715 2012-09-01  Allan McRae  <allan@archlinux.org>
61717         [BZ #13412]
61718         * configure.in (AWK): Require gawk version 3.0 or later.
61719         * configure: Regenerated.
61721 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61723         * sysdeps/unix/sysv/linux/kernel-features.h
61724         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61725         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61726         [__NR_clock_getres]: Make code unconditional.
61727         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61728         (clock_getcpuclockid): Remove code left unreachable by removal of
61729         conditionals.
61730         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61731         code unconditional.
61732         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61733         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61734         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61735         Make code unconditional.
61736         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61737         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61738         * sysdeps/unix/sysv/linux/clock_settime.c
61739         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61740         conditional code.
61741         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61742         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61744 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61746         [BZ #14476]
61747         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61748         scripts/test-installation.pl.
61750         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61751         and $ld_so_version if it is set.
61753 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61755         [BZ #14516]
61756         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61757         failure if reading from procfs failed.
61758         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61760 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61762         * sysdeps/unix/sysv/linux/kernel-features.h
61763         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61764         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61765         Remove conditional code.
61766         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61767         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61768         Remove conditional code.
61769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61770         * sysdeps/unix/sysv/linux/i386/fxstat.c
61771         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61773         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61774         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61776         * sysdeps/unix/sysv/linux/i386/lxstat.c
61777         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61779         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61780         Remove conditional code.
61781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61782         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61783         Remove conditional code.
61784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61785         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61786         <kernel-features.h>.
61787         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61788         Remove.
61789         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61790         Remove conditional code.
61791         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61792         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61793         Remove conditional.
61795 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61797         [BZ #5400]
61798         * NEWS: Add fixed bug number.
61800 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61802         [BZ #14519]
61803         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61804         underflowing exponent in case of negative sign.
61805         * stdlib/tst-strtod-round-data: Add more tests.
61806         * stdlib/tst-strtod-round.c (tests): Regenerated.
61808         [BZ #3479]
61809         * stdlib/strtod_l.c (NDIG): Remove.
61810         (HEXNDIG): Likewise.
61811         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61812         smallest representable value.
61813         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61814         lie within an exact representation of 1/2 ulp of the result.
61815         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61816         unconditionally.
61817         (TENS_P9_IDX): Define unconditionally.
61818         (TENS_P9_SIZE): Likewise.
61819         (TENS_P10_IDX): Likewise.
61820         (TENS_P10_SIZE): Likewise.
61821         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61822         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61823         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61824         entries for 10^2^13 and 10^2^14.
61825         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61826         (TENS_P13_IDX): Define.
61827         (TENS_P13_SIZE): Likewise.
61828         (TENS_P14_IDX): Likewise.
61829         (TENS_P14_SIZE): Likewise.
61830         (_fpioconst_pow10): Change array size to
61831         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61832         unconditional.
61833         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61834         1024]: Add entries for 10^2^13 and 10^2^14.
61835         [LAST_POW10 > _LAST_POW10]: Remove #error.
61836         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61837         (_fpioconst_pow10): Change array size to
61838         FPIOCONST_POW10_ARRAY_SIZE.
61839         * stdlib/gen-fpioconst.c: New file.
61840         * stdlib/gen-tst-strtod-round.c: Likewise.
61841         * stdlib/tst-strtod-round-data: Likewise.
61842         * stdlib/tst-strtod-round.c: Likewise.
61843         * stdlib/Makefile (tests): Add tst-strtod-round.
61845         [BZ #14459]
61846         * stdlib/strtod_l.c: Include <stdint.h>.
61847         (NDEBUG): Do not define.
61848         (round_and_return): Change EXPONENT parameter to type intmax_t.
61849         Rearrange calculations to avoid internal overflow possibilities.
61850         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61851         Rearrange calculations to avoid internal overflow possibilities.
61852         Assert that number fits inside MPNSIZE limbs.
61853         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61854         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61855         calculations and add assertions to avoid internal overflow
61856         possibilities.  Add casts to avoid signed/unsigned operations.
61857         * stdlib/tst-strtod-overflow.c: New file.
61858         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61860 2012-08-25  Marek Polacek  <polacek@redhat.com>
61862         * time/time.h: Fix some typos in comments.
61864 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61866         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61867         * posix/tst-rfc3484-2.c: Likewise.
61868         * posix/tst-rfc3484-3.c: Likewise.
61870 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61872         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61873         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61875 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61877         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61878         #include of fxstatat64.c.
61880 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61882         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61883         * shadow/getspent_r.c: Likewise.
61884         * shadow/getspnam.c: Likewise.
61885         * shadow/getspnam_r.c: Likewise.
61886         * gshadow/getsgent.c: Likewise.
61887         * gshadow/getsgent_r.c: Likewise.
61888         * gshadow/getsgnam.c: Likewise.
61889         * gshadow/getsgnam_r.c: Likewise.
61890         * inet/getnetbyad.c: Likewise.
61891         * inet/getnetbyad_r.c: Likewise.
61892         * inet/getnetbynm.c: Likewise.
61893         * inet/getnetbynm_r.c: Likewise.
61894         * inet/getnetent.c: Likewise.
61895         * inet/getnetent_r.c: Likewise.
61896         * inet/getproto.c: Likewise.
61897         * inet/getproto_r.c: Likewise.
61898         * inet/getprtent.c: Likewise.
61899         * inet/getprtent_r.c: Likewise.
61900         * inet/getprtname.c: Likewise.
61901         * inet/getprtname_r.c: Likewise.
61902         * inet/getrpcbyname.c: Likewise.
61903         * inet/getrpcbyname_r.c: Likewise.
61904         * inet/getrpcbynumber.c: Likewise.
61905         * inet/getrpcbynumber_r.c: Likewise.
61906         * inet/getrpcent.c: Likewise.
61907         * inet/getrpcent_r.c: Likewise.
61908         * inet/getaliasent.c: Likewise.
61909         * inet/getaliasent_r.c: Likewise.
61910         * inet/getaliasname.c: Likewise.
61911         * inet/getaliasname_r.c: Likewise.
61912         * nscd/getgrgid_r.c: Likewise.
61913         * nscd/getgrnam_r.c: Likewise.
61914         * nscd/gethstbyad_r.c: Likewise.
61915         * nscd/gethstbynm3_r.c: Likewise.
61916         * nscd/getpwnam_r.c: Likewise.
61917         * nscd/getpwuid_r.c: Likewise.
61918         * nscd/getsrvbynm_r.c: Likewise.
61919         * nscd/getsrvbypt_r.c: Likewise.
61920         * nscd/gai.c: Likewise.
61922         * configure.in (build_nscd): New substituted variable, set
61923         by --disable-build-nscd and defaults to $use_nscd.
61924         * configure: Regenerated.
61925         * config.make.in (build-nscd): New substituted variable.
61926         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61927         Change conditional to require [$(build-nscd) = yes] as well.
61928         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61930         [BZ# 13696]
61931         * configure.in (use_nscd): New substituted variable, set by
61932         --disable-nscd.  If enabled, define USE_NSCD.
61933         * configure: Regenerated.
61934         * config.h.in: Add USE_NSCD.
61935         * config.make.in (use-nscd): New substituted variable.
61936         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61937         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61938         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61939         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61940         (CFLAGS-getgrnam_r.c): Likewise.
61941         (CFLAGS-initgroups.c): Likewise.
61942         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61943         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61944         Variables removed.
61945         * inet/getnetgrent_r.c
61946         (nscd_setnetgrent): New function, broken out of ...
61947         (setnetgrent): ... here.  Call it.
61948         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61949         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61950         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61951         * nscd/Makefile (routines, aux): Move definitions after include of
61952         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61953         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61954         Conditionalize on [USE_NSCD].
61955         (is_nscd, nscd_init_cb): Likewise.
61956         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61957         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61958         * nss/nss_db/db-init.c: Likewise.
61959         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61960         [USE_NSCD].
61961         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61962         (make_request): Use it.
61963         (cache_valid_p): New function.
61964         (__check_pf): Use it.
61965         * NEWS: Add item for --disable-nscd.
61967 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61969         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61970         to support sed >= 4.2.1-20-ga9bf076.
61971         * configure: Regenerated.
61973 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61975         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61976         Conditionalize whole body on [IREL].
61978 2012-08-22  Jeff Law <law@redhat.com>
61980         [BZ #14505]
61981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61982         if the family is PF_UNSPEC.
61984 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61986         * Makerules (lib-version): Rename from V.
61987         (install-lib-nosubdir): Change V to lib-version.
61989 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61991         [BZ #14252]
61992         * powerpc32/power6/wcschr.c: New file.
61993         * powerpc32/power6/wcscpy.c: New file.
61994         * powerpc32/power6/wcsrchr.c: New file.
61995         * powerpc64/power6/wcschr.c: New file.
61996         * powerpc64/power6/wcscpy.c: New file.
61997         * powerpc64/power6/wcsrchr.c: New file.
61999 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62001         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62002         (two_way_short_needle): Use it.
62003         * string/strstr.c (AVAILABLE1_USES_J): Define.
62004         * string/strcasestr.c: Likewise.
62006         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62007         array references.
62008         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62010         [BZ #11607]
62011         * NEWS: Add an entry.
62012         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62013         define their defaults.
62014         (two_way_short_needle): Detect end-of-string on-the-fly.
62015         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62016         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62017         * string/bug-strcasestr1.c: New test.
62018         * string/Makefile: Run it.
62020 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62022         [BZ #11607]
62023         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62024         the first character.
62026 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62028         * csu/elf-init.c (__libc_csu_irel): Function removed.
62029         * csu/libc-start.c (apply_irel): New function.
62030         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62032 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62034         * sysdeps/unix/sysv/linux/kernel-features.h
62035         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62036         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62037         <kernel-features.h>.
62038         [__NR_fadvise64_64]: Make code unconditional.
62039         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62040         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62041         !__NR_fadvise64_64)]: Likewise.
62042         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62043         !__NR_fadvise64_64))]: Likewise.
62044         [__NR_fadvise64]: Make code unconditional.
62045         [!__NR_fadvise64]: Remove conditional code.
62046         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62047         <kernel-features.h>.
62048         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62049         unconditional.
62050         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62051         conditional code.
62052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62053         not include <kernel-features.h>.
62054         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62055         unconditional.
62056         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62057         conditional code.
62058         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62059         include <kernel-features.h>.
62060         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62061         unconditional.
62062         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62063         conditional code.
62065 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62067         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62068         slight instruction rearrangements per scrollpipe analysis.
62069         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62071 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62073         * manual/syslog.texi (syslog; vsyslog, closelog):
62074         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62075         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62077         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62078         DSOCAPS to match condition on defining it.
62080 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62082         * sysdeps/unix/sysv/linux/kernel-features.h
62083         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62085         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62086         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62088         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62089         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62091         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62092         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62094         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62095         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62097         * sysdeps/unix/sysv/linux/kernel-features.h
62098         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62099         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62100         unconditional.
62101         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62102         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62103         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62104         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62105         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62106         Make code unconditional.
62107         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62108         (__mmap64) [!__NR_mmap2]: Likewise.
62109         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62110         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62111         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62112         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62113         [__NR_mmap2]: Make code unconditional.
62114         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62115         (__mmap64) [!__NR_mmap2]: Likewise.
62117 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62119         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62121 2012-08-18  Andreas Jaeger  <aj@suse.de>
62123         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62125 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62127         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62128         * include/unistd.h (__have_sock_cloexec): Likewise.
62129         (__have_pipe2): Likewise.
62130         (__have_dup3): Likewise.
62132 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62134         [BZ #9685]
62135         * include/unistd.h (__have_pipe2): Change define into an extern int.
62136         (__have_dup3): Likewise.
62137         * socket/have_sock_cloexec.c: Include fcntl.h.
62138         (__have_pipe2): New variable.
62139         (__have_dup3): Likewise.
62141 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62143         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62145 2012-08-17  Marek Polacek  <polacek@redhat.com>
62147         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62148         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62150 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62152         * configure.in: Add AC_SUBST for sysheaders.
62153         * configure: Regenerated.
62154         * config.make.in (sysheaders): New substituted variable.
62156         * sysdeps/unix/mkfifo.c: Moved ...
62157         * sysdeps/posix/mkfifo.c: ... here.
62158         * sysdeps/unix/mkfifoat.c: Moved ...
62159         * sysdeps/posix/mkfifoat.c: ... here.
62161         * sysdeps/unix/utime.c: Moved ...
62162         * sysdeps/posix/utime.c: ... here.
62164         * sysdeps/unix/time.c: Moved ...
62165         * sysdeps/posix/time.c: ... here.
62166         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62167         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62169         * sysdeps/unix/nice.c: Moved ...
62170         * sysdeps/posix/nice.c: ... here.
62172         * sysdeps/unix/alarm.c: Moved ...
62173         * sysdeps/posix/alarm.c: ... here.
62175         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62177 2012-08-17  Jeff Law <law@redhat.com>
62179         * intl/Makefile (codeset_mo): New variable.
62180         ($(codeset_mo)): New target.
62181         (tst-codeset.out): Depend on that.  Remove explicit rule.
62182         (tst-gettext3.out, tst-gettext5.out): Likewise.
62183         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62184         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62185         * intl/tst-codeset.sh: Remove.
62186         * intl/tst-gettext3.sh: Likewise.
62187         * intl/tst-gettext5.sh: Likewise.
62189 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62191         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62192         * sysdeps/unix/syscalls.list: ... here.
62194         * sysdeps/posix/getaddrinfo.c
62195         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62196         (gaiconf_init, gaiconf_reload): Use them.
62197         [!_STATBUF_ST_NSEC]
62198         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62199         Define using time_t rather than struct timespec.
62201         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62202         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62203         Macros removed.
62204         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62205         [!NO_THREADS].
62206         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62207         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62208         Likewise.
62210         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62211         __libc_cleanup_push argument.
62213         * bits/param.h: New file.
62214         * misc/sys/param.h: New file.
62215         * include/sys/param.h: New file.
62216         * misc/Makefile (headers): Add bits/param.h.
62217         * sysdeps/generic/sys/param.h: File removed.
62218         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62219         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62220         * sysdeps/mach/hurd/bits/param.h: New file.
62221         * sysdeps/mach/hurd/sys/param.h: File removed.
62223         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62224         last change.
62226         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62227         [_IO_MTSAFE_IO].
62228         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62229         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62230         New macros.
62232         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62233         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62234         rather than -D_IO_MTSAFE_IO conditionally.
62235         * stdio-common/Makefile (CPPFLAGS): Likewise.
62236         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62237         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62238         Use $(libio-mtsafe).
62239         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62240         of -D_IO_MTSAFE_IO.
62241         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62242         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62243         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62244         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62245         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62246         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62247         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62248         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62249         (CFLAGS-fread_u_chk.c): Likewise.
62250         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62251         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62252         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62253         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62254         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62255         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62256         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62257         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62258         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62260         * libio/Makefile: Test [$(libc-reentrant) = yes]
62261         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62263         * Makeconfig
62264         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62265         * sysdeps/pthread/configure: File removed.
62266         * sysdeps/pthread/Makeconfig: New file.
62267         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62268         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62270 2012-08-16  Gary Benson  <gbenson@redhat.com>
62272         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62273         unmapping the first object in a namespace.
62275 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62277         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62278         (__internal_setnetgrent): ... this.  Add internal_function to
62279         definition.  Add libc_hidden_def.
62280         (setnetgrent): Update caller.
62281         (internal_endnetgrent): Renamed to ...
62282         (__internal_endnetgrent): ... this.  Add internal_function to
62283         definition.  Add libc_hidden_def.
62284         (endnetgrent): Update caller.
62285         (internal_getnetgrent_r): Renamed to ...
62286         (__internal_getnetgrent_r): ... this.  Add internal_function to
62287         definition.  Add libc_hidden_def.
62288         (__getnetgrent_r): Update caller.
62289         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62291 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62293         * stdlib/longlong.h: Update from GCC.
62295 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62297         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62298         on _QL, which is set by umul_ppmm but never used.
62299         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62300         variables, which are set by GMP macros but never used.
62301         * stdio-common/_itowa.c (_itowa): Likewise.
62302         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62303         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62305 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62307         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62308         struct La_sh_regs is not constant.
62309         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62310         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62311         and struct La_sparc64_regs are not constant.
62313 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62315         * sysdeps/unix/sysv/linux/kernel-features.h
62316         (__ASSUME_POSIX_TIMERS): Remove.
62317         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62318         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62319         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62320         Make code unconditional.
62321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62322         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62323         Make code unconditional.
62324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62325         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62326         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62328         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62329         Make code unconditional.
62330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62331         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62332         (__libc_missing_posix_timers): Remove.
62334 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62336         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62337         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62339         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62341         * elf/dl-sym.c: Include <stdlib.h>.
62343         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62344         constants, which avoids warnings in 32-bit builds.
62346         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62347         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62349         * misc/lseek.c: File moved to ...
62350         * io/lseek.c: ... here.
62352         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62354         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62355         shifting LEN more than 31 bits at once.
62357 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62359         [BZ #14195]
62360         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62361         segmentation fault for a case of two empty input strings.
62362         * string/test-strncasecmp.c (check1): Renamed to...
62363         (bz12205): ...this.
62364         (bz14195): Add new testcase for two empty input strings and N > 0.
62365         (test_main): Call new testcase, adapt for renamed function.
62367 2012-08-15  Andreas Jaeger  <aj@suse.de>
62369         [BZ #14090]
62370         * crypt/md5test2.c: New test, based on test supplied by Serge
62371         Belyshev <belyshev@depni.sinp.msu.ru>.
62372         * crypt/Makefile (xtests): Add md5test-giant..
62373         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62375 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62377         [BZ #14090]
62378         * crypt/md5.c (md5_process_block): Don't assume the buffer
62379         length is less than 2**32.
62380         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62381         length is less than 2**64.
62383 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62385         * string/str-two-way.h: Include <sys/param.h>.
62386         (MAX): Macro removed.
62388         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62389         Move #define and #undef of memmove to just before and after
62390         including <string.h>.
62392         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62393         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62394         and after including <string.h>.  Move declarations of
62395         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62396         to before #include "string/memmove.c".
62398         * include/dirent.h: Declare __getdirentries.
62400         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62401         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62403 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62405         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62406         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62407         * sysdeps/i386/configure: Regenerated.
62408         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62409         STABS_CURRENT_FILE, and STABS_FUN.
62410         (END): Remove call to STABS_FUN_END.
62411         (STABS_CURRENT_FILE1): Delete.
62412         (STABS_CURRENT_FILE): Likewise.
62413         (STABS_FUN): Likewise.
62414         (STABS_FUN_END): Likewise.
62415         (STABS_FUN2): Likewise.
62416         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62417         * sysdeps/x86_64/configure: Regenerated.
62419 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62421         * elf/dl-open.c: Include <atomic.h>.
62422         * elf/dl-lookup.c: Likewise.
62424 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62426         * sysdeps/unix/sysv/linux/kernel-features.h
62427         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62428         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62429         unconditionally.
62430         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62431         unconditionally.
62432         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62433         condition on __ASSUME_CLONE_THREAD_FLAGS.
62435 2012-08-14  Andreas Jaeger  <aj@suse.de>
62437         * sysdeps/i386/fpu/libm-test-ulps: Update.
62439 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62441         * include/atomic.h (atomic_exchange_and_add): Split into ...
62442         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62443         New atomic macros.
62445 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62449 2012-08-13  Jeff Law <law@redhat.com>
62451         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62452         null byte in the output string.
62454 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62456         * sysdeps/unix/sysv/linux/kernel-features.h
62457         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62458         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62459         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62460         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62461         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62462         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62463         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62465 2012-08-09  Jeff Law <law@redhat.com>
62467         [BZ #13939]
62468         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62469         When avoid_arena is set, don't retry in the that arena.  Pick the
62470         next one, whatever it might be.
62471         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62472         (arena_lock): Pass in new parameter to arena_get2.
62473         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62474         arena_get2.
62475         (__libc_malloc): Unify retrying after main arena failure with
62476         __libc_memalign version.
62477         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62479 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62481         [BZ #14166]
62482         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62483         to __redirect_strstr.
62484         (__strstr_sse42): Use typeof __redirect_strstr.
62485         (__strstr_ia32): Likewise.
62486         (__libc_strstr): New prototype.
62487         (strstr): Renamed to ...
62488         (__libc_strstr): This.
62489         (strstr): New strong alias of __libc_strstr.
62490         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62491         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62492         __redirect_time.
62493         Include <time.h>.
62494         (__libc_time): New prototype.
62495         (time_ifunc): Replace time with __libc_time.
62496         (time): New strong alias and hidden definition of __libc_time.
62497         (__GI_time): Remove strong alias.
62498         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62499         Include <stddef.h>.
62500         (memmove): Redefined to __redirect_memmove.
62501         (__memmove_sse2): Use typeof __redirect_memmove.
62502         (__memmove_ssse3): Likewise.
62503         (__memmove_ssse3_back): Likewise.
62504         (__libc_memmove): New prototype.
62505         (memmove): Renamed to ...
62506         (__libc_memmove): This.
62507         (memmove): New strong alias of __libc_memmove.
62509 2012-08-08  Mark Salter  <msalter@redhat.com>
62511         * elf/elf.h
62512         (R_MN10300_TLS_GD): Define.
62513         (R_MN10300_TLS_LD): Likewise.
62514         (R_MN10300_TLS_LDO): Likewise.
62515         (R_MN10300_TLS_GOTIE): Likewise.
62516         (R_MN10300_TLS_IE): Likewise.
62517         (R_MN10300_TLS_LE): Likewise.
62518         (R_MN10300_TLS_DTPMOD): Likewise.
62519         (R_MN10300_TLS_DTPOFF): Likewise.
62520         (R_MN10300_TLS_TPOFF): Likewise.
62521         (R_MN10300_SYM_DIFF): Likewise.
62522         (R_MN10300_ALIGN): Likewise.
62523         (R_MN10300_NUM): Update.
62525 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62527         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62528         Remove.
62530 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62532         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62534         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62535         sysdeps/unix -> sysdeps/posix move.
62536         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62538 2012-08-07      Allan McRae     <allan@archlinux.org>
62540         [BZ #14303]
62541         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62542         (SUNOS_CPP): Likewise.
62543         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62544         not found.
62545         (open_input): Call CPP using execvp.
62547 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62549         * sysdeps/unix/sysv/linux/kernel-features.h
62550         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62551         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62552         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62553         (__ASSUME_WAITID_SYSCALL): Likewise.
62554         * sysdeps/unix/sysv/linux/dl-execstack.c
62555         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62556         code unconditional.
62557         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62558         conditional code.
62559         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62560         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62561         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62562         code.
62563         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62564         unconditional.
62565         [__ASSUME_WAITID_SYSCALL]: Likewise.
62566         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62568 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62570         * sysdeps/unix/closedir.c: Renamed to ...
62571         * sysdeps/posix/closedir.c: ... here.
62572         * sysdeps/unix/dirfd.c: Renamed to ...
62573         * sysdeps/posix/dirfd.c: ... here.
62574         * sysdeps/unix/dirstream.h: Renamed to ...
62575         * sysdeps/posix/dirstream.h: ... here.
62576         * sysdeps/unix/fdopendir.c: Renamed to ...
62577         * sysdeps/posix/fdopendir.c: ... here.
62578         * sysdeps/unix/opendir.c: Renamed to ...
62579         * sysdeps/posix/opendir.c: ... here.
62580         * sysdeps/unix/readdir.c: Renamed to ...
62581         * sysdeps/posix/readdir.c: ... here.
62582         * sysdeps/unix/readdir_r.c: Renamed to ...
62583         * sysdeps/posix/readdir_r.c: ... here.
62584         * sysdeps/unix/rewinddir.c: Renamed to ...
62585         * sysdeps/posix/rewinddir.c: ... here.
62586         * sysdeps/unix/seekdir.c: Renamed to ...
62587         * sysdeps/posix/seekdir.c: ... here.
62588         * sysdeps/unix/telldir.c: Renamed to ...
62589         * sysdeps/posix/telldir.c: ... here.
62590         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62591         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62592         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62593         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62595         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62596         * bits/fcntl.h: ... here.
62598         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62599         not 0.
62600         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62601         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62602         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62603         (struct flock): Move l_start, l_len to the beginning.
62604         Use __pid_t for l_pid.
62605         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62606         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62607         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62608         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62609         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62610         [__USE_LARGEFILE64] (struct flock64): New type.
62611         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62613         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62614         * bits/dirent.h: ... here.
62616         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62617         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62619 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62621         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62622         Change from 2.6.0 to 2.6.16.
62623         * sysdeps/unix/sysv/linux/configure: Regenerated.
62624         * sysdeps/unix/sysv/linux/kernel-features.h
62625         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62626         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62627         version.
62628         (__ASSUME_UTIMES): Likewise.
62629         (__ASSUME_CLONE_STOPPED): Remove.
62630         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62631         architectures, not kernel version.
62632         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62633         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62634         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62635         (__ASSUME_WAITID_SYSCALL): Likewise.
62636         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62637         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62638         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62639         refer to older versions.
62641 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62643         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62644         Define alphasort64 as an alias.
62645         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62646         Define versionsort64 as an alias.
62647         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62648         Define scandir64 as an alias.
62649         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62650         Define scandirat64 as an alias.
62651         * dirent/alphasort64.c (alphasort64):
62652         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62653         * dirent/versionsort64.c: Likewise.
62654         * dirent/scandir64.c: Likewise.
62655         * dirent/scandirat64.c: Likewise.
62656         * sysdeps/wordsize-64/alphasort.c: File removed.
62657         * sysdeps/wordsize-64/alphasort64.c: File removed.
62658         * sysdeps/wordsize-64/scandir.c: File removed.
62659         * sysdeps/wordsize-64/scandir64.c: File removed.
62660         * sysdeps/wordsize-64/scandirat.c: File removed.
62661         * sysdeps/wordsize-64/scandirat64.c: File removed.
62662         * sysdeps/wordsize-64/versionsort.c: File removed.
62663         * sysdeps/wordsize-64/versionsort64.c: File removed.
62664         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62665         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62666         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62667         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62668         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62669         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62670         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62671         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62673         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62675         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62677         [defined __arch64__ || defined __sparcv9]
62678         (__INO_T_MATCHES_INO64_T): New macro.
62679         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62680         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62681         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62682         * sysdeps/unix/sysv/linux/bits/dirent.h
62683         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62684         (_DIRENT_MATCHES_DIRENT64): New macro.
62686         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62687         Define lockf64 as an alias.
62688         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62689         Define fseeko64 as an alias.
62690         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62691         Define ftello64 as an alias.
62692         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62693         Define _IO_fgetpos64 and fgetpos64 as aliases.
62694         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62695         Define _IO_fsetpos64 and fsetpos64 as aliases.
62696         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62697         Conditionalize body on this.
62698         * libio/fseeko64.c: Likewise.
62699         * libio/ftello64.c: Likewise.
62700         * libio/iofgetpos64.c: Likewise.
62701         * libio/iofsetpos64.c: Likewise.
62702         * sysdeps/wordsize-64/lockf.c: File removed.
62703         * sysdeps/wordsize-64/lockf64.c: File removed.
62704         * sysdeps/wordsize-64/fseeko.c: File removed.
62705         * sysdeps/wordsize-64/fseeko64.c: File removed.
62706         * sysdeps/wordsize-64/ftello.c: File removed.
62707         * sysdeps/wordsize-64/ftello64.c: File removed.
62708         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62709         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62710         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62711         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62712         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62713         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62714         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62715         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62716         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62717         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62718         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62719         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62720         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62721         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62723         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62725         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62727         [defined __arch64__ || defined __sparcv9]
62728         (__OFF_T_MATCHES_OFF64_T): New macro.
62729         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62730         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62732         (__OFF_T_MATCHES_OFF64_T): New macro.
62734 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62736         * stdlib/secure-getenv.c (__secure_getenv): Replace
62737         GLIBC_2_16 with GLIBC_2_17.
62739 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62741         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62742         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62744 2012-08-03  David S. Miller  <davem@davemloft.net>
62746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62748 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62750         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62751         Remove.
62752         (__ASSUME_CORRECT_SI_PID): Likewise.
62753         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62754         (__ASSUME_TMPFS_NAME): Likewise.
62755         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62756         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62757         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62758         (HAVE_AUX_SECURE): Make definition unconditional.
62759         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62760         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62762 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62764         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62765         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62766         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62767         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62768         __eloop_threshold instead of SYMLOOP_MAX.
62770         * sysdeps/generic/eloop-threshold.h: New file.
62771         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62772         of MAXSYMLINKS.
62773         * elf/chroot_canon.c (chroot_canon): Likewise.
62775 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62777         [BZ #13717]
62778         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62779         Change to 2.6.0 everywhere.
62780         * sysdeps/unix/sysv/linux/configure: Regenerated.
62781         * sysdeps/unix/sysv/linux/kernel-features.h
62782         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62783         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62784         kernel versions.
62785         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62786         (__ASSUME_FUTEX_REQUEUE): Remove.
62787         (__ASSUME_STATFS64): Define unconditionally.
62788         (__ASSUME_AT_SECURE): Likewise.
62789         (__ASSUME_CORRECT_SI_PID): Likewise.
62790         (__ASSUME_TGKILL): Define without depending on kernel version for
62791         i386.
62792         (__ASSUME_UTIMES): Likewise.
62793         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62794         kernel version.
62795         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62796         (__ASSUME_TMPFS_NAME): Likewise.
62797         * README: Update reference to Linux kernel versions.
62799 2012-08-02  Marek Polacek  <polacek@redhat.com>
62801         [BZ# 14150]
62802         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62803         libc_cv_asm_type_prefix with %.
62804         * configure: Regenerated.
62805         * include/libc-symbols.h: Remove comment about
62806         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62807         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62808         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62809         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62810         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62811         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62812         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62813         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62814         * elf/tst-unique2mod1.c: Likewise.
62815         * elf/tst-unique1mod2.c: Likewise.
62816         * elf/tst-unique1mod1.c: Likewise.
62817         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62818         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62819         Replace ASM_TYPE_DIRECTIVE with .type.
62820         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62821         * sysdeps/i386/sysdep.h: Likewise.
62822         * sysdeps/x86_64/sysdep.h: Likewise.
62823         * sysdeps/sh/sysdep.h: Likewise.
62824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62825         Do not define ASM_TYPE_DIRECTIVE.
62826         * sysdeps/powerpc/sysdep.h: Likewise.
62827         * sysdeps/powerpc/powerpc32/sysdep.h:
62828         Replace ASM_TYPE_DIRECTIVE with .type.
62829         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62830         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62831         * sysdeps/i386/fpu/e_powf.S: Likewise.
62832         * sysdeps/i386/fpu/e_expl.S: Likewise.
62833         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62834         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62835         * sysdeps/i386/fpu/e_pow.S: Likewise.
62836         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62837         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62838         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62839         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62840         * sysdeps/i386/fpu/e_log2.S: Likewise.
62841         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62842         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62843         * sysdeps/i386/fpu/e_powl.S: Likewise.
62844         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62845         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62846         * sysdeps/i386/fpu/e_logl.S: Likewise.
62847         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62848         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62849         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62850         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62851         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62852         * sysdeps/i386/fpu/e_log.S: Likewise.
62853         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62854         * sysdeps/i386/fpu/e_logf.S: Likewise.
62855         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62856         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62857         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62858         * sysdeps/i386/fpu/e_log10.S: Likewise.
62859         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62860         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62861         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62862         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62863         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62864         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62865         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62866         * sysdeps/i386/i686/strtok.S: Likewise.
62867         * sysdeps/i386/i386-mcount.S: Likewise.
62868         * sysdeps/i386/strtok.S: Likewise.
62869         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62870         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62871         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62872         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62873         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62874         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62875         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62876         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62877         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62878         * sysdeps/x86_64/_mcount.S: Likewise.
62879         * sysdeps/x86_64/strtok.S: Likewise.
62880         * sysdeps/sh/_mcount.S: Likewise.
62882 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62884         * libio/iofopen.c: Include <fcntl.h>.
62885         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62886         (_IO_fopen64, fopen64): Define as aliases.
62887         * libio/iofopen64.c: Include <fcntl.h>.
62888         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62889         Conditionalize body on this.
62890         * sysdeps/wordsize-64/iofopen.c: File removed.
62891         * sysdeps/wordsize-64/iofopen64.c: File removed.
62893 2012-08-01  Marek Polacek  <polacek@redhat.com>
62895         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62896         Use dlfcn directly instead of a variable.
62897         (binfmt-subdir): Do not define.
62898         (dlfcn): Likewise.
62900 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62902         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62903         Remove all definitions.
62904         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62905         <kernel-features.h>.
62906         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62907         (miss_F_GETOWN_EX): Remove all definitions.
62908         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62909         macro definition.
62910         [!__ASSUME_FCNTL64]: Remove conditional code.
62911         [__ASSUME_FCNTL64]: Make code unconditional.
62912         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62913         <kernel-features.h>.
62914         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62915         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62916         (lockf64) [__NR_fcntl64]: Make code unconditional.
62917         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62919         * sysdeps/unix/sysv/linux/kernel-features.h
62920         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62921         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62922         Make code unconditional.
62923         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62924         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62926         [__NR_vfork]: Make code unconditional.
62927         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62928         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62930         [__NR_vfork]: Make code unconditional.
62931         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62932         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62934 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62936         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62937         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62939         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62940         Define mkstemp64 as an alias.
62941         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62942         Define mkstemps64 as an alias.
62943         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62944         Define mkostemp64 as an alias.
62945         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62946         Define mkostemps64 as an alias.
62947         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62948         Conditionalize body on this.
62949         * misc/mkostemp64.c: Likewise.
62950         * misc/mkostemps64.c: Likewise.
62951         * misc/mkstemps64.c: Likewise.
62952         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62953         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62954         * sysdeps/wordsize-64/mkostemp.c: File removed.
62955         * sysdeps/wordsize-64/mkstemp.c: File removed.
62956         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62957         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62958         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62961         [BZ #14138]
62962         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62963         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62964         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62965         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62967         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62968         compat_symbol macros from <shlib-compat.h> rather than the underlying
62969         default_symbol_version and symbol_version macros, so that DEFAULT
62970         lines in shlib-versions are respected.
62971         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62973 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62975         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62976         Declare with warn_unused_result.
62977         (setgid, setregid, setegid, setresgid): Likewise.
62978         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62979         Likewise.
62980         * WUR-REPORT: Remove set*id functions.
62982 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62984         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62986 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62988         [BZ #10191]
62989         * include/sys/socket.h (__libc_accept, __libc_accept4):
62990         Add attribute_hidden.
62991         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62993         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62994         use of PTR_MANGLE.
62995         * inet/getnetgrent_r.c (setup): Likewise.
62997         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62999 2012-07-31  David S. Miller  <davem@davemloft.net>
63001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63003 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63005         [BZ #13629]
63006         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63007         value between 1.0 and 2.0 and smaller part has absolute value less
63008         than 1.0.
63009         * math/s_clog10.c (__clog10): Likewise.
63010         * math/s_clog10f.c (__clog10f): Likewise.
63011         * math/s_clog10l.c (__clog10l): Likewise.
63012         * math/s_clogf.c (__clogf): Likewise.
63013         * math/s_clogl.c (__clogl): Likewise.
63014         * math/libm-test.inc (clog_test): Add more tests.
63015         (clog10_test): Likewise.
63016         * sysdeps/i386/fpu/libm-test-ulps: Update.
63017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63019 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63021         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63022         Exit with zero in case no suitable GID is found, and write a
63023         message to standard error.
63025 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63027         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63028         rather than to 1.
63029         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63030         (MAXPATHLEN): Removed.
63031         (NOGROUP, NODEV): New macros.
63032         (setbit, clrbit, isset, isclr): New macros.
63033         (howmany, roundup, powerof2): New macros.
63034         (DEV_BSIZE): New macro.
63036         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63037         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63039         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63040         definition on [!__NO_LONG_DOUBLE_MATH].
63042         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63043         PTR_MANGLE and PTR_DEMANGLE.
63045         * socket/accept4.c (accept4): Rename to __libc_accept4.
63046         Define accept4 as a weak alias.
63048         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63049         on [_DIRENT_HAVE_D_TYPE].
63050         * io/ftw.c (ftw_dir): Likewise.
63052         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63054         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63056         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63057         Use the BSD numbers rather than the arbitrary ones we had.
63058         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63059         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63060         (SIGXCPU, SIGXFSZ): New macros.
63061         (_NSIG): Now 32.
63063         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63064         initializer on [_LIBC_REENTRANT].
63066         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63067         definitions inside [_POSIX_MAPPED_FILES].
63069         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63071         * dirent/opendir.c: Include <fcntl.h>.
63073         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63074         (__libc_getspecific): Likewise.
63075         (__libc_key_create): Likewise.
63077         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63078         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63079         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63080         (tmpfile64): Define as alias.
63081         * sysdeps/wordsize-64/tmpfile.c: File removed.
63082         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63083         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63084         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63086         * stdio-common/vfscanf.c: Include <stdbool.h>.
63087         * nss/makedb.c: Likewise.
63088         * stdio-common/_i18n_number.h: Likewise.
63089         * argp/argp-help.c: Likewise.
63090         * posix/wordexp.c: Likewise.
63091         * sysdeps/posix/spawni.c: Likewise.
63092         * nss/nss_files/files-initgroups.c: Likewise.
63093         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63094         * nss/nss_files/files-initgroups.c: Likewise.
63095         * nss/nss_db/db-netgrp.c: Likewise.
63096         * nss/nss_db/db-initgroups.c: Likewise.
63097         * io/fchmodat.c: Include <sys/stat.h>.
63099         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63100         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63102         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63103         [HAVE_MMAP].
63105         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63106         Add multiple inclusion protection.
63108 2012-07-27  David S. Miller  <davem@davemloft.net>
63110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63112 2012-07-27  Gary Benson  <gbenson@redhat.com>
63114         [BZ #14298]
63115         * elf/rtld.c: Include <stap-probe.h>.
63116         (dl_main): Added static probes "init_start" and "init_complete".
63117         * elf/dl-load.c: Include <stap-probe.h>.
63118         (lose): Take new parameter "nsid".
63119         Added static probe "map_failed".
63120         (_dl_map_object_from_fd): Pass namespace id to lose.
63121         Added static probe "map_start".
63122         (open_verify): Pass namespace id to lose.
63123         * elf/dl-open.c: Include <stap-probe.h>.
63124         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63125         and "reloc_complete".
63126         * elf/dl-close.c: Include <stap-probe.h>.
63127         (_dl_close_worker): Added static probes "unmap_start" and
63128         "unmap_complete".
63129         * elf/rtld-debugger-interface.txt: New file documenting the above.
63131 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63133         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63134         rather than a string variable.
63135         * sunrpc/rpc_main.c (h_output): Likewise.
63136         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63138 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63140         * inet/check_native.c: New file.
63142 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63144         [BZ #13629]
63145         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63146         if larger part has absolute value 1.0.
63147         * math/s_clog10.c (__clog10): Likewise.
63148         * math/s_clog10f.c (__clog10f): Likewise.
63149         * math/s_clog10l.c (__clog10l): Likewise.
63150         * math/s_clogf.c (__clogf): Likewise.
63151         * math/s_clogl.c (__clogl): Likewise.
63152         * math/libm-test.inc (clog_test): Add more tests.
63153         (clog10_test): Likewise.
63154         * sysdeps/i386/fpu/libm-test-ulps: Update.
63155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63157         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63158         (pltexit): Likewise.
63159         (La_regs): Likewise.
63160         (La_retval): Likewise.
63161         (int_retval): Likewise.
63162         Update #error for removed macros to refer only to definitions in
63163         tst-audit.h.
63164         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63165         macro.
63166         (pltexit): Likewise.
63167         (La_regs): Likewise.
63168         (La_retval): Likewise.
63169         (int_retval): Likewise.
63170         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63171         macro.
63172         (pltexit): Likewise.
63173         (La_regs): Likewise.
63174         (La_retval): Likewise.
63175         (int_retval): Likewise.
63176         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63177         macro.
63178         (pltexit): Likewise.
63179         (La_regs): Likewise.
63180         (La_retval): Likewise.
63181         (int_retval): Likewise.
63182         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63183         macro.
63184         (pltexit): Likewise.
63185         (La_regs): Likewise.
63186         (La_retval): Likewise.
63187         (int_retval): Likewise.
63188         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63189         macro.
63190         (pltexit): Likewise.
63191         (La_regs): Likewise.
63192         (La_retval): Likewise.
63193         (int_retval): Likewise.
63194         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63195         macro.
63196         (pltexit): Likewise.
63197         (La_regs): Likewise.
63198         (La_retval): Likewise.
63199         (int_retval): Likewise.
63200         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63201         macro definitions in tst-audit.h.
63202         * sysdeps/i386/tst-audit.h: New file.
63203         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63204         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63205         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63206         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63207         * sysdeps/sh/tst-audit.h: Likewise.
63208         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63209         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63210         * sysdeps/x86_64/tst-audit.h: Likewise.
63212 2012-07-26  Andreas Jaeger  <aj@suse.de>
63214         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63215         ptrace.
63217         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63218         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63219         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63220         PTRACE_O_MASK.
63221         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63222         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63223         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63225         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63226         value.
63228         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63229         _sigsys.
63230         (si_call_addr, si_syscall, si_arch): Define new macro.
63231         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63232         _sigsys.
63233         (si_call_addr, si_syscall, si_arch): Define new marcro.
63234         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63235         _sigsys.
63236         (si_call_addr, si_syscall, si_arch): Define new macro.
63237         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63238         _sigsys.
63239         (si_call_addr, si_syscall, si_arch): Define new macro.
63241 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63243         [BZ #13717]
63244         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63245         Change to 2.4.21 where previously 2.4.1.
63246         * sysdeps/unix/sysv/linux/configure: Regenerated.
63247         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63248         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63249         Linux kernel version.
63250         (__ASSUME_STD_AUXV): Remove.
63251         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63252         kernel version.
63253         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63254         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63255         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63256         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63257         (__ASSUME_NETLINK_SUPPORT): Likewise.
63258         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63259         (__no_netlink_support): Remove conditional definition.
63260         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63261         Remove.
63262         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63263         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63264         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63265         (if_nameindex_ioctl): Remove.
63266         (if_nameindex_netlink): Do not handle __no_netlink_support.
63267         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63268         code.
63269         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63270         Remove conditional code.
63271         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63272         code.
63273         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63274         unconditional.
63275         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63276         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63277         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63278         Remove.
63279         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63280         [!__ASSUME_STD_AUXV]: Remove conditional code.
63281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63282         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63283         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63285         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63286         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63287         code.
63288         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63290         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63291         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63292         conditional code.
63293         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63295         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63296         code.
63297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63298         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63299         conditional code.
63300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63301         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63302         code unconditional.
63303         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63304         conditional code.
63305         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63306         unconditional.
63307         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63308         conditional code.
63309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63310         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63311         unconditional.
63312         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63313         conditional code.
63314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63315         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63316         code unconditional.
63317         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63318         conditional code.
63319         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63320         unconditional.
63321         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63322         conditional code.
63323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63324         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63325         code unconditional.
63326         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63327         conditional code.
63328         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63329         unconditional.
63330         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63331         conditional code.
63333 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63335         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63336         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63337         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63338         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63339         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63340         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63342         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63343         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63344         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63345         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63346         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63347         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63348         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63349         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63350         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63351         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63352         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63353         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63355         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63356         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63357         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63359 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63361         * Versions.def: Add GLIBC_2.17.
63362         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63363         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63364         Introduce __libc_secure_getenv.
63365         * stdlib/Versions (2.17): Add secure_getenv
63366         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63367         * stdlib/secure-getenv.c: Rename __secure_getenv to
63368         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63369         symbol __secure_getenv for GLIBC_2.0.
63370         * stdlib/tst-secure-getenv.c: New.
63371         * stdlib/Makefile (tests): Add testcase.
63372         * manual/startup.texi (Environment Access): Document
63373         secure_getenv.
63374         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63375         __libc_secure_getenv.
63376         * inet/ruserpass.c (ruserpass): Likewise.
63377         * malloc/mtrace.c (mtrace): Likewise.
63378         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63379         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63380         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63381         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63382         HAVE_SECURE_GETENV.
63383         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63384         __secure_getenv to __libc_secure_getenv.
63385         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63387         Likewise.
63388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63389         Likewise.
63390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63398 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63400         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63401         (struct La_i86_retval): Likewise.
63402         (struct La_x86_64_regs): Likewise.
63403         (struct La_x86_64_retval): Likewise.
63404         (struct La_x32_regs): Likewise.
63405         (struct La_x32_retval): Likewise.
63406         (struct La_ppc32_regs): Likewise.
63407         (struct La_ppc32_retval): Likewise.
63408         (struct La_ppc64_regs): Likewise.
63409         (struct La_ppc64_retval): Likewise.
63410         (struct La_sh_regs): Likewise.
63411         (struct La_sh_retval): Likewise.
63412         (struct La_s390_32_regs): Likewise.
63413         (struct La_s390_32_retval): Likewise.
63414         (struct La_s390_64_regs): Likewise.
63415         (struct La_s390_64_retval): Likewise.
63416         (struct La_sparc32_regs): Likewise.
63417         (struct La_sparc32_retval): Likewise.
63418         (struct La_sparc64_regs): Likewise.
63419         (struct La_sparc64_retval): Likewise.
63420         (struct audit_ifaces): Remove architecture-specific pltenter and
63421         pltexit members.
63422         * sysdeps/i386/ldsodefs.h: New file.
63423         * sysdeps/powerpc/ldsodefs.h: Likewise.
63424         * sysdeps/s390/ldsodefs.h: Likewise.
63425         * sysdeps/sh/ldsodefs.h: Likewise.
63426         * sysdeps/sparc/ldsodefs.h: Likewise.
63427         * sysdeps/x86_64/ldsodefs.h: Likewise.
63429 2012-07-25  Marek Polacek  <polacek@redhat.com>
63431         [BZ #6808]
63432         * math/libm-test.inc (yn_test): Add another test.
63433         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63434         to ERANGE when the result is +-Inf.
63435         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63436         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63437         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63438         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63440 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63442         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63443         equal to 0.
63444         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63445         clock_t.
63446         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63448 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63450         * configure.in <sysdeps resolving>: Correct printing
63451         Implies_before.
63452         * configure: Regenerate.
63454 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63456         * math/w_ilogb.c: Include <limits.h>.
63457         * math/w_ilogbl.c: Likewise.
63459 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63461         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63462         va_copy.  Document allowing for unavailable va_copy only as
63463         pre-C99 compatibility.
63464         * manual/string.texi (Copying and Concatenation): Use va_copy
63465         instead of __va_copy in concat example.
63467 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63469         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63470         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63471         it if not null.
63473         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63474         with O_NOLINK passed to __file_name_lookup.
63476         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63477         with O_NOLINK passed to __file_name_lookup.
63479         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63480         negative N or less than NGIDS.
63482         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63483         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63484         enough.  Use memcpy instead of strncpy.
63486 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63488         * elf/Makefile (check-data): Remove.
63489         (localplt.data): New vpath directive.
63490         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63491         instead of $(check-data).
63492         * scripts/data/localplt-generic.data: Move to ...
63493         * sysdeps/generic/localplt.data: ... here.
63494         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63495         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63496         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63498         ... here.
63499         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63501         ... here.
63502         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63504         ... here.
63505         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63507         ... here.
63508         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63510         ... here.
63511         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63513         ... here.
63515 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63517         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63518         PPC32 and PPC64 files.
63519         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63520         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63522 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63524         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63525         __makecontext_ret to ...
63526         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63527         ... here and call exit if uc_link is NULL.  New file.
63528         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63529         __makecontext_ret.S.
63530         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63531         __makecontext_ret to ...
63532         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63533         ... here and call exit if uc_link is NULL.  New file.
63534         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63535         __makecontext_ret.S.
63537 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63539         * elf/elf.h (R_390_IRELATIVE): New definition.
63540         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63541         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63542         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63543         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63544         (elf_machine_lazy_rel): Likewise.
63545         * sysdeps/s390/dl-irel.h: New file.
63546         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63547         * sysdeps/s390/s390-64/memset.S: New asm code.
63548         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63549         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63551         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63552         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63553         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63554         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63555         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63556         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63557         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63558         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63559         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63560         * sysdeps/s390/s390-32/memset.S: New asm code.
63561         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63563 2012-07-17  Marek Polacek  <polacek@redhat.com>
63565         [BZ #14349]
63566         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63567         * sysdeps/s390/s390-64/configure.in: Likewise.
63568         * sysdeps/sparc/configure.in: Likewise.
63569         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63570         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63571         * sysdeps/i386/configure.in: Likewise.
63572         * sysdeps/x86_64/configure.in: Likewise.
63573         * sysdeps/sh/configure.in: Likewise.
63574         * sysdeps/s390/s390-32/configure: Regenerated.
63575         * sysdeps/s390/s390-64/configure: Likewise.
63576         * sysdeps/x86_64/configure: Likewise.
63577         * sysdeps/sh/configure: Likewise.
63578         * sysdeps/powerpc/powerpc64/configure: Likewise.
63579         * sysdeps/powerpc/powerpc32/configure: Likewise.
63580         * sysdeps/sparc/configure: Likwise.
63581         * sysdeps/i386/configure: Likewise.
63583         * elf/dl-open.c: Comment fixes.
63585 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63587         * Makefile [CXX] (check-data): Remove.
63588         [CXX] (c++-types.data): New vpath directive.
63589         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63590         vpath.  Do not allow for C++ type data being missing.
63591         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63592         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63593         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63594         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63595         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63596         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63597         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63599         ... here.
63600         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63602         ... here.
63603         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63605         ... here.
63606         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63608         ... here.
63609         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63611         ... here.
63612         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63614         ... here.
63615         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63617         ... here.
63618         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63621         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63622         definitions to architecture-specific files.
63623         (TLS_IE): Likewise.
63624         (TLS_LD): Likewise.
63625         (TLS_GD): Likewise.
63626         * sysdeps/i386/tls-macros.h: New file.
63627         * sysdeps/powerpc/tls-macros.h: Likewise.
63628         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63629         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63630         * sysdeps/sh/tls-macros.h: Likewise.
63631         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63632         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63633         * sysdeps/x86_64/tls-macros.h: Likewise.
63635 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63637         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63638         zero value for regular exit case.
63640         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63641         (__start_context): Preserve zero value for regular exit case.
63643 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63644             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63646         * manual/setjmp.texi (setcontext): Clarify normal process
63647         termination when uc_link is the null pointer.
63648         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63649         exit call.
63651 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63653         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63654         preprocessor.  Test for each exception mask separately.
63656 2012-07-16  Andreas Jaeger  <aj@suse.de>
63658         * po/ru.po: Update from translation team.
63660 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63662         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63663         equal to 0.
63664         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63665         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63666         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63667         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63670 2012-07-13  Andreas Jaeger  <aj@suse.de>
63672         * po/fr.po: Update from translation team.
63674 2012-07-12  Marek Polacek  <polacek@redhat.com>
63676         [BZ #14173]
63677         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63678         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63679         loop condition.
63681 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63683         [BZ #13717]
63684         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63685         Change to 2.4.1 where previously 2.4.0.
63686         * sysdeps/unix/sysv/linux/configure: Regenerated.
63687         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63688         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63689         version.
63690         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63691         (__ASSUME_AT_CLKTCK): Remove.
63692         (__ASSUME_AT_PAGESIZE): Likewise.
63693         (__ASSUME_AT_XID): Likewise.
63694         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63695         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63696         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63697         unconditionally.
63698         (HAVE_AUX_PAGESIZE): Likewise.
63699         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63700         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63701         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63703 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63705         [BZ #14307]
63706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63707         the temporary buffer used to invoke __gethostbyname2_r,
63708         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63709         host_data / struct gaih_addrtuple.
63710         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63711         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63712         header file nss/nsswitch.h.
63713         * nss/nsswitch.h (global scope): Add definition of implementation
63714         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63715         resolv/nss_dns/dns-host.c).
63717 2012-07-11  Andreas Jaeger  <aj@suse.de>
63719         * po/fr.po: Update from translation team.
63721         * po/sv.po: Update from translation team
63722         * po/fr.po: Another update from translation team.
63724 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63726         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63727         for subnormals or multiply small sinh result by itself.
63728         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63731 2012-07-11  David S. Miller  <davem@davemloft.net>
63733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63735 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63737         [BZ #14347]
63738         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63739         (INTERNAL_MARK): Shift it here.
63741 2012-07-10  Marek Polacek  <polacek@redhat.com>
63743         [BZ #14151]
63744         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63745         libc_cv_asm_global_directive with .globl.
63746         * configure: Regenerated.
63747         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63748         with .globl.
63749         * sysdeps/i386/configure: Regenerated.
63750         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63751         with .globl.
63752         * sysdeps/x86_64/configure: Regenerated.
63753         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63754         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63755         * elf/tst-unique2mod2.c: Likewise.
63756         * elf/tst-unique2mod1.c: Likewise.
63757         * elf/tst-unique1mod2.c: Likewise.
63758         * elf/tst-unique1mod1.c: Likewise.
63759         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63760         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63761         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63763         * sysdeps/mach/sysdep.h: Likewise.
63764         * sysdeps/i386/sysdep.h: Likewise.
63765         * sysdeps/i386/i386-mcount.S: Likewise.
63766         * sysdeps/x86_64/_mcount.S: Likewise.
63767         * sysdeps/x86_64/sysdep.h: Likewise.
63768         * sysdeps/sh/_mcount.S: Likewise.
63769         * sysdeps/sh/sysdep.h: Likewise.
63770         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63771         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63772         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63773         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63774         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63775         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63776         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63777         * locale/localeinfo.h: Likewise.
63778         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63779         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63781 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63783         [BZ #14336]
63784         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63785         system".
63786         * manual/message.texi (The Uniforum approach): Likewise.
63787         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63788         (glibc iconv Implementation): Likewise.
63790 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63792         [BZ #14337]
63793         * math/s_clog.c (__clog): Avoid scaling a value down where that
63794         could result in underflow.
63795         * math/s_clog10.c (__clog10): Likewise.
63796         * math/s_clog10f.c (__clog10f): Likewise.
63797         * math/s_clog10l.c (__clog10l): Likewise.
63798         * math/s_clogf.c (__clogf): Likewise.
63799         * math/s_clogl.c (__clogl): Likewise.
63800         * math/libm-test.inc (clog_test): Add more tests.
63801         (clog10_test): Likewise.
63802         * sysdeps/i386/fpu/libm-test-ulps: Update.
63803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63805 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63807         [BZ #14283]
63808         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63809         by 7 not 8 to examine high bit of fractional part.
63811         [BZ #14042]
63812         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63813         for call to __mcount_internal.
63814         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63815         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63816         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63818 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63820         [BZ #14154]
63821         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63822         approximation for values within 0x1p-13f of an odd multiple of
63823         pi/4.
63824         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63825         exception.  Add more tests.
63826         * sysdeps/i386/fpu/libm-test-ulps: Update.
63828         [BZ #6778]
63829         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63830         inputs and return -1 for them.  Do not check for +Inf in case not
63831         reachable for +Inf.
63832         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63833         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63834         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63835         and return -1 for them.  Do not check for +Inf in case not
63836         reachable for +Inf.
63837         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63838         define.
63839         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63840         and return -1 for them.  Do not check for +Inf in case not
63841         reachable for +Inf.
63842         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63843         spurious underflow.
63844         * sysdeps/i386/fpu/libm-test-ulps: Update.
63845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63847 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63849         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63851 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63853         [BZ #14157]
63854         [BZ #14331]
63855         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63856         could result in spurious underflow.  Scale down values above
63857         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63858         * math/s_csqrtf.c (__csqrtf): Likewise.
63859         * math/s_csqrtl.c (__csqrtl): Likewise.
63860         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63861         spurious underflow.
63862         * sysdeps/i386/fpu/libm-test-ulps: Update.
63863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63865 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63867         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63868         xopen-msg.sed.
63869         * catgets/xopen-msg.awk: New file.
63870         * catgets/xopen-msg.sed: Removed.
63872         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63873         po2text.sed.
63874         * intl/po2test.awk: New file.
63875         * intl/po2test.sed: Removed.
63877 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63879         [BZ #14328]
63880         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63881         or multiply small sinh result by itself.
63882         * math/s_ctanf.c (__ctanf): Likewise.
63883         * math/s_ctanh.c (__ctanh): Likewise.
63884         * math/s_ctanhf.c (__ctanhf): Likewise.
63885         * math/s_ctanhl.c (__ctanhl): Likewise.
63886         * math/s_ctanl.c (__ctanl): Likewise.
63887         * math/libm-test.inc (ctan_test_tonearest): New function.
63888         (ctan_test_towardzero): Likewise.
63889         (ctan_test_downward): Likewise.
63890         (ctan_test_upward): Likewise.
63891         (ctanh_test_tonearest): Likewise.
63892         (ctanh_test_towardzero): Likewise.
63893         (ctanh_test_downward): Likewise.
63894         (ctanh_test_upward): Likewise.
63895         (main): Call these new functions.
63896         * sysdeps/i386/fpu/libm-test-ulps: Update.
63897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63899 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63901         * .gitignore: Delete /ports entry.
63903 2012-07-03  Andreas Jaeger  <aj@suse.de>
63905         * po/bg.po: Update from translation team.
63906         * po/cs.po: Likewise.
63907         * po/de.po: Likewise.
63908         * po/hr.po: Likewise.
63909         * po/nl.pl: Likewise.
63910         * po/pl.po: Likewise.
63911         * po/vi.po: Likewise.
63913 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63915         * Makeconfig [!+link] (+link-before-libc): New variable.
63916         [!+link] (+link-after-libc): Likewise.
63917         [!+link] (+link-tests): Likewise.
63918         [!+link] (+link): Define in terms of $(+link-before-libc) and
63919         $(+link-after-libc).
63920         [!+link-static] (+link-static-before-libc): New variable.
63921         [!+link-static] (+link-static-after-libc): Likewise.
63922         [!+link-static] (+link-static-tests): Likewise.
63923         [!+link-static] (+link-static): Define in terms of
63924         $(+link-static-before-libc) and $(+link-static-after-libc).
63925         [build-shared] (link-libc-before-gnulib): New variable.
63926         [build-shared] (link-libc-tests): Likewise.
63927         [build-shared] (link-libc): Define in terms of
63928         $(link-libc-before-gnulib).
63929         [!build-shared] (link-libc-tests): New variable.
63930         (link-libc-static-tests): New variable.
63931         [!gnulib] (gnulib-arch): New variable.
63932         [!gnulib] (gnulib-tests): Likewise.
63933         [!gnulib] (static-gnulib-arch): Likewise.
63934         [!gnulib] (static-gnulib-tests): Likewise.
63935         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63936         Define with "=" instead of ":=".
63937         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63938         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63939         * Rules (binaries-all-notests): New variable.
63940         (binaries-all-tests): Likewise.
63941         (binaries-static-notests): Likewise.
63942         (binaries-static-tests): Likewise.
63943         (binaries-all): Define using $(binaries-all-notests) and
63944         $(binaries-all-tests).
63945         (binaries-static): Define using $(binaries-static-notests) and
63946         $(binaries-static-tests).
63947         (binaries-shared-tests): New variable.
63948         (binaries-shared-notests): Likewise.
63949         (binaries-shared): Remove variable.
63950         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63951         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63952         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63953         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63954         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63955         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63956         * elf/Makefile (sln-modules): New variable.
63957         (extra-objs): Add $(sln-modules:=.o).
63958         (ldconfig-modules): Add static-stubs.
63959         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63960         * elf/static-stubs.c: New file.
63962         [BZ #14283]
63963         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63964         by 7 not 8 to examine high bit of fractional part.  Use volatile
63965         variables when splitting into final array of floats if
63966         __FLT_EVAL_METHOD__ != 0.
63967         * math/libm-test.inc (cos_test): Add another test.
63968         (sin_test): Likewise.
63969         * sysdeps/i386/fpu/libm-test-ulps: Update.
63971         [BZ #14273]
63972         * math/libm-test.inc (cosh_test): Add more tests.
63974         * version.h (RELEASE): Set to "development".
63975         (VERSION): Set to "2.16.90".
63977 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63979         * NEWS: Update copyright. Remove last-updated date.
63980         Mention math library bug fixes and timezone data changes.
63981         * README: Mention GNU/Hurd, x32, and HPPA support status.
63983 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63985         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63987 2012-06-27  Andreas Jaeger  <aj@suse.de>
63989         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63991 2012-06-25  Andreas Jaeger  <aj@suse.de>
63993         * sysdeps/s390/fpu/libm-test-ulps: Update.
63995 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63996             Thomas Schwinge  <thomas@codesourcery.com>
63998         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63999         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64001         fanotify_mark.
64003 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64005         * sysdeps/mach/start.c: Remove file.
64006         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64007         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64008         * sysdeps/sh/init-first.c: Likewise.
64010         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64011         registers for frame unwinding purposes, add CFI directives.
64012         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64013         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64014         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64015         Likewise.
64017         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64018         __fortify_fail returning.
64019         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64021         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64022         sysdeps/sh/____longjmp_chk.S.
64023         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64024         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64025         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64026         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64028         * sysdeps/sh/abort-instr.h: New file.
64029         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64030         process in case exit returns.
64032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64033         initialize the GOT register before use.
64035         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64036         calculation of ARGC > 4.
64038         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64039         meaningful names to some local labels.
64041 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64042             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64044         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64045         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64046         (__arch_compare_and_exchange_val_16_acq): Likewise.
64047         (__arch_compare_and_exchange_val_32_acq): Likewise.
64048         (atomic_exchange_and_add): Fix gUSA sequence.
64049         (atomic_add): Likewise.
64050         (atomic_add_negative): Likewise.
64051         (atomic_add_zero): Likewise.
64052         (atomic_bit_test_set): Likewise.
64054 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64056         [BZ #13579]
64057         * include/link.h (struct link_map): Add l_free_initfini.
64058         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64059         l_initfini.
64060         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64061         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64062         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64063         set.
64065 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64067         * configure.in: Use AC_LANG_SOURCE.
64068         * configure: Regenerate.
64070 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64072         * configure.in (libc_cv_localstatedir): New substituted variable.
64073         * configure: Regenerated.
64074         * config.make.in (localstatedir): New variable, substituted from
64075         libc_cv_localstatedir.
64076         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64077         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64078         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64079         * sysdeps/gnu/configure: Regenerated.
64081 2012-06-21  Jeff Law  <law@redhat.com>
64083         [BZ #14277]
64084         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64085         free.  Simplify list management for _LIBC case.
64087 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64089         [BZ #14273]
64090         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64091         Clear sign bit of 64-bit integer value before comparing against
64092         overflow value.
64094         * sysdeps/mach/configure: Regenerated.
64096 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64098         [BZ #14278]
64099         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64101 2012-06-21  Jeff Law  <law@redhat.com>
64103         [BZ #13882]
64104         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64105         uint16_t for elements in the "seen" array to avoid char overflows.
64106         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64107         * elf/dl-open.c (dl_open_worker): Likewise.
64109 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64111         * scripts/list-sources.sh: Scan PORTS for translations.
64112         * po/libc.pot: Regenerated.
64114 2012-06-21  Andreas Jaeger  <aj@suse.de>
64116         [BZ #12194]
64117         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64118         warning.
64119         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64120         * bits/byteswap-16.h (__bswap_16): Likewise.
64121         * bits/byteswap.h (__bswap_constant_16): Likewise.
64123 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64125         [BZ #14117]
64126         * sysdeps/i386/fpu_control.h: Removed.
64127         * sysdeps/x86_64/fpu_control.h: Moved to ...
64128         * sysdeps/x86/fpu_control.h: Here.
64130         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64131         (_FPU_SETCW): Likewise.
64133 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64135         [BZ #14117]
64136         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64137         * sysdeps/x86/fpu/bits/mathinline.h: This.
64138         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64140         [BZ #14050]
64141         [BZ #14117]
64142         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64143         functions if __x86_64__ is defined.
64145 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64147         * string/endian.h: Add !__ASSEMBLER__ condition for including
64148         conversion interfaces.
64150 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64152         [BZ #14241]
64153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64154         of ABS(x) in calculating zero to negative powers other than odd
64155         integers.
64156         * math/libm-test.inc (pow_test): Add more tests.
64158 2012-06-15  Andreas Jaeger  <aj@suse.de>
64160         * manual/contrib.texi (Contributors): Update entry of Liubov
64161         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64162         Machado Filho.
64164 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64166         * string/string.h: Add __wur to GNU version of strerror_r.
64168 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64170         [BZ #14229]
64171         * string/Makefile (tests): Add tst-strtok_r.
64172         * string/tst-strtok_r.c: New file.
64173         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64174         RAX_LP/RDX_LP on SAVE_PTR.
64176 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64178         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64180 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64182         * libm_test.inc (csqrt_test): Allow more spurious underflow
64183         exceptions.
64184         (j0_test): Likewise.
64185         (j1_test): Likewise.
64186         (y0_test): Likewise.
64187         (y1_test): Likewise.
64189 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64191         * po/Makefile (libc.pot): Use UTF-8 charset.
64193 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64195         [BZ #14210]
64196         Suppress sign-conversion warning from FD_SET.
64197         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64198         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64199         not unsigned long int.
64200         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64202 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64204         [BZ #14050]
64205         [BZ #14117]
64206         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64207         __extern_always_inline instead of __extern_inline.
64208         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64209         (__signbit): Likewise.
64210         (__signbitl): Support C++ namespace.
64211         (lrintf): New inline function.
64212         (lrint): Likewise.
64213         (llrintf): Likewise.
64214         (llrint): Likewise.
64215         (fmaxf): Likewise.
64216         (fmax): Likewise.
64217         (fminf): Likewise.
64218         (fmin): Likewise.
64219         (rint): Likewise.
64220         (rintf): Likewise.
64221         (ceil): Likewise.
64222         (ceilf): Likewise.
64223         (floor): Likewise.
64224         (floorf): Likewise.
64225         (nearbyint): Likewise.
64226         (nearbyintf): Likewise.
64228 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64230         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64231         non-default versions.
64233 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64235         [BZ #14218]
64236         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64238 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64240         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64241         (FE_UPWARD, FE_DOWNWARD): Don't define.
64242         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64243         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64245         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64246         reading it.
64247         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64248         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64250 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64252         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64253         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64254         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64255         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64257 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64259         [BZ #14117]
64260         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64261         * sysdeps/i386/fpu/Implies: New file.
64262         * sysdeps/x86_64/fpu/Implies: Likewise.
64263         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64264         * sysdeps/x86/fpu/bits/fenv.h: This.
64266         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64267         __SSE_MATH__.
64269 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64271         [BZ #14134]
64272         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64273         character 0xffff that matches the last element of the
64274         conversion table.
64276 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64278         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64279         fmodl commit.
64281 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64284         values higher than 25.6283.
64286 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64289         subnormal exponent extraction and add some __builtin_expect.
64290         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64291         Fix for subnormal mantissa calculation.
64293 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64295         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64296         cpu2 is -1 and errno is not ENOSYS.
64298 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64300         [BZ #14117]
64301         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64302         * sysdeps/x86/bits/string.h: This.
64303         * sysdeps/x86_64/bits/string.h: Removed.
64305         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64306         if not compiling for x86-64, but compiling for >= i486.
64308         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64309         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64311         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64312         New macro from Linux kernel 3.4.0.
64313         (FP_XSTATE_MAGIC2): Likewise.
64314         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64315         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64316         (struct _fpx_sw_bytes): New struct.
64317         (struct _xsave_hdr): Likewise.
64318         (struct _ymmh_state): Likewise.
64319         (struct _xstate): Likewise.
64321         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64322         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64323         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64324         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64325         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64326         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64328         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64329         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64330         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64331         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64332         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64333         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64335 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64337         [BZ #13743]
64338         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64339         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64340         (sysdep_headers): Include sys/platform/ppc.h.
64341         * sysdeps/powerpc/test-gettimebase.c: Test for
64342         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64343         * manual/Makefile (appendices): Include platform.texi.
64344         * manual/contrib.texi (Contributors): Update @node pointers.
64345         * manual/maint.texi (Maintenance): Likewise.
64346         (Platform): New node.
64347         * manual/platform.texi: New file.  Document the new features.
64349 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64350             Jakub Jelinek  <jakub@redhat.com>
64352         [BZ #14188]
64353         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64354         where __builtin_expect is unavailable.
64356 2012-06-03  David S. Miller  <davem@davemloft.net>
64358         * stdlib/longlong.h: Updated from GCC.
64360 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64362         [BZ #14042]
64363         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64364         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64365         __mcount_internal.
64366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64367         (GLIBC_2.16): Likewise.
64369 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64371         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64373 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64376         (default-abi): New variable.
64377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64378         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64379         variable.
64380         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64381         Likewise.
64382         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64383         Likewise.
64384         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64385         Likewise.
64387         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64388         definition.  Document in comment.
64390 2012-06-01  David S. Miller  <davem@davemloft.net>
64392         * stdlib/longlong.h: Updated from GCC.
64394 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64396         [BZ #14117]
64397         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64398         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64399         sys/debugreg.h sys/io.h here.
64400         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64401         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64402         sys/io.h.
64403         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64404         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64405         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64406         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64407         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64408         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64410         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64411         Define only if __x86_64__ is defined.
64413 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64415         [BZ #14048]
64416         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64417         Use int64_t for variable i.
64418         * math/libm-test.inc (fmod_test): Add more tests.
64420         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64421         z computation is not scheduled after fetestexcept.
64422         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64423         Use math_force_eval instead of asm to ensure calculation scheduled
64424         before exception test.
64425         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64426         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64428 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64431         computation is not scheduled after fetestexcept.
64433 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64435         [BZ #14117]
64436         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64437         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64439 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64441         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64442         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64444 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64446         [BZ #14117]
64447         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64448         <bits/wordsize.h>.
64449         (__WCHAR_MIN): Support __WORDSIZE == 64.
64450         (__WCHAR_MAX): Likewise.
64452         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64455         [BZ #14183]
64456         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64457         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64459         [BZ #14117]
64460         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64461         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64463         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64464         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64466         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64467         Defined to 1 if __x86_64__ isn't defined.
64468         (_STAT_VER_LINUX_OLD): New.
64469         (st_atime): Remove duplicate.
64470         (st_mtime): Likewise.
64471         (st_ctime): Likewise.
64473 2012-05-31  David S. Miller  <davem@davemloft.net>
64475         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64476         entries.
64478 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64480         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64481         gen-libm-test.pl.
64483         [BZ #14132]
64484         * elf/dl-reloc.c: Include <_itoa.h>.
64485         (_dl_reloc_bad_type): Remove use of INTUSE.
64486         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64487         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64488         * stdio-common/psiginfo.c (psiginfo): Likewise.
64489         * stdio-common/psignal.c (psignal): Likewise.
64490         * string/strsignal.c (strsignal): Likewise.
64491         * include/signal.h (_sys_siglist): Declare hidden proto.
64492         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64493         INTVARDEF with libc_hidden_data_def.
64494         * stdio-common/itoa-udigits.c: Likewise.
64495         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64496         (_itoa_lower_digits_internal): Remove declaration.
64497         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64498         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64499         (_sys_sigabbrev_internal): Remove aliases.
64500         (_sys_siglist): Define hidden alias.
64502 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64505         bits/sysctl.h.
64507 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64509         [BZ #14117]
64510         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64511         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64513         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64514         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64515         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64516         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64517         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64518         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64520         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64521         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64522         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64524         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64525         with __addr.
64526         (insw): Likewise.
64527         (insl): Likewise.
64528         (outsb): Likewise.
64529         (outsw): Likewise.
64530         (outsl): Likewise.
64532         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64533         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64534         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64536         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64537         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64538         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64539         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64540         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64541         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64543         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64544         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64546         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64547         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64549         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64550         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64551         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64553         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64554         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64555         to ...
64556         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64558         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64559         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64560         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64562         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64563         for x86-64.
64564         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64566 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64568         * math/math.h (M_El): Use two more decimal places.
64569         (M_LOG2El): Likewise.
64570         (M_LOG10El): Likewise.
64571         (M_LN2l): Likewise.
64572         (M_LN10l): Likewise.
64573         (M_PIl): Likewise.
64574         (M_PI_2l): Likewise.
64575         (M_PI_4l): Likewise.
64576         (M_1_PIl): Likewise.
64577         (M_2_PIl): Likewise.
64578         (M_2_SQRTPIl): Likewise.
64579         (M_SQRT2l): Likewise.
64580         (M_SQRT1_2l): Likewise.
64582 2012-05-31  David S. Miller  <davem@davemloft.net>
64584         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64585         values between float registers.
64586         * sysdeps/sparc/sparc64/memset.S: Likewise.
64587         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64589 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64591         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64592         -D_FORTIFY_SOURCE=1.
64593         (CPPFLAGS-tst-longjmp_chk.c): Define.
64594         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64595         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64596         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64597         CFLAGS-tst-wchar-h.c.
64599 2012-05-31  Marek Polacek  <polacek@redhat.com>
64601         [BZ #14132]
64602         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64603         __endmntent_internal): Remove declaration.
64604         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64605         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64606         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64608 2012-05-30  David S. Miller  <davem@davemloft.net>
64610         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64611         (___Q_simulate_exceptions): Use real FP ops rather than writing
64612         into the %fsr.
64613         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64614         Likewise.
64616 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64618         [BZ #14117]
64619         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64620         * sysdeps/x86/bits/xtitypes.h: This.
64622         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64623         * sysdeps/x86/bits/wordsize.h: This.
64625         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64626         * sysdeps/x86/bits/huge_vall.h: This.
64628         * sysdeps/i386/bits/select.h: Removed.
64629         * sysdeps/x86_64/bits/select.h: Renamed to ...
64630         * sysdeps/x86/bits/select.h: This.
64632         * sysdeps/i386/bits/setjmp.h: Removed.
64633         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64634         * sysdeps/x86/bits/setjmp.h: This.
64636         * sysdeps/i386/bits/mathdef.h: Removed.
64637         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64638         * sysdeps/x86/bits/mathdef.h: This.
64640 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64642         [BZ #14132]
64643         * include/sys/socket.h (__connect_internal)
64644         (__libc_sa_len_internal): Remove declaration.
64645         (__connect, __libc_sa_len): Declare hidden_proto.
64646         (SA_LEN): Remove use of INTUSE.
64647         * socket/connect.c: Add libc_hidden_def.
64648         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64649         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64650         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64651         alias.
64652         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64653         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64654         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64655         of adding _internal alias.
64657 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64659         [BZ #14117]
64660         * sysdeps/i386/bits/link.h: Removed.
64661         * sysdeps/i386/bits/linkmap.h: Likewise.
64662         * sysdeps/x86_64/bits/link.h: Renamed to ...
64663         * sysdeps/x86/bits/link.h: This.
64664         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64665         * sysdeps/x86/bits/linkmap.h: This.
64667         * sysdeps/i386/bits/endian.h: Removed.
64668         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64669         * sysdeps/x86/bits/endian.h: This.
64671         * sysdeps/i386/bits/byteswap.h: Removed.
64672         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64673         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64674         * sysdeps/x86/bits/byteswap.h: This.
64675         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64676         * sysdeps/x86/bits/byteswap-16.h: This.
64677         * sysdeps/i386/Implies: Add x86.
64678         * sysdeps/x86_64/Implies: Likewise.
64680 2012-05-30  David S. Miller  <davem@davemloft.net>
64682         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64683         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64684         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64685         (FP_TRAPPING_EXCEPTIONS): Define.
64686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64687         (FP_TRAPPING_EXCEPTIONS): Define.
64688         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64689         subnormals only when inexact has been signalled or underflow
64690         exceptions are enabled.
64691         (_FP_PACK_CANONICAL): Likewise.
64693 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64695         [BZ #14183]
64696         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64697         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64699 2012-05-30  Richard Henderson  <rth@twiddle.net>
64701         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64702         with #ifndef NOT_IN_libc.
64704         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64705         marked to avoid plt entry.
64707 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64709         [BZ #14112]
64710         * Makeconfig (default-abi): New macro.
64711         (abi-includes): Likewise.
64712         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64713         $(abi-$(default-abi)-lib-soname) for soname if defined.
64714         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64715         abi-variants.
64716         * Makefile (installed-stubs): Likewise.
64717         * include/stubs-biarch.h: Removed.
64718         * scripts/lib-names.awk: Only handle one library at a time.
64719         * scripts/soversions.awk: Remove WORDSIZE support.
64720         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64721         entries.
64722         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64723         Removed.
64724         (syscall-list-default-condition): Likewise.
64725         (syscall-list-default-condition): Likewise.
64726         (syscall-list-includes): Likewise.
64727         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64728         syscall-list-* with abi-*.  Handle undefined abi-variants.
64729         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64730         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64731         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64732         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64733         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64734         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64735         Removed.
64736         (syscall-list-32-options): Likewise.
64737         (syscall-list-32-condition): Likewise.
64738         (syscall-list-64-options): Likewise.
64739         (syscall-list-64-condition): Likewise.
64740         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64741         macro.
64742         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64743         Renamed to ...
64744         (abi-*): This.
64745         (abi-64-ld-soname): New macro.
64746         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64747         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64748         Renamed to ...
64749         (abi-*): This.
64750         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64751         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64753 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64755         * sysdeps/unix/sysv/linux/kernel-features.h
64756         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64757         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64758         include <kernel-features.h>.
64759         [!__NR_ftruncate64]: Remove conditional code.
64760         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64761         [__NR_ftruncate64]: Make code unconditional.
64762         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64763         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64764         include <kernel-features.h>.
64765         [!__NR_ftruncate64]: Remove conditional code.
64766         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64767         [__NR_ftruncate64]: Make code unconditional.
64768         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64770         include <kernel-features.h>.
64771         [!__NR_ftruncate64]: Remove conditional code.
64772         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64773         [__NR_ftruncate64]: Make code unconditional.
64774         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64776         include <kernel-features.h>.
64777         [!__NR_ftruncate64]: Remove conditional code.
64778         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64779         [__NR_ftruncate64]: Make code unconditional.
64780         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64782         * configure.in (libc_cv_fpie): Weaken to a compile test using
64783         LIBC_TRY_CC_OPTION.
64784         * configure: Regenerated.
64786 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64792         Refreshed.
64793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64799         Refreshed.
64801 2012-05-27  David S. Miller  <davem@davemloft.net>
64803         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64804         (___Q_zero): New.
64805         (__Q_simulate_exceptions): Return void.  Change to simulate
64806         exceptions by writing into the %fsr.
64807         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64808         (__Qp_handle_exceptions): Likewise.
64809         (numbers): Delete.
64810         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64811         __Qp_handle_exceptions.
64812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64813         __Qp_handle_exceptions.
64814         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64815         as unused and give dummy FP_RND_NEAREST initializer.
64816         (FP_INHIBIT_RESULTS): Define.
64817         (___Q_simulate_exceptions): Update declaration.
64818         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64819         formatting.
64820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64821         as unused and give dummy FP_RND_NEAREST initializer.
64822         (__Qp_handle_exceptions): Update declaration.
64823         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64824         formatting.
64826 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64828         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64829         the temporary FPU control word.
64830         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64831         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64832         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64833         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64834         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64835         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64836         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64837         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64838         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64839         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64840         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64842 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64844         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64845         fields.
64847 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64849         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64850         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64851         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64852         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64853         Likewise.
64854         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64855         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64856         Likewise.
64858 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64860         * po/h.po: Update from translation team.
64862 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64864         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64866         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64867         handling of denormals.
64868         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64869         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64870         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64871         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64873         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64875         Likewise.
64877 2012-05-26  Marek Polacek  <polacek@redhat.com>
64879         [BZ #14152]
64880         * math/libm-test.inc (fma_test): Don't always expect underflow
64881         exception.
64883 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64885         [BZ #12416]
64886         * elf/tst-execstack.c: Include stackinfo.h.
64887         (do_test): Adjust test case to ensure that pthread_getattr_np
64888         behaviour remains the same after marking stack executable.
64890 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64892         * sysdeps/unix/sysv/linux/kernel-features.h
64893         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64894         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64895         kernel-features.h.
64896         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64897         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64898         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64899         kernel-features.h.
64900         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64901         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64903 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64905         * configure.in: Define the default includes to being none.
64906         * configure: Regenerated.
64908 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64910         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64911         * sysdeps/x86_64/setjmp.S: Likewise.
64912         * sysdeps/i386/bsd-setjmp.S: Likewise.
64913         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64914         * sysdeps/i386/setjmp.S: Likewise.
64915         * sysdeps/i386/__longjmp.S: Likewise.
64916         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64917         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64919         * include/stap-probe.h: New file.
64920         * configure.in: Handle --enable-systemtap.
64921         * configure: Regenerated.
64922         * config.h.in (USE_STAP_PROBE): New #undef.
64923         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64924         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64925         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64927 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64929         [BZ #13717]
64930         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64931         to 2.4.0 where earlier.
64932         * sysdeps/unix/sysv/linux/configure: Regenerated.
64933         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64934         <kernel-features.h>.
64935         [__ASSUME_32BITUIDS]: Make code unconditional.
64936         [!__ASSUME_32BITUIDS]: Remove conditional code.
64937         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64938         <kernel-features.h>.
64939         [__ASSUME_32BITUIDS]: Make code unconditional.
64940         [!__ASSUME_32BITUIDS]: Remove conditional code.
64941         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64942         [__ASSUME_32BITUIDS]: Make code unconditional.
64943         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64944         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64945         <kernel-features.h>.
64946         [__ASSUME_32BITUIDS]: Make code unconditional.
64947         [!__ASSUME_32BITUIDS]: Remove conditional code.
64948         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64949         <kernel-features.h>.
64950         [__ASSUME_32BITUIDS]: Make code unconditional.
64951         [!__ASSUME_32BITUIDS]: Remove conditional code.
64952         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64953         <kernel-features.h>.
64954         [__ASSUME_32BITUIDS]: Make code unconditional.
64955         [!__ASSUME_32BITUIDS]: Remove conditional code.
64956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64957         <kernel-features.h>.
64958         [__ASSUME_32BITUIDS]: Make code unconditional.
64959         [!__ASSUME_32BITUIDS]: Remove conditional code.
64960         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64961         <kernel-features.h>.
64962         [__ASSUME_32BITUIDS]: Make code unconditional.
64963         [!__ASSUME_32BITUIDS]: Remove conditional code.
64964         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64965         <kernel-features.h>.
64966         [__ASSUME_32BITUIDS]: Make code unconditional.
64967         [!__ASSUME_32BITUIDS]: Remove conditional code.
64968         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64969         <kernel-features.h>.
64970         [__ASSUME_32BITUIDS]: Make code unconditional.
64971         [!__ASSUME_32BITUIDS]: Remove conditional code.
64972         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64973         <kernel-features.h>.
64974         [__ASSUME_32BITUIDS]: Make code unconditional.
64975         [!__ASSUME_32BITUIDS]: Remove conditional code.
64976         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64977         <kernel-features.h>.
64978         [__ASSUME_32BITUIDS]: Make code unconditional.
64979         [!__ASSUME_32BITUIDS]: Remove conditional code.
64980         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64981         <kernel-features.h>.
64982         [__ASSUME_32BITUIDS]: Make code unconditional.
64983         [!__ASSUME_32BITUIDS]: Remove conditional code.
64984         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64985         <kernel-features.h>.
64986         [__NR_setresgid] (__setresgid): Do not declare.
64987         [__ASSUME_32BITUIDS]: Make code unconditional.
64988         [!__ASSUME_32BITUIDS]: Remove conditional code.
64989         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64990         <kernel-features.h>.
64991         [__NR_setresuid] (__setresuid): Do not declare.
64992         [__ASSUME_32BITUIDS]: Make code unconditional.
64993         [!__ASSUME_32BITUIDS]: Remove conditional code.
64994         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64995         <kernel-features.h>.
64996         [__ASSUME_32BITUIDS]: Make code unconditional.
64997         [!__ASSUME_32BITUIDS]: Remove conditional code.
64998         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64999         <kernel-features.h>.
65000         [__ASSUME_32BITUIDS]: Make code unconditional.
65001         [!__ASSUME_32BITUIDS]: Remove conditional code.
65002         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65003         <kernel-features.h>.
65004         [__ASSUME_32BITUIDS]: Make code unconditional.
65005         [!__ASSUME_32BITUIDS]: Remove conditional code.
65006         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65007         <kernel-features.h>.
65008         [__ASSUME_32BITUIDS]: Make code unconditional.
65009         [!__ASSUME_32BITUIDS]: Remove conditional code.
65010         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65011         <kernel-features.h>.
65012         [__ASSUME_32BITUIDS]: Make code unconditional.
65013         [!__ASSUME_32BITUIDS]: Remove conditional code.
65014         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65015         <kernel-features.h>.
65016         [__ASSUME_32BITUIDS]: Make code unconditional.
65017         [!__ASSUME_32BITUIDS]: Remove conditional code.
65018         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65019         <kernel-features.h>.
65020         [__ASSUME_32BITUIDS]: Make code unconditional.
65021         [!__ASSUME_32BITUIDS]: Remove conditional code.
65022         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65023         <kernel-features.h>.
65024         [__ASSUME_32BITUIDS]: Make code unconditional.
65025         [!__ASSUME_32BITUIDS]: Remove conditional code.
65026         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65027         <kernel-features.h>.
65028         [__ASSUME_32BITUIDS]: Make code unconditional.
65029         [!__ASSUME_32BITUIDS]: Remove conditional code.
65030         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65031         <kernel-features.h>.
65032         [__ASSUME_32BITUIDS]: Make code unconditional.
65033         [!__ASSUME_32BITUIDS]: Remove conditional code.
65034         * sysdeps/unix/sysv/linux/kernel-features.h
65035         (__ASSUME_SETRESUID_SYSCALL): Remove.
65036         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65037         (__ASSUME_32BITUIDS): Likewise.
65038         (__ASSUME_LDT_WORKS): Likewise.
65039         (__ASSUME_O_DIRECTORY): Likewise.
65040         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65041         architecture but not kernel version.
65042         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65043         (__ASSUME_MMAP2_SYSCALL): Likewise.
65044         (__ASSUME_STAT64_SYSCALL): Likewise.
65045         (__ASSUME_IPC64): Likewise.
65046         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65047         <kernel-features.h>.
65048         [__ASSUME_32BITUIDS]: Make code unconditional.
65049         [!__ASSUME_32BITUIDS]: Remove conditional code.
65050         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65051         <kernel-features.h>.
65052         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65053         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65054         132096]: Remove conditional code.
65055         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65056         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65057         <kernel-features.h>.
65058         [__ASSUME_32BITUIDS]: Make code unconditional.
65059         [!__ASSUME_32BITUIDS]: Remove conditional code.
65060         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65061         <kernel-features.h>.
65062         [__ASSUME_32BITUIDS]: Make code unconditional.
65063         [!__ASSUME_32BITUIDS]: Remove conditional code.
65064         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65065         <kernel-features.h>.
65066         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65067         unconditional.
65068         (__setresgid): Do not declare.
65069         [__ASSUME_32BITUIDS]: Make code unconditional.
65070         [!__ASSUME_32BITUIDS]: Remove conditional code.
65071         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65072         <kernel-features.h>.
65073         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65074         unconditional.
65075         (__setresuid): Do not declare.
65076         [__ASSUME_32BITUIDS]: Make code unconditional.
65077         [!__ASSUME_32BITUIDS]: Remove conditional code.
65078         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65079         <kernel-features.h>.
65080         [__ASSUME_32BITUIDS]: Make code unconditional.
65081         [!__ASSUME_32BITUIDS]: Remove conditional code.
65082         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65083         <kernel-features.h>.
65084         [__ASSUME_32BITUIDS]: Make code unconditional.
65085         [!__ASSUME_32BITUIDS]: Remove conditional code.
65087 2012-05-25  Richard Henderson  <rth@twiddle.net>
65089         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65090         dl_hwcap to ifunc resolver.
65091         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65092         elf_ifunc_invoke.
65093         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65094         dl_hwcap to ifunc resolver.
65095         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65097 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65099         [BZ #14153]
65100         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65101         for |x| <= 2**-26, not 2**-57.
65102         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65103         exception.
65105 2012-05-24  Jeff Law  <law@redhat.com>
65107         * stdio-common/Makefile (tests): Add bug25.
65108         * stdio-common/bug25.c: New test.
65110 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65112         [BZ #13576]
65113         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65114         multiple of MALLOC_ALIGNMENT in size.
65115         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65117 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65119         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65120         Require >= 256.
65121         (FILENAME_MAX): Use macro-int-constant.
65122         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65123         (_IOFBF): Use macro-int-constant.
65124         (_IOLBF): Likewise.
65125         (_IONBF): Likewise.
65126         (SEEK_CUR): Likewise.
65127         (SEEK_END): Likewise.
65128         (SEEK_SET): Likewise.
65129         (TMP_MAX): Likewise.
65130         (EOF): Use macro-int-constant.  Require < 0.
65131         (NULL): Use macro-constant.  Require == 0.
65132         (stdin): Require type to be FILE *.
65133         (stdout): Likewise.
65134         (stderr): Likewise.
65135         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65136         macro-int-constant.
65137         (EXIT_SUCCESS): Likewise.
65138         (NULL): Use macro-constant.  Require == 0.
65139         (RAND_MAX): Use macro-int-constant.
65140         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65141         [C99-based standards] (strtof): Require function.
65142         [C99-based standards] (strtold): Likewise.
65143         [C99-based standards] (strtoll): Likewise.
65144         [C99-based standards] (strtoull): Likewise.
65145         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65146         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65147         [ISO || ISO99 || ISO11] (math.h): Likewise.
65148         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65149         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65152 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65154         [BZ #14132]
65155         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65156         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65157         * intl/dgettext.c (DCGETTEXT): Likewise.
65158         * intl/gettext.c (DCGETTEXT): Likewise.
65159         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65160         * posix/regex_internal.h (gettext): Likewise.
65161         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65162         Remove declaration.
65163         * include/argz.h (__argz_count_internal)
65164         (__argz_stringify_internal): Remove declaration.
65165         (__argz_count, __argz_stringify): Declare hidden proto.
65166         * intl/dcgettext.c: Remove use of INTDEF.
65167         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65168         * string/argz-stringify.c: Likewise.
65169         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65170         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65171         Declare hidden proto.
65172         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65173         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65174         Declare hidden proto.
65175         * include/stdio.h (__asprintf_internal): Don't declare.
65176         (__asprintf): Don't define as macro.  Declare hidden proto.
65177         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65178         (__fsetlocking): Declare hidden proto.
65179         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65180         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65181         hidden proto.
65182         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65183         (_IO_setlinebuf): Remove use of INTUSE.
65184         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65185         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65186         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65187         Remove declaration.
65188         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65189         (_IO_do_flush): Remove use of INTUSE.
65190         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65191         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65192         (_IO_adjust_column, _IO_least_wmarker)
65193         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65194         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65195         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65196         (_IO_default_doallocate, _IO_wdefault_doallocate)
65197         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65198         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65199         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65200         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65201         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65202         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65203         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65204         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65205         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65206         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65207         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65208         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65209         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65210         proto.
65211         (_IO_flush_all_internal, _IO_adjust_column_internal)
65212         (_IO_default_uflow_internal, _IO_default_finish_internal)
65213         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65214         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65215         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65216         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65217         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65218         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65219         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65220         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65221         (_IO_file_close_internal, _IO_file_close_it_internal)
65222         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65223         (_IO_file_init_internal, _IO_file_attach_internal)
65224         (_IO_file_fopen_internal, _IO_file_read_internal)
65225         (_IO_file_sync_internal, _IO_file_seek_internal)
65226         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65227         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65228         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65229         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65230         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65231         (_IO_list_all_internal, _IO_link_in_internal)
65232         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65233         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65234         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65235         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65236         (_IO_do_write_internal, _IO_padn_internal)
65237         (_IO_getline_info_internal, _IO_getline_internal)
65238         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65239         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65240         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65241         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65242         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65243         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65244         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65245         with libc_hidden_ver, remove use of INTUSE.
65246         * libio/genops.c: Likewise.
65247         * libio/freopen.c: Likewise.
65248         * libio/freopen64.c: Likewise.
65249         * libio/iofclose.c: Likewise.
65250         * libio/iofdopen.c: Likewise.
65251         * libio/iofflush.c: Likewise.
65252         * libio/iofflush_u.c: Likewise.
65253         * libio/iofgets.c: Likewise.
65254         * libio/iofgets_u.c: Likewise.
65255         * libio/iofopen.c: Likewise.
65256         * libio/iofopncook.c: Likewise.
65257         * libio/iofread.c: Likewise.
65258         * libio/iofread_u.c: Likewise.
65259         * libio/ioftell.c: Likewise.
65260         * libio/iofwrite.c: Likewise.
65261         * libio/iogetline.c: Likewise.
65262         * libio/iogets.c: Likewise.
65263         * libio/iogetwline.c: Likewise.
65264         * libio/iopadn.c: Likewise.
65265         * libio/iopopen.c: Likewise.
65266         * libio/ioseekoff.c: Likewise.
65267         * libio/ioseekpos.c: Likewise.
65268         * libio/iosetbuffer.c: Likewise.
65269         * libio/iosetvbuf.c: Likewise.
65270         * libio/ioungetc.c: Likewise.
65271         * libio/ioungetwc.c: Likewise.
65272         * libio/iovdprintf.c: Likewise.
65273         * libio/iovsprintf.c: Likewise.
65274         * libio/iovsscanf.c: Likewise.
65275         * libio/memstream.c: Likewise.
65276         * libio/obprintf.c: Likewise.
65277         * libio/oldfileops.c: Likewise.
65278         * libio/oldiofclose.c: Likewise.
65279         * libio/oldiofdopen.c: Likewise.
65280         * libio/oldiofopen.c: Likewise.
65281         * libio/oldiopopen.c: Likewise.
65282         * libio/oldstdfiles.c: Likewise.
65283         * libio/putc.c: Likewise.
65284         * libio/setbuf.c: Likewise.
65285         * libio/setlinebuf.c: Likewise.
65286         * libio/stdfiles.c: Likewise.
65287         * libio/strops.c: Likewise.
65288         * libio/vasprintf.c: Likewise.
65289         * libio/vscanf.c: Likewise.
65290         * libio/vsnprintf.c: Likewise.
65291         * libio/vswprintf.c: Likewise.
65292         * libio/wfiledoalloc.c: Likewise.
65293         * libio/wfileops.c: Likewise.
65294         * libio/wgenops.c: Likewise.
65295         * libio/wmemstream.c: Likewise.
65296         * libio/wstrops.c: Likewise.
65297         * libio/__fpurge.c: Likewise.
65298         * libio/__fsetlocking.c: Likewise.
65299         * assert/assert.c: Likewise.
65300         * debug/fgets_chk.c: Likewise.
65301         * debug/fgets_u_chk.c: Likewise.
65302         * debug/fread_chk.c: Likewise.
65303         * debug/fread_u_chk.c: Likewise.
65304         * debug/gets_chk.c: Likewise.
65305         * debug/obprintf_chk.c: Likewise.
65306         * debug/vasprintf_chk.c: Likewise.
65307         * debug/vdprintf_chk.c: Likewise.
65308         * debug/vsnprintf_chk.c: Likewise.
65309         * debug/vsprintf_chk.c: Likewise.
65310         * malloc/mtrace.c: Likewise.
65311         * misc/error.c: Likewise.
65312         * misc/syslog.c: Likewise.
65313         * stdio-common/asprintf.c: Likewise.
65314         * stdio-common/fxprintf.c: Likewise.
65315         * stdio-common/getw.c: Likewise.
65316         * stdio-common/isoc99_fscanf.c: Likewise.
65317         * stdio-common/isoc99_scanf.c: Likewise.
65318         * stdio-common/isoc99_vfscanf.c: Likewise.
65319         * stdio-common/isoc99_vscanf.c: Likewise.
65320         * stdio-common/isoc99_vsscanf.c: Likewise.
65321         * stdio-common/printf-prs.c: Likewise.
65322         * stdio-common/printf_fp.c: Likewise.
65323         * stdio-common/printf_fphex.c: Likewise.
65324         * stdio-common/printf_size.c: Likewise.
65325         * stdio-common/putw.c: Likewise.
65326         * stdio-common/scanf.c: Likewise.
65327         * stdio-common/sprintf.c: Likewise.
65328         * stdio-common/tmpfile.c: Likewise.
65329         * stdio-common/vfprintf.c: Likewise.
65330         * stdio-common/vfscanf.c: Likewise.
65331         * stdlib/strfmon_l.c: Likewise.
65332         * sunrpc/openchild.c: Likewise.
65333         * sunrpc/xdr_stdio.c: Likewise.
65334         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65335         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65337 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65339         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65341         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65342         in the third column, to generate for the shared library an IFUNC
65343         that uses _dl_vdso_vsym.
65344         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65345         * Makeconfig (object-suffixes-noshared): New variable.
65347         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65348         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65349         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65350         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65352         [BZ #14132]
65353         * include/sys/time.h (__gettimeofday): Remove macro.
65354         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65355         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65356         Remove INTDEF.
65357         (__gettimeofday): Add libc_hidden_def.
65358         (gettimeofday): Add libc_hidden_weak.
65359         * sysdeps/mach/gettimeofday.c: Likewise.
65360         * sysdeps/posix/gettimeofday.c: Likewise.
65361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65362         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65364         (__gettimeofday_internal): Remove strong_alias.
65365         (__gettimeofday): Add libc_hidden_def.
65366         (gettimeofday): Add libc_hidden_weak.
65367         * sysdeps/unix/syscalls.list (gettimeofday):
65368         Remove __gettimeofday_internal alias.
65370 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65371             H.J. Lu  <hongjiu.lu@intel.com>
65373         [BZ #12495]
65374         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65375         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65376         (largebin_index_32_big): New.
65377         (largebin_index): Use it for 16-byte alignment.
65378         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65379         correction with front_misalign.
65381 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65385         Likewise.
65386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65387         Likewise.
65388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65389         Likewise.
65390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65391         Likewise.
65392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65393         Likewise.
65394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65395         Likewise.
65396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65397         Likewise.
65398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65399         Likewise.
65400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65401         Likewise.
65402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65403         Likewise.
65404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65405         Likewise.
65406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65407         Likewise.
65409         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65410         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65412 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65414         [BZ #10846]
65415         [BZ #14036]
65416         * math/libm-test.inc (exp_test): Add test from bug 14036.
65417         (pow_test): Add test from bug 10846.
65419         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65420         and other flags.
65421         (special_function): Do not include flags in test name.
65422         (parse_args): Likewise.
65423         * sysdeps/i386/fpu/libm-test-ulps: Update.
65424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65425         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65426         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65429         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65430         exceptions.
65431         * math/libm-test.inc ("Philosophy"): Update comment about
65432         exception testing.
65433         (UNDERFLOW_EXCEPTION): New macro.
65434         (UNDERFLOW_EXCEPTION_OK): Likewise.
65435         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65436         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65437         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65438         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65439         (INVALID_EXCEPTION_OK): Update value.
65440         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65441         (OVERFLOW_EXCEPTION_OK): Likewise.
65442         (IGNORE_ZERO_INF_SIGN): Likewise.
65443         (test_exceptions): Handle underflow exceptions.
65444         (acos_test): Update for underflow exception expectations.
65445         (cexp_test): Likewise.
65446         (clog_test): Likewise.
65447         (clog10_test): Likewise.
65448         (csqrt_test): Likewise.
65449         (ctan_test): Likewise.
65450         (ctanh_test): Likewise.
65451         (exp_test): Likewise.
65452         (exp10_test): Likewise.
65453         (exp2_test): Likewise.
65454         (expm1_test): Likewise.
65455         (fma_test): Likewise.
65456         (j0_test): Likewise.
65457         (jn_test): Likewise.
65458         (nexttoward_test): Likewise.
65459         (pow_test): Likewise.
65460         (scalbn_test): Likewise.
65461         (scalbln_test): Likewise.
65462         (tan_test): Likewise.
65463         (y1_test): Likewise.
65464         * sysdeps/i386/fpu/libm-test-ulps: Update.
65465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65467 2012-05-23  David S. Miller  <davem@davemloft.net>
65469         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65470         (__libc_sigaction): Remove unused local variables.
65472 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65474         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65476 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65478         mktime: avoid signed integer overflow
65479         * time/mktime.c (__mktime_internal): Do not mishandle the case
65480         where diff == INT_MIN.
65482         mktime: simplify computation of average
65483         * time/mktime.c (ranged_convert): Use new time_t_avg function
65484         instead of rolling our own (probably-slower) code.
65486         mktime: do not assume signed right shift propagates sign bit
65487         * time/mktime.c (isdst_differ): New static function.
65488         (__mktime_internal): No need to normalize tm_isdst now.
65489         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65490         tm_isdst values.
65492         mktime: merge another wrapv change from gnulib
65493         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65494         from some compilers.
65496         mktime: remove incorrect attempt at unusual arithmetics
65497         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65498         The code didn't really work on such machines anyway.
65499         (TYPE_MINIMUM): Assume two's complement.
65500         (twos_complement_arithmetic): Verify that long_int and time_t
65501         are two's complement (or unsigned, in the latter case).
65503         mktime: check signed shifts on long_int and time_t, too
65504         * time/mktime.c (SHR): Check that shifts work as desired
65505         on the types long_int and time_t too, as SHR is used on
65506         such types.
65508         mktime: do not assume 'long' is wide enough
65509         * time/mktime.c (verify): Move decl up.
65510         (long_int): New type.
65511         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65512         to remove assumption in the code that 'long' is wide enough to
65513         store year values.  This assumption is not true on x32 and on
65514         some non-glibc platforms.
65516         mktime: merge wrapv change from gnulib
65517         * time/mktime.c (WRAPV): New macro.
65518         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65519         (guess_time_tm, __mktime_internal): Do not assume that signed
65520         integer overflow wraps around; modern compilers generate code
65521         where this assumption is no longer valid.
65523 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65525         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65526         Replace "jmp L(pseudo_end)" with "ret".
65527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65528         Likewise.
65530 2012-05-23  Andreas Jaeger  <aj@suse.de>
65532         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65533         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65535 2012-05-23  Andreas Jaeger  <aj@suse.de>
65536             Maximilian Attems  <max@stro.at>
65538         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65539         New macros.
65541 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65543         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65544         code so that pseudo_end is just ret and the stack pointer is
65545         correct also for static library in error case.
65547 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65549         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65550         move to syscalls.list.
65551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65556         * manual/install.texi (Running make install): Do not mention Linux
65557         kernel version for which pt_chown is not needed.
65558         (Linux): Do not mention problems with nscd with 2.0 kernels.
65559         * INSTALL: Regenerated.
65561 2012-05-23  Andreas Jaeger  <aj@suse.de>
65563         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65564         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65565         macro.
65566         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65567         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65568         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65569         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65570         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65574         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65576         * sysdeps/unix/sysv/linux/bits/in.h
65577         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65579 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65581         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65582         (PREPARE_VERSION): Just use assert instead, it will be elided
65583         under [NDEBUG] anyway.
65585 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65587         * sysdeps/unix/sysv/linux/Makefile: Include
65588         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65589         (sysdep_routines): Remove sysctl.
65590         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65591         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65592         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65593         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65594         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65596 2012-05-22  Andreas Jaeger  <aj@suse.de>
65598         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65599         that pseudo_end is just ret and the stack pointer is correct also
65600         for static library in error case.
65602 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65604         [BZ #14122]
65605         * nss/nsswitch.c (defconfig_entries): New variable.
65606         (__nss_database_lookup): Don't leak defconfig entries.
65607         (nss_parse_service_list): Don't leak on error paths.
65608         (free_database_entries): New function.
65609         (free_defconfig): New function.
65610         (free_mem): Move common code to free_database_entries.
65612 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65614         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65615         Add arch_prctl.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65619         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65621         New macro.
65622         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65623         (INTERNAL_SYSCALL_TYPES): Likewise.
65624         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65625         (LOAD_REGS_TYPES_[1-6]): Likewise.
65626         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65627         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65629 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65631         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65632         copysignl for GLIBC_2_0.
65633         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65634         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65635         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65636         logbl for GLIBC_2_0.
65637         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65638         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65640 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65642         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65643         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65645         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65646         Use "neg %eax".
65648         * time/mktime.c: Update copyright years.
65650 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65652         mktime: merge comment-quoting-style change from gnulib
65653         * time/mktime.c: Quote 'like this' in comments.
65654         The GNU coding standards suggest that we no longer quote `like this',
65655         as "`" and "'" are typically rendered asymmetrically nowadays.
65656         The typical gnulib style is to quote 'like this' when quoting
65657         code, and "like this" when quoting English.
65659         * time/mktime.c (compile-command): Add "-I.".
65661         mktime: merge mktime-internal.h change from gnulib
65662         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65664         mktime: merge time_r change from gnulib
65665         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65667         mktime: merge DEBUG change from gnulib
65668         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65669         case system <time.h> has a #define.
65671         mktime: merge <sys/types.h> change from gnulib
65672         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65673         since <time.t> is now guaranteed to define time_t.
65675         mktime: merge HAVE_CONFIG_H change from gnulib
65676         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65678 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65681         Use "neg %eax".
65683         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65684         __rlim_t cast.
65685         (struct rusage): Use anonymous union to pad each field to
65686         __syscall_slong_t.
65688 2012-05-21  David S. Miller  <davem@davemloft.net>
65690         * Makefules (o-iterator): Remove .s cases.
65691         (compile-command.s): Delete.
65692         (COMPILE.s): Delete.
65693         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65695 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65697         * configure.in (libc_cv_predef_stack_protector): Only consider
65698         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65699         * configure: Regenerated.
65701 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65704         New macro.  Use R*LP on int and pointer.
65705         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65706         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65707         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65708         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65710         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65711         [__WORDSIZE_TIME64_COMPAT32] instead of
65712         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65713         (struct utmp): Likewise.
65714         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65715         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65716         Renamed to ...
65717         (__WORDSIZE_TIME64_COMPAT32): This.
65718         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65719         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65720         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65721         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65722         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65723         (__WORDSIZE_TIME64_COMPAT32): New macro.
65725 2012-05-21  Andreas Jaeger  <aj@suse.de>
65727         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65728         only if [SHARED]. Add prototype for __wcschr_ia32.
65730 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65732         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65733         of %rbp unmolested in the jmp_buf while mangling the low bits.
65734         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65735         unmolested high bits of %rbp while demangling the low bits.
65736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65738 2012-05-21  Andreas Jaeger  <aj@suse.de>
65740         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65741         * sunrpc/svc_simple.c: Use it for registerrpc.
65742         * sunrpc/xcrypt.c: Use it for passwd2des.
65744         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65746 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65748         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65749         Don't define if [__SYSCALL_WORDSIZE != 32].
65750         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65751         New macro.
65753 2012-05-21  Bruno Haible  <bruno@clisp.org>
65754             Andreas Jaeger  <aj@suse.de>
65756         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65757         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65758         inptr and inend for must_buffer_ch.
65759         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65760         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65761         * stdio-common/Makefile (tests): Remove bug15.
65762         (bug15-ENV): Remove macro.
65763         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65764         anymore.
65766 2012-05-19  Andreas Jaeger  <aj@suse.de>
65767             Roland McGrath  <roland@hack.frob.com>
65769         * manual/contrib.texi: Completely rewritten. It contains now an
65770         alphabetical list of contributors and their contributions.
65772 2012-05-21  Richard Henderson  <rth@twiddle.net>
65774         * misc/getauxval.c (__getauxval): Use unsigned long int.
65775         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65776         (getauxval): Use unsigned long int.
65778 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65780         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65782 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65784         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65785         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65786         __alignof__ (long double).
65788 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65792 2012-05-20  Richard Henderson  <rth@twiddle.net>
65794         * misc/getauxval.c: New file.
65795         * misc/sys/auxv.h: New file.
65796         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65797         (routines): Add getauxval.
65798         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65799         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65800         * elf/dl-sysdep.c (_dl_auxv): Remove.
65801         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65802         * elf/dl-support.c (_dl_auxv): New variable.
65803         (_dl_aux_init): Initialize it.
65804         * manual/startup.texi (Auxiliary Vector): New node.
65805         * sysdeps/generic/bits/hwcap.h: New file.
65806         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65807         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65808         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65809         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65810         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65813         Update.
65814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65817         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65823 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65827 2012-05-19  David S. Miller  <davem@davemloft.net>
65829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65831 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65833         [BZ #14123]
65834         * math/s_ccosh.c: Include <float.h>
65835         (__ccosh): Avoid internal overflow calculating sinh and cosh
65836         values before multiplying by sin and cos values.
65837         * math/s_ccoshf.c: Likewise.
65838         * math/s_ccoshl.c: Likewise.
65839         * math/s_csin.c: Likewise.
65840         * math/s_csinf.c: Likewise.
65841         * math/s_csinl.c: Likewise.
65842         * math/s_csinh.c: Likewise.
65843         * math/s_csinhf.c: Likewise.
65844         * math/s_csinhl.c: Likewise.
65845         * math/libm-test.inc (ccos_test): Add more tests.
65846         (ccosh_test): Likewise.
65847         (csin_test): Likewise.
65848         (csinh_test): Likewise.
65849         * sysdeps/i386/fpu/libm-test-ulps: Update.
65850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65852 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65854         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65855         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65857         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65859 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65861         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65862         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65863         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65864         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65865         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65866         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65867         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65868         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65869         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65870         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65871         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65872         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65873         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65874         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65875         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65876         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65877         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65878         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65879         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65880         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65881         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65882         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65883         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65884         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65885         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65886         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65887         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65888         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65889         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65890         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65891         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65893 2012-05-18  Andreas Jaeger  <aj@suse.de>
65895         * csu/.gitignore: Delete.
65897 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65899         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65900         (timex): Use __syscall_slong_t.
65902 2012-05-18  Andreas Jaeger  <aj@suse.de>
65903             Carlos O'Donell  <carlos_odonell@mentor.com>
65905         * manual/install.texi (Configuring and compiling): Update
65906         description about files modified in the source directory.
65907         * INSTALL: Regenerated.
65909 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65911         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65912         value.  Use "or" to set return value to -1.
65913         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65914         negate return value.
65916 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65918         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65919         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65920         failure if the compiler has Graphite support disabled.
65921         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65922         Likewise.
65923         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65924         (CFLAGS-memmove.c): Likewise.
65925         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65926         Likewise.
65928 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65930         * sysdeps/x86_64/x32/_itoa.h: New file.
65932         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65933         getdents system call only if kernel and user dirents have the
65934         same d_ino and d_off.
65936         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65937         LLONG_MAX != LONG_MAX.
65938         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65939         (_fitoa_word): Likewise.
65941         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65942         years.
65943         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65945         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65947         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65948         include <bits/wordsize.h>.  Check __x86_64__ instead of
65949         __WORDSIZE.
65950         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65951         if __x86_64__ is defined.  Use anonymous union on fpstate.
65953         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65954         anonymous union.
65956 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65958         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65959         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65960         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65961         Refer to _rtld_local_ro instead of _rtld_global_ro.
65962         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65963         Likewise.
65964         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65965         Likewise.
65966         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65967         Likewise.
65968         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65969         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65970         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65972         [BZ #10882]
65973         * sysdeps/powerpc/powerpc32/dl-machine.c
65974         (__elf_machine_runtime_setup) [PROF]: Don't reference
65975         _dl_prof_resolve.
65977 2012-05-18  Andreas Jaeger  <aj@suse.de>
65979         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65980         function only available for GCCs before 3.4 since GCC 3.4
65981         introduced a builtin.
65982         (lrint): Likewise.
65983         (llrintf): Likewise.
65984         (llrint): Likewise.
65985         (fmaxf): Likewise.
65986         (fmax): Likewise.
65987         (fminf): Likewise.
65988         (fmin): Likewise.
65989         (rint): Likewise.
65990         (rintf): Likewise.
65991         (nearbyint): Likewise.
65992         (nearbyintf): Likewise.
65993         (ceil): Likewise.
65994         (ceilf): Likewise.
65995         (floor): Likewise.
65996         (floorf): Likewise.
65998 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66000         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66001         on both fields and cast pointer to __syscall_ulong_t.
66003         * bits/types.h (__fsword_t): New type.
66004         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66005         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66007         (__FSWORD_T_TYPE): Likewise.
66008         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66009         (__FSWORD_T_TYPE): Likewise.
66010         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66011         (__FSWORD_T_TYPE): Likewise.
66012         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66013         (__FSWORD_T_TYPE): Likewise.
66014         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66015         __SWORD_TYPE with __fsword_t.
66016         (statfs64): Likewise.
66018 2012-05-17  David S. Miller  <davem@davemloft.net>
66020         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66022 2012-05-17  Andreas Jaeger  <aj@suse.de>
66024         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66025         warning.
66027 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66029         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66031 2012-05-17  Andreas Jaeger  <aj@suse.de>
66033         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66034         when it is used.
66036 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66038         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66040 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66042         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66043         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66045 2012-05-17  Andreas Jaeger  <aj@suse.de>
66046             Carlos O'Donell  <carlos_odonell@mentor.com>
66048         [BZ #14059]
66049         * sysdeps/x86_64/multiarch/init-arch.h
66050         (bit_YMM_Usable): Rename to...
66051         (bit_AVX_Usable): ... this.
66052         (bit_FMA4_Usable): New macro.
66053         (bit_XMM_state): New macro.
66054         (bit_YMM_state): New macro.
66055         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66056         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66057         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66058         (CPUID_OSXSAVE): New macro.
66059         (CPUID_AVX): New macro.
66060         (CPUID_FMA4): New macro.
66061         (index_YMM_Usable): Rename to...
66062         (index_AVX_Usable): ... this.
66063         (HAS_AVX): Use HAS_ARCH_FEATURE.
66064         (HAS_FMA4): Likewise.
66065         (HAS_YMM_USABLE): Remove.
66066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66067         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66068         are present.
66069         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66070         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66071         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66072         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66073         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66075 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66077         * math/libm-test.c: Support platforms without multiple rounding modes.
66078         * math/bug-nextafter.c: Support platforms without FP exceptions.
66079         * math/bug-nexttoward.c: Likewise.
66080         * math/test-fenv.c: Likewise.
66081         * math/test-misc.c: Likewise.
66082         * stdlib/bug-getcontext.c: Likewise.
66084 2012-05-17  Andreas Jaeger  <aj@suse.de>
66086         * manual/examples/search.c (critter_cmp): Change signature to
66087         avoid warnings.
66088         * manual/string.texi (Collation Functions): Likewise.
66090 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66092         * bits/types.h: Fold copyright years.
66093         * bits/typesizes.h: Likewise.
66094         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66096         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66098         * time/time.h: Likewise.
66100 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66102         [BZ #208]
66103         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66104         in instead of returning them.  Return void.
66105         (__libc_mallinfo): Accumulate over all arenas.
66106         (__malloc_stats): Adjust for change in int_mallinfo interface.
66108 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66110         [BZ #10375]
66111         * configure.in (NM): Add AC_CHECK_TOOL for it.
66112         (libc_extra_cflags): New substituted variable.
66113         Check for -fstack-protector being used implicitly.
66114         * configure: Regenerated.
66115         * config.make.in (config-extra-cflags): New variable,
66116         gets @libc_extra_cflags@.
66117         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66119         [BZ #10375]
66120         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66121         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66122         * configure: Regenerated.
66123         * config.make.in (CPPUNDEFS): New substituted variable.
66124         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66125         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66126         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66128 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66130         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66131         (mq_attr): Use __syscall_slong_t.
66133 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66135         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66136         Check __x86_64__ instead of __WORDSIZE.
66137         (_STAT_VER_LINUX): Likewise.
66138         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66139         __syscall_ulong_t and __syscall_slong_t.
66140         (stat64): Likewise.
66142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66144         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66148         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66152         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66153         __syscall_ulong_t.
66155         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66156         include <bits/wordsize.h>.  Check __x86_64__ instead of
66157         __WORDSIZE.
66158         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66159         defined.
66160         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66162         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66163         include <bits/wordsize.h>.  Check __x86_64__ instead of
66164         __WORDSIZE.
66165         (user_regs_struct): Use "__extension__ unsigned long long"
66166         instead of "unsigned long" if __x86_64__ is defined.
66167         (user): Likewise.  Pad after pointer field if __ILP32__ is
66168         defined.
66170 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66172         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66173         versions 5 to 9.
66174         * configure: Regenerated.
66175         * manual/install.texi (texinfo): Increase version requirement to
66176         4.5 or later.
66177         * INSTALL: Regenerated.
66179         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66183         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66185         * sysdeps/x86_64/x32/ffs.c: New file.
66187         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66188         __syscall_ulong_t.
66189         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66190         defined.  Use __syscall_ulong_t.
66191         (shminfo): Use __syscall_ulong_t.
66192         (shm_info): Likewise.
66194         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66195         __syscall_ulong_t.
66197         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66198         <bits/wordsize.h>.
66199         (msgqnum_t): Use __syscall_ulong_t.
66200         (msglen_t): Likewise.
66201         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66202         __syscall_ulong_t.
66204         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66207         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66209         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66210         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66212         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66213         __syscall_slong_t.
66215         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66216         include <bits/wordsize.h>.  Check __x86_64__ instead of
66217         __WORDSIZE.
66219         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66220         "unsigned long long int" if __x86_64__ is defined.
66221         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66223         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66224         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66225         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66227         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66228         <stdint.h>.
66229         (GET_PC): Cast to uintptr_t first.
66230         (GET_FRAME): Likewise.
66231         (GET_STACK): Likewise.
66233         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66234         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66235         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66236         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66237         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66238         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66239         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66240         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66241         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66242         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66244         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66245         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66246         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66247         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66248         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66250         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66251         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66252         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66253         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66254         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66255         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66256         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66257         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66258         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66259         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66260         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66263 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66265         * Makerules (+depfiles): Also collect depfiles from .oS in
66266         $(extra-objs).
66267         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66268         .oS, $(libnldbl-routines)).
66270         * Makerules (native-compile-mkdep-flags): Define.
66271         * sunrpc/Makefile (extra-objs): Add $(addprefix
66272         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66273         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66274         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66275         calling $(make-target-directory).
66277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66279         * bits/types.h (__snseconds_t): Removed.
66280         * time/time.h (struct timespec): Replace __snseconds_t with
66281         __syscall_slong_t.
66282         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66283         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66284         Likewise.
66285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66286         (__SNSECONDS_T_TYPE): Likewise.
66287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66288         (__SNSECONDS_T_TYPE): Likewise.
66289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66290         (__SNSECONDS_T_TYPE): Likewise.
66292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66294         * sysdeps/mach/hurd/bits/typesizes.h
66295         (__SYSCALL_SLONG_TYPE): New macro.
66296         (__SYSCALL_ULONG_TYPE): Likewise.
66298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66300         * bits/types.h (__syscall_slong_t): New type.
66301         (__syscall_ulong_t): Likewise.
66303         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66304         (__SYSCALL_ULONG_TYPE): Likewise.
66305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66306         (__SYSCALL_SLONG_TYPE): Likewise.
66307         (__SYSCALL_ULONG_TYPE): Likewise.
66308         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66309         (__SYSCALL_SLONG_TYPE): Likewise.
66310         (__SYSCALL_ULONG_TYPE): Likewise.
66311         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66312         (__SYSCALL_SLONG_TYPE): Likewise.
66313         (__SYSCALL_ULONG_TYPE): Likewise.
66315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66317         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66318         Add sigaltstack-offsets.sym.
66319         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66320         <sigaltstack-offsets.h>.
66321         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66322         longjmp_msg pointer.
66323         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66324         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66325         signal stack.
66326         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66328 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66330         * elf/stackguard-macros.h: Remove file.
66331         * sysdeps/generic/stackguard-macros.h: New file.
66332         * sysdeps/i386/stackguard-macros.h: Likewise.
66333         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66334         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66335         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66336         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66337         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66338         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66339         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66340         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66341         <elf/stackguard-macros.h>.
66343         [BZ #14109]
66344         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66345         __aligned__ in attribute.
66346         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66347         (gregset_t): Likewise.
66349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66351         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66352         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66353         * sysdeps/x86_64/x32/Implies-after: New file.
66355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66357         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66358         and access return value for _dl_profile_fixup.  Use R10_LP to
66359         load frame size.
66361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66363         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66367         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66368         * sysdeps/x86_64/x32/sysdep.h: New file.
66370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66372         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66373         * sysdeps/x86_64/setjmp.S: Likewise.
66375 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66377         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66378         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66379         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66380         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66381         remove unused global constant.
66383 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66385         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66386         include of <not-cancel.h>.
66388 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66390         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66392 2012-05-15  Jeff Law  <law@redhat.com>
66393             Andreas Jaeger  <aj@suse.de>
66395         [BZ #13594]
66396         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66397         out from...
66398         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66399         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66400         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66401         code changing __hst_map_handle.map.
66403 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66405         * configure.in (sysnames): Look for Implies-before and Implies-after
66406         files.
66407         * configure: Regenerated.
66409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66411         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66412         8-byte data alignment with LP_SIZE alignment.
66414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66416         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66417         into R10_LP.
66419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66421         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66425         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66426         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66427         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66428         Likewise.
66429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66433         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66434         (stackinfo_sub_sp): Likewise.
66436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66438         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66439         RAX_LP.
66441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66443         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66444         into R*_LP.
66446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66448         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66449         sizes into R*_LP.
66451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66453         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66457         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66458         into R11_LP and load __x86_64_shared_cache_size_half into
66459         R8_LP.
66461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66464         R8_LP.
66466 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66468         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66469         logb for POWER7.
66470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66471         logbf for POWER7.
66472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66473         logbl for POWER7.
66474         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66475         powerpc32/power7/fpu/s_logb.c via #include.
66476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66477         powerpc32/power7/fpu/s_logbf.c via #include.
66478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66479         powerpc32/power7/fpu/s_logbl.c via #include.
66481 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66483         * README.libm: Remove file.
66485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66487         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66488         count for x32.  Use R*_LP and omit operand-size suffix.
66490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66492         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66493         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66494         * sysdeps/x86_64/x32/shlib-versions: New file.
66496 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66498         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66499         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66500         Use _dl_fatal_printf instead.
66502 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66504         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66505         set if not set by the user.  Do not allow for being unset.
66506         * sysdeps/unix/sysv/linux/configure: Regenerated.
66508 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66510         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66511         the `q' suffix from lea and replace .quad with ASM_ADDR.
66513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66516         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66517         instead of $17.
66518         (PTR_DEMANGLE): Likewise.
66520 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66522         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66523         (LP_OP): Likewise.
66524         (ASM_ADDR): Likewise.
66525         (RAX_LP): Likewise.
66526         (RBP_LP): Likewise.
66527         (RBX_LP): Likewise.
66528         (RCX_LP): Likewise.
66529         (RDI_LP): Likewise.
66530         (RSI_LP): Likewise.
66531         (RSP_LP): Likewise.
66532         (R8_LP): Likewise.
66533         (R9_LP): Likewise.
66534         (R10_LP): Likewise.
66535         (R10_LP): Likewise.
66536         (R11_LP): Likewise.
66537         (R12_LP): Likewise.
66538         (R13_LP): Likewise.
66539         (R14_LP): Likewise.
66540         (R15_LP): Likewise.
66542 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66544         * sysdeps/x86_64/x32/dl-machine.h: New file.
66546 2012-05-14  Andreas Jaeger  <aj@suse.de>
66548         * manual/Makefile (subdir): Remove export of subdir.
66549         (all): Remove target.
66550         (.PHONY): Remove all from list.
66551         (mkinstalldirs): Remove.
66552         (.PHONY): Remove installdirs from list.
66553         ($(inst_infodir)/libc.info): Use make-target-directory.
66554         (installdirs): Remove.
66555         (subdir_%): Remove.
66556         (glibc-targets): Remove.
66557         (lib): Remove.
66558         (stubs): Remove.
66559         ($(objpfx)stubs ../po/manual.pot): Remove.
66560         ($(objpfx)stamp%): Remove.
66561         (make-target-directory): Remove.
66562         (subdir_install): Remove.
66563         (routines): Remove.
66564         (aux): Remove.
66565         (sources): Remove.
66566         (objects): Remove.
66567         (headers): Remove.
66569         [BZ #13750]
66570         * manual/.gitignore: Remove, it's not needed anymore.
66571         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66572         all files in it.
66573         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66574         directory.
66575         (texis): Renamed to $(objpfx)texis.
66576         (texis-path): New, contains path to generated files.
66577         (chapters.%): Use texis-path for complete path, add extra argument
66578         libc-texinfo.sh.
66579         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66580         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66581         (summary,texi, stamp-summary): Use complete path of
66582         files. Generate files in build dir.
66583         (dir-add.texi): Build in build dir.
66584         (libm-err.texi,stamp-libm-err): Likewise.
66585         (version.texi, stamp-version): Likewise.
66586         (.%c.texi): Likewise.
66587         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66588         (mostlyclean): Remove target.
66589         (realclean): Remove target.
66590         (generated): Add new variable with contents from mostlyclean and
66591         realclean, remove entries duplicated in common-mostlyclean, add
66592         stamp-libm-err and stamp-version.
66593         (generated-dirs): Add libc directory.
66594         ($(inst_infodir)/libc.info): Install files from build dir.
66596         * manual/install.texi (Configuring and compiling): Adjust since
66597         the info files are not part of the tar ball anymore.
66599 2012-05-14  Andreas Jaeger  <aj@suse.de>
66601         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66602         variable.
66604 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66606         [BZ #13717]
66607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66608         to 2.2.0 where earlier.
66609         * sysdeps/unix/sysv/linux/configure: Regenerated.
66610         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66611         Remove conditional code.
66612         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66613         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66614         Remove conditional code.
66615         [!__NR_lchown]: Likewise.
66616         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66617         [__NR_lchown]: Likewise.
66618         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66619         comment referencing __ASSUME_LCHOWN_SYSCALL.
66620         * sysdeps/unix/sysv/linux/i386/sigaction.c
66621         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66622         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66623         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66624         Remove conditional code.
66625         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66626         (__protocol_available): Remove #if 0 code.
66627         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66628         conditional code.
66629         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66630         * sysdeps/unix/sysv/linux/kernel-features.h
66631         (__ASSUME_GETCWD_SYSCALL): Don't define.
66632         (__ASSUME_REALTIME_SIGNALS): Likewise.
66633         (__ASSUME_PREAD_SYSCALL): Likewise.
66634         (__ASSUME_PWRITE_SYSCALL): Likewise.
66635         (__ASSUME_POLL_SYSCALL): Likewise.
66636         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66637         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66638         non-SPARC.
66639         (__ASSUME_SIOCGIFNAME): Don't define.
66640         (__ASSUME_MSG_NOSIGNAL): Likewise.
66641         (__ASSUME_SENDFILE): Define unconditionally.
66642         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66643         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66644         conditional code.
66645         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66646         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66647         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66648         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66649         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66650         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66651         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66653         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66654         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66656         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66659         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66660         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66662         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66665         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66666         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66668         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66669         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66671         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66672         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66674         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66676         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66677         Remove conditional code.
66678         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66679         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66680         Remove conditional code.
66681         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66682         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66683         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66684         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66685         Remove conditional code.
66686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66687         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66688         Remove conditional code.
66689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66690         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66691         Remove conditional code.
66692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66693         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66694         Remove conditional code.
66695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66696         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66697         Remove conditional code.
66698         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66699         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66700         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66701         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66702         * sysdeps/unix/sysv/linux/sigaction.c
66703         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66704         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66705         * sysdeps/unix/sysv/linux/sigpending.c
66706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66708         * sysdeps/unix/sysv/linux/sigprocmask.c
66709         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66710         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66711         * sysdeps/unix/sysv/linux/sigsuspend.c
66712         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66713         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66714         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66715         (__libc_missing_rt_sigs): Remove.
66716         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66717         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66718         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66719         Remove conditional code.
66720         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66721         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66722         return 1.
66723         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66724         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66725         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66726         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66728 2012-05-14  Andreas Jaeger  <aj@suse.de>
66730         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66731         it's not used in glibc.
66732         (__coshm1): Likewise.
66733         (__acosh1p): Likewise.
66734         (__sgn): Likewise.
66736         * manual/string.texi (Copying and Concatenation): Add missing
66737         variable in concat example.
66738         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66742         [BZ #14103]
66743         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66744         __builtin_clzl with __builtin_clzll.
66746 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66748         [BZ #14104]
66749         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66750         libc_freeres_ptr.
66752 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66754         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66755         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66756         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66757         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66759 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66761         * NEWS: Update ia64 info.
66763 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66765         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66766         used as bcopy.
66768 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66770         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66771         * sysdeps/unix/syscalls.list (dup3): Likewise.
66772         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66773         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66775 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66777         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66778         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66780 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66782         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66783         thread pointer.
66784         (TLS_IE): Use mov/add instead of movq/addq to load thread
66785         pointer.
66786         (TLS_GD_PREFIX): New.
66787         (TLS_GD): Use it.
66789 2012-05-11  David S. Miller  <davem@davemloft.net>
66791         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66792         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66793         (_FPU_SETCW): Likewise.
66795 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66797         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66798         is 32-byte aligned.
66800 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66802         [BZ #11837]
66803         * iconvdata/gb18030.c: Update tables.
66804         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66805         characters specially.
66806         (BODY for TO_LOOP): Add encoding of missing ranges.
66808 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66810         [BZ #13673]
66811         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66812         * sysdeps/mach/hurd/dup3.c: Likewise.
66813         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66814         * sysdeps/powerpc/memmove.c:: Likewise.
66816 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66819         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66821 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66823         * elf/elf.h (R_X86_64_RELATIVE64): New.
66824         (R_X86_64_NUM): Updated.
66825         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66826         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66827         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66828         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66829         tst-quad1pie tst-quad2pie
66830         (modules-names): Add tst-quadmod1 tst-quadmod2.
66831         ($(objpfx)tst-quad1): New dependency.
66832         ($(objpfx)tst-quad2): Likewise.
66833         ($(objpfx)tst-quad1pie): Likewise.
66834         ($(objpfx)tst-quad2pie): Likewise.
66835         * sysdeps/x86_64/tst-quad1.c: New file.
66836         * sysdeps/x86_64/tst-quad1pie.c: New file.
66837         * sysdeps/x86_64/tst-quad2.c: Likewise.
66838         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66839         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66840         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66841         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66842         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66846         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66847         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66848         * streams/stropts.h (t_scalar_t): Define type.
66850         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66851         (_PATH_PRESERVE): Set to "/var/lib".
66852         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66854         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66855         instead of int.
66857         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66858         if __dir_mkfile succeeded.
66860         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66861         checking for _hurd_dtablesize.  Unlock it right after having
66862         finished _hurd_dtable allocation.
66864 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66866         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66867         * sysdeps/mach/hurd/configure: Regenerated.
66868         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66869         special-casing to...
66870         * sysdeps/gnu/configure.in: ... this new file.
66871         * sysdeps/unix/sysv/linux/configure: Regenerated.
66872         * sysdeps/gnu/configure: New generated file.
66874         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66875         for Linux: use nsec instead of usec, as well as:
66876         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66877         members of type struct timespec.
66878         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66879         New macros.
66880         (struct stat64): Likewise.
66881         (_STATBUF_ST_NSEC): New macro.
66882         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66884         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66885         __strtoul_internal rather than strtoul.
66887 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66889         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66890         and reject them.
66892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66894         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66895         which preserves existing values.
66896         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66898 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66900         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66901         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66902         greater than FD_SETSIZE.
66904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66906         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66907         allocated, call __vm_protect to finish enabling the existing space, and
66908         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66909         allocate the remainder.
66911 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66913         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66914         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66918         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66919         sysdeps/mach/hurd/readlink.c.
66921         * posix/tst-sysconf.c (posix_options): Only use
66922         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66923         _POSIX_SYNCHRONIZED_IO when they are defined
66924         * sysdeps/mach/hurd/bits/posix_opt.h:
66925         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66926         (_XOPEN_REALTIME): Undefine macro.
66927         (_XOPEN_REALTIME_THREADS): Undefine macro.
66928         (_XOPEN_SHM): Undefine macro.
66929         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66930         macro to -1.
66931         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66932         macro to -1.
66933         (_POSIX_ASYNC_IO): Undefine macro.
66934         (_POSIX_PRIORITIZED_IO): Undefine macro.
66935         (_POSIX_SPIN_LOCKS): Define macro to -1.
66937         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66938         SA_NODEFER, SA_RESETHAND.
66939         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66940         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66941         F_DUPFD_CLOEXEC.
66943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66945         * elf/Makefile (pldd-modules): Define unconditionally.
66947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66949         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66953         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66954         Return ENOENT when name is empty.
66955         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66959         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66961         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66965         Fix mlock in all cases except non-readable pages.
66966         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66967         instead of VM_PROT_ALL as parameter to __vm_wire function.
66969         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66970         (__mkdir): When path is `/', just fail with EEXIST.
66971         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66973 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66975         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66976         <sys/uio.h> (for writev).
66977         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66978         and <sys/param.h> (for MIN).
66980 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66982         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66983         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66984         if interrupted.
66986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66988         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66989         Depend on against $(link-rpcuserlibs).
66991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66993         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66994         (__libc_stack_end): Do not use attribute_relro.
66995         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66996         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66997         to libthread-provided value.
66998         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66999         attribute_relro.
67001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67003         [BZ #3748]
67004         * bits/libc-lock.h (__libc_once_get): New macro.
67005         * sysdeps/mach/bits/libc-lock.h: Likewise.
67006         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67008         instead of using implementation details.
67010         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67011         * libio/freopen.c: Likewise.
67012         * libio/freopen64.c: Likewise.
67013         * misc/syslog.c: Likewise.
67014         * nscd/connections.c: Likewise.
67015         * nscd/netgroupcache.c: Likewise.
67016         * sysdeps/posix/getcwd.c: Likewise.
67018 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67020         * math/w_ilogbf.c: Add #include <limits.h>.
67022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67024         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67025         path instead of returning without unlocking.
67027         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67028         immediate-write ioctls.
67029         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67033         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67034         __builtin_frame_address instead of making assumptions about the
67035         location of the return address relative to DATA.  Force early load of
67036         the return address.
67037         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67038         __builtin_frame_address.
67040         dup3 for GNU Hurd.
67041         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67042         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67043         implement dup3 and do some further code clean-ups.
67044         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67045         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67049         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67051         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67052         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67053         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67054         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67055         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67056         d->port.lock.
67058         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67059         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67060         when handler == SIG_ERR, not when handler != SIG_ERR.
67062 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67064         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67065         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67066         definitions.
67068         accept4 for GNU Hurd.
67069         * include/sys/socket.h (__libc_accept4): New prototype.
67070         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67071         to implement __libc_accept4.
67072         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67073         __libc_accept4.
67074         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67076         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67077         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67078         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67079         signal-defines.sym.
67081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67083         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67087         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67088         assertion on O_CLOEXEC flag.
67089         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67090         * hurd/intern-fd.c: Likewise.
67091         * hurd/port2fd.c: Likewise.
67093 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67095         [BZ #3906]
67096         * bits/in.h (IPV6_PKTINFO): Define new macro.
67097         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67099 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67101         [BZ #13954]
67102         [BZ #13955]
67103         [BZ #13956]
67104         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67106         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67107         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67109         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67110         * math/libm-test.inc (logb_test) : Additional logb tests.
67112 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67113             Andreas Jaeger  <aj@suse.de>
67115         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67116         * configure: Regenerated.
67117         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67118         * config.make.in (link-obsolete-rpc): New substituted variable.
67119         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67120         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67121         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67122         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67123         so that libc.a contains the symbols.
67124         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67125         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67126         * sunrpc/auth_none.c: Likewise.
67127         * sunrpc/auth_unix.c: Likewise.
67128         * sunrpc/authdes_prot.c: Likewise.
67129         * sunrpc/authuxprot.c: Likewise.
67130         * sunrpc/clnt_gen.c: Likewise.
67131         * sunrpc/clnt_perr.c: Likewise.
67132         * sunrpc/clnt_raw.c: Likewise.
67133         * sunrpc/clnt_simp.c: Likewise.
67134         * sunrpc/clnt_tcp.c: Likewise.
67135         * sunrpc/clnt_udp.c: Likewise.
67136         * sunrpc/clnt_unix.c: Likewise.
67137         * sunrpc/des_crypt.c: Likewise.
67138         * sunrpc/des_soft.c: Likewise.
67139         * sunrpc/get_myaddr.c: Likewise.
67140         * sunrpc/key_call.c: Likewise.
67141         * sunrpc/key_prot.c: Likewise.
67142         * sunrpc/netname.c: Likewise.
67143         * sunrpc/pm_getmaps.c: Likewise.
67144         * sunrpc/pm_getport.c: Likewise.
67145         * sunrpc/pmap_clnt.c: Likewise.
67146         * sunrpc/pmap_prot.c: Likewise.
67147         * sunrpc/pmap_prot2.c: Likewise.
67148         * sunrpc/pmap_rmt.c: Likewise.
67149         * sunrpc/publickey.c: Likewise.
67150         * sunrpc/rpc_cmsg.c: Likewise.
67151         * sunrpc/rpc_common.c: Likewise.
67152         * sunrpc/rpc_dtable.c: Likewise.
67153         * sunrpc/rpc_prot.c: Likewise.
67154         * sunrpc/rpc_thread.c: Likewise.
67155         * sunrpc/rtime.c: Likewise.
67156         * sunrpc/svc.c: Likewise.
67157         * sunrpc/svc_auth.c: Likewise.
67158         * sunrpc/svc_raw.c: Likewise.
67159         * sunrpc/svc_run.c: Likewise.
67160         * sunrpc/svc_tcp.c: Likewise.
67161         * sunrpc/svc_udp.c: Likewise.
67162         * sunrpc/svc_unix.c: Likewise.
67163         * sunrpc/svcauth_des.c: Likewise.
67164         * sunrpc/xcrypt.c: Likewise.
67165         * sunrpc/xdr.c: Likewise.
67166         * sunrpc/xdr_array.c: Likewise.
67167         * sunrpc/xdr_float.c: Likewise.
67168         * sunrpc/xdr_intXX_t.c: Likewise.
67169         * sunrpc/xdr_mem.c: Likewise.
67170         * sunrpc/xdr_rec.c: Likewise.
67171         * sunrpc/xdr_ref.c: Likewise.
67172         * sunrpc/xdr_sizeof.c: Likewise.
67173         * sunrpc/xdr_stdio.c: Likewise.
67175 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67178         change.  Update copyright years.
67180 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67182         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67184 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67185             Joseph Myers  <joseph@codesourcery.com>
67186             Paul Pluzhnikov  <ppluzhnikov@google.com>
67188         [BZ #14012]
67189         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67190         requiring rpcgen.
67191         [cross-compiling] (extra-libs): Likewise.
67192         [cross-compiling] (extra-libs-others): Likewise.
67193         [cross-compiling] (librpcsvc-routines): Likewise.
67194         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67195         [cross-compiling] (omit-deps): Likewise.
67196         (sunrpc-CPPFLAGS): New variable.
67197         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67198         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67199         (cross-rpcgen-objs): New variable.
67200         (extra-objs): Append $(cross-rpcgen-objs).
67201         ($(cross-rpcgen-objs)): New rule.
67202         ($(objpfx)cross-rpcgen): Likewise.
67203         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67204         comment.
67205         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67206         ($(objpfx)x%.stmp): Likewise.
67207         * sunrpc/proto.h [IS_IN_build] (_): Define.
67208         [IS_IN_build] (_libc_intl_domainname): Likewise.
67210 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67213         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67214         and R_X86_64_TPOFF64.
67216 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67218         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67219         sysdeps/unix/sysv/syscalls.list.
67220         (stime): Likewise.
67221         (utime): Likewise.
67222         * sysdeps/unix/sysv/syscalls.list: Remove file.
67224 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67226         [BZ #3440]
67227         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67228         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67229         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67230         (__LC_IDENTIFICATION): Make these macros useful in #if
67231         expressions, as required by C99.
67233 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67235         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67236         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67237         after this.
67239 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67241         * stdlib/longlong.h: Updated from GCC.
67243 2012-05-09  Andreas Jaeger  <aj@suse.de>
67245         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67246         default is first entry.
67247         (run_mode): Set type.
67248         (main): Remove informal message about syslog.
67249         (options): Fix typo.
67251         [BZ #14053]
67252         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67253         to asm.
67254         (lrint): Likewise.
67255         (llrintf): Likewise.
67256         (llrint): Likewise.
67257         (rint): Likewise.
67258         (rintf): Likewise.
67259         (nearbyint): Likewise.
67260         (nearbyintf): Likewise.
67262 2012-05-09  Andreas Jaeger  <aj@suse.de>
67263             Pedro Alves  <palves@redhat.com>
67265         * nscd/nscd.c (run_mode): Use enum.
67266         (main): Cleanup coding style issue.
67268 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67269             Andreas Jaeger  <aj@suse.de>
67271         * nscd/nscd.c (go_background): Replaced with...
67272         (run_mode): ... this.
67273         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67274         (options): Add -F --foreground.
67275         (main): Implement it.
67276         (parse_opt): Parse it.
67278 2012-05-09  Andreas Jaeger  <aj@suse.de>
67280         [BZ #14083]
67281         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67282         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67283         -Wconversion warning.
67284         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67285         Likewise.
67287 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67289         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67290         == 0.
67291         (LC_ALL): Use macro-int-constant.
67292         (LC_COLLATE): Likewise.
67293         (LC_CTYPE): Likewise.
67294         (LC_MESSAGES): Likewise.
67295         (LC_MONETARY): Likewise.
67296         (LC_NUMERIC): Likewise.
67297         (LC_TIME): Likewise.
67298         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67299         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67301         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67302         Specify type.
67303         [C99-based standards] (float_t): Expect type.
67304         [C99-based standards] (double_t): Expect type.
67305         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67306         type.
67307         [C99-based standards] (HUGE_VALL): Likewise.
67308         [C99-based standards] (INFINITY): Likewise.
67309         [C99-based standards] (NAN): Likewise.
67310         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67311         [C99-based standards] (FP_NAN): Likewise.
67312         [C99-based standards] (FP_NORMAL): Likewise.
67313         [C99-based standards] (FP_SUBNORMAL): Likewise.
67314         [C99-based standards] (FP_ZERO): Likewise.
67315         [C99-based standards] (FP_FAST_FMA): Use
67316         optional-macro-int-constant.  Specify type.  Require == 1.
67317         [C99-based standards] (FP_FAST_FMAF): Likewise.
67318         [C99-based standards] (FP_FAST_FMAL): Likewise.
67319         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67320         [C99-based standards] (FP_ILOGBNAN): Likewise.
67321         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67322         Specify type.
67323         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67324         [C99-based standards] (math_errhandling): Specify type.
67325         [ISO99 || ISO11] (signgam): Do not allow.
67326         [non-C99-based standards] (copysignf): Do not allow.
67327         [non-C99-based standards] (exp2f): Likewise.
67328         [non-C99-based standards] (log2f): Likewise.
67329         [non-C99-based standards] (modff): Allow.
67330         [non-C99-based standards] (erff): Do not allow.
67331         [non-C99-based standards] (erfcf): Likewise.
67332         [non-C99-based standards] (gammaf): Likewise.
67333         [non-C99-based standards] (hypotf): Likewise.
67334         [non-C99-based standards] (j0f): Likewise.
67335         [non-C99-based standards] (j1f): Likewise.
67336         [non-C99-based standards] (jnf): Likewise.
67337         [non-C99-based standards] (lgammaf): Likewise.
67338         [non-C99-based standards] (tgammaf): Likewise.
67339         [non-C99-based standards] (y0f): Likewise.
67340         [non-C99-based standards] (y1f): Likewise.
67341         [non-C99-based standards] (ynf): Likewise.
67342         [non-C99-based standards] (isnanf): Likewise.
67343         [non-C99-based standards] (acoshf): Likewise.
67344         [non-C99-based standards] (asinhf): Likewise.
67345         [non-C99-based standards] (atanhf): Likewise.
67346         [non-C99-based standards] (cbrtf): Likewise.
67347         [non-C99-based standards] (expm1f): Likewise.
67348         [non-C99-based standards] (ilogbf): Likewise.
67349         [non-C99-based standards] (log1pf): Likewise.
67350         [non-C99-based standards] (logbf): Likewise.
67351         [non-C99-based standards] (nextafterf): Likewise.
67352         [non-C99-based standards] (remainderf): Likewise.
67353         [non-C99-based standards] (rintf): Likewise.
67354         [non-C99-based standards] (scalbf): Likewise.
67355         [non-C99-based standards] (copysignl): Likewise.
67356         [non-C99-based standards] (exp2l): Likewise.
67357         [non-C99-based standards] (log2l): Likewise.
67358         [non-C99-based standards] (modfl): Allow.
67359         [non-C99-based standards] (erfl): Do not allow.
67360         [non-C99-based standards] (erfcl): Likewise.
67361         [non-C99-based standards] (gammal): Likewise.
67362         [non-C99-based standards] (hypotl): Likewise.
67363         [non-C99-based standards] (j0l): Likewise.
67364         [non-C99-based standards] (j1l): Likewise.
67365         [non-C99-based standards] (jnl): Likewise.
67366         [non-C99-based standards] (lgammal): Likewise.
67367         [non-C99-based standards] (tgammal): Likewise.
67368         [non-C99-based standards] (y0l): Likewise.
67369         [non-C99-based standards] (y1l): Likewise.
67370         [non-C99-based standards] (ynl): Likewise.
67371         [non-C99-based standards] (isnanl): Likewise.
67372         [non-C99-based standards] (acoshl): Likewise.
67373         [non-C99-based standards] (asinhl): Likewise.
67374         [non-C99-based standards] (atanhl): Likewise.
67375         [non-C99-based standards] (cbrtl): Likewise.
67376         [non-C99-based standards] (expm1l): Likewise.
67377         [non-C99-based standards] (ilogbl): Likewise.
67378         [non-C99-based standards] (log1pl): Likewise.
67379         [non-C99-based standards] (logbl): Likewise.
67380         [non-C99-based standards] (nextafterl): Likewise.
67381         [non-C99-based standards] (remainderl): Likewise.
67382         [non-C99-based standards] (rintl): Likewise.
67383         [non-C99-based standards] (scalbl): Likewise.
67384         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67385         [non-C99-based standards] (FP_*): Do not allow.
67386         [C99-based standards] (FP_*): Change to
67387         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67388         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67389         allow.
67390         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67391         (SIG_ERR): Likewise.
67392         [X/Open-based standards] (SIG_HOLD): Likewise.
67393         (SIG_IGN): Likewise.
67394         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67395         positive value.
67396         (SIGFPE): Likewise.
67397         (SIGILL): Likewise.
67398         (SIGINT): Likewise.
67399         (SIGSEGV): Likewise.
67400         (SIGTER): Likewise.
67401         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67402         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67403         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67404         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67405         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67406         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67407         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67408         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67409         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67412         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67417         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67418         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67419         [X/Open-based standards] (SIGTRAP): Likewise.
67420         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67421         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67422         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67423         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67424         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67425         allow.
67427 2012-05-08  Ian Wienand  <ianw@vmware.com>
67429         [BZ #14080]
67430         * time/tzset.c (__tzset_parse_tz): Update default rules for
67431         daylight time changes in the Energy Policy Act of 2005.
67433 2012-05-09  Andreas Jaeger  <aj@suse.de>
67435         [BZ #13983]
67436         * elf/ldconfig.c (parse_conf): Change string to make clear that
67437         ldconfig only issued a warning if ld.so.conf does not exist.
67439 2012-05-08  David S. Miller  <davem@davemloft.net>
67441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67442         movxtod instead of popping the value on the stack.
67444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67446 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67448         * config.h.in: Add HAVE_ARM_PCS_VFP.
67450 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67452         [BZ #13979]
67453         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67454         checking but the checks are disabled for any reason.
67456 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67458         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67459         and ELF64_R_TYPE with ELFW(R_TYPE).
67461 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67463         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67464         (ulimit): Likewise.
67466         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67467         (settimeofday): Likewise.
67469 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67471         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67472         a struct th_u2 inside the union, and move tu_block/tu_code into
67473         a new th_u3 union of tu_block/tu_code inside of that.  Move
67474         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67475         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67476         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67477         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67478         (th_stuff): Change to th_u1.tu_stuff.
67479         (th_data): Define.
67480         (th_msg): Change to th_u1.th_u2.tu_data.
67482 2012-05-07  David S. Miller  <davem@davemloft.net>
67484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67486         [BZ #14074]
67487         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67488         (SETUP_PIC_REG): Use it.
67489         (SETUP_PIC_REG_LEAF): Use it.
67491 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67493         [BZ #13885]
67494         [BZ #13923]
67495         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67496         USE_AS_EXPM1L.
67497         (EXPL_FINITE): Likewise.
67498         (FLDLOG): Likewise.
67499         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67500         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67501         e_expl.S.
67502         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67503         USE_AS_EXPM1L.
67504         (EXPL_FINITE): Likewise.
67505         (FLDLOG): Likewise.
67506         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67507         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67508         e_expl.S.
67509         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67510         test of -max_value argument for long double.
67511         * sysdeps/i386/fpu/libm-test-ulps: Update.
67512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67514 2012-05-06  David S. Miller  <davem@davemloft.net>
67516         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67517         quad soft-float symbols whose references which are compiler
67518         generated.
67519         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67521 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67523         [BZ #13884]
67524         [BZ #13914]
67525         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67526         USE_AS_EXP10L.
67527         (EXPL_FINITE): Likewise.
67528         (FLDLOG): Likewise.
67529         (c0): Likewise.
67530         (c1): Likewise.
67531         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67532         Adjust comments for base varying.
67533         (__expl_finite): Change alias to EXPL_FINITE.
67534         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67535         e_expl.S.
67536         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67537         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67538         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67539         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67540         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67541         USE_AS_EXP10L.
67542         (EXPL_FINITE): Likewise.
67543         (FLDLOG): Likewise.
67544         (c0): Likewise.
67545         (c1): Likewise.
67546         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67547         Adjust comments for base varying.
67548         (__expl_finite): Change alias to EXPL_FINITE.
67549         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67550         tests for bugs.
67551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67553         [BZ #14064]
67554         * math/libm-test.inc (check_float_internal): Correct ulp
67555         calculation for subnormal expected results.
67557 2012-05-06  Andreas Jaeger  <aj@suse.de>
67559         * Makeconfig (+math-flags): New, set to -frounding-math.
67560         (+cflags): Add +math-flags so that all of glibc gets compiled with
67561         it.
67563         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67565 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67567         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67568         Disable one test.
67570         [BZ #13787]
67571         [BZ #13922]
67572         [BZ #14036]
67573         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67574         (__ieee754_expl): Allow for and saturate large arguments.
67575         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67576         (u_threshold): Likewise.
67577         (__exp): Call __ieee754_exp before checking for overflow and
67578         underflow.
67579         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67580         (u_threshold): Likewise.
67581         (__expf): Call __ieee754_expf before checking for overflow and
67582         underflow.
67583         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67584         (u_threshold): Likewise.
67585         (__expl): Call __ieee754_expl before checking for overflow and
67586         underflow.
67587         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67588         (__ieee754_expl): Allow for and saturate large arguments.
67589         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67590         missing overflow exception on overflow.
67591         (expm1_test): Do not allow missing overflow exception on overflow.
67593         * sysdeps/i386/fpu/e_expl.c: Move to ...
67594         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67595         rather than using inline asm.
67596         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67597         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67598         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67600         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67601         (nice): Likewise.
67602         (poll): Likewise.
67603         (signal): Likewise.
67604         (time): Likewise.
67605         (times): Likewise.
67607 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67609         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67610         sysdeps/unix/common/syscalls.list.
67611         (fchmod): Likewise.
67612         (fchown): Likewise.
67613         (ftruncate): Likewise.
67614         (getrusage): Likewise.
67615         (gettimeofday): Likewise.
67616         (setpgid): Likewise.
67617         (setregid): Likewise.
67618         (setreuid): Likewise.
67619         (sigaction): Likewise.
67620         (truncate): Likewise.
67621         (vhangup): Likewise.
67622         * sysdeps/unix/common/syscalls.list: Remove file.
67623         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67624         * sysdeps/unix/sysv/linux/Implies: Likewise.
67626 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67628         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67630         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67631         Moved to ...
67632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67633         Here.
67634         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67635         to ...
67636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67637         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67638         to ...
67639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67640         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67641         to ...
67642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67643         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67644         to ...
67645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67646         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67647         to ...
67648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67649         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67650         to ...
67651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67652         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67653         to ...
67654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67655         Here.
67656         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67657         to ...
67658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67659         Here.
67660         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67661         to ...
67662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67663         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67664         Moved to ...
67665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67666         Here.
67667         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67668         to ...
67669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67671 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67673         * sysdeps/unix/common/bits/dirent.h: Remove file.
67674         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67676         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67677         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67678         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67679         * sysdeps/unix/bsd/isatty.c: Likewise.
67680         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67681         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67682         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67684 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67686         [BZ #13563]
67687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67688         long double comparison inaccuracies.
67689         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67692 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67694         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67695         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67697 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67699         [BZ #14049]
67700         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67701         nonzero digits before rounding a hex value.
67702         * stdlib/tst-strtod.c (tests): Add another test.
67704 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67706         * sysdeps/s390/fpu/libm-test-ulps: Update.
67708 2012-05-03  Andreas Jaeger  <aj@suse.de>
67710         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67711         does not get optimized out.
67712         (malloc_opt_barrier): New.
67714 2012-05-03  Andreas Jaeger  <aj@suse.de>
67715             Roland McGrath  <roland@hack.frob.com>
67717         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67718         intermediate file deletion.
67719         (generated): Add .symlist files.
67721 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67723         [BZ #13775]
67724         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67725         Redirect under this condition.
67726         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67727         [__USE_GNU] (__dprintf_chk): Not under this condition.
67728         [__USE_GNU] (__vdprintf_chk): Likewise.
67729         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67730         under this condition.
67731         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67732         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67733         [__USE_XOPEN2K8] (vdprintf): Likewise.
67734         [__USE_GNU] (__dprintf_chk): Not under this condition.
67735         [__USE_GNU] (__vdprintf_chk): Likewise.
67736         [__USE_GNU] (dprintf): Likewise.
67737         [__USE_GNU] (vdprintf): Likewise.
67739 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67741         * elf/Makefile (common-generated): Set this instead of generated for
67742         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67743         $(all-built-dso)-derived lists.
67745 2012-05-03  Andreas Jaeger  <aj@suse.de>
67747         * sysdeps/i386/fpu/libm-test-ulps: Update.
67749         * FAQ: Removed.
67750         * FAQ.in: Likewise.
67751         * scripts/gen-FAQ.pl: Likewise.
67752         * manual/install.texi (Installation): Point to online location of
67753         FAQ.
67754         * Makefile (files-for-dist): Remove FAQ.
67755         (FAQ): Remove.
67757 2012-05-02  Allan McRae  <allan@archlinux.org>
67759         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67760         (LDFLAGS-reldepmod5.so): Likewise.
67761         (LDFLAGS-reldep6mod1.so): Likewise.
67762         (LDFLAGS-reldep6mod4.so): Likewise.
67763         (LDFLAGS-reldep8mod3.so): Likewise.
67764         (LDFLAGS-unload4mod1.so): Likewise.
67765         (LDFLAGS-unload4mod2.so): Likewise.
67766         (LDFLAGS-tst-initorder): Likewise.
67767         (LDFLAGS-tst-initordera2.so): Likewise.
67768         (LDFLAGS-tst-initordera3.so): Likewise.
67769         (LDFLAGS-tst-initordera4.so): Likewise.
67770         (LDFLAGS-tst-initorderb2.so): Likewise.
67771         (LDFLAGS-noload): Likewise.
67772         (LDFLAGS-next): Likewise.
67773         (LDFLAGS-order2mod1.so): Likewise.
67774         (LDFLAGS-order2mod2.so): Likewise.
67775         (LDFLAGS-tst-initorder2): Likewise.
67776         (LDFLAGS-tst-initorder2a.so): Likewise.
67777         (LDFLAGS-tst-initorder2b.so): Likewise.
67778         (LDFLAGS-tst-initorder2c.so): Likewise.
67779         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67781 2012-05-02  David S. Miller  <davem@davemloft.net>
67783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67785 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67787         [BZ #14055]
67788         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67790 2012-05-02  Andreas Jaeger  <aj@suse.de>
67792         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67793         since we manipulate rounding mode.
67794         (CPPFLAGS-test-idouble.c): Likewise.
67795         (CPPFLAGS-test-ifloat.c): Likewise.
67796         (CFLAGS-test-ldouble.c): Likewise.
67797         (CFLAGS-test-double.c): Likewise.
67798         (CFLAGS-test-float.c): Likewise.
67799         (CFLAGS-test-misc.c): Likewise.
67800         (CFLAGS-test-test-fenv.c): Likewise.
67802 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67804         [BZ #2550]
67805         [BZ #2570]
67806         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67807         comparisons to determine direction to adjust input.
67809 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67811         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67812         output to the target.
67814         * scripts/localplt.awk: New file.
67815         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67816         (check-localplt-CFLAGS): Variable removed.
67817         ($(all-built-dso:=.jmprel)): New static pattern rule.
67818         (generated): Add those targets.
67819         (localplt-built-dso): New variable.
67820         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67822         * elf/check-localplt.c: File removed.
67824         * scripts/check-execstack.awk: New file.
67825         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67826         (check-execstack-CFLAGS): Variable removed.
67827         ($(objpfx)check-execstack.h): Target removed.
67828         ($(objpfx)execstack-default): New target.
67829         (generated): Add that instead of check-execstack.h.
67830         ($(all-built-dso:=.phdr)): New static pattern rule.
67831         (generated): Add those targets.
67832         * elf/check-execstack.c: File removed.
67834         * scripts/check-textrel.awk: New file.
67835         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67836         (check-textrel-CFLAGS): Variable removed.
67837         (all-built-dso): Use := to define.o
67838         ($(all-built-dso:=.dyn)): New static pattern rule.
67839         (generated): Add those targets.
67840         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67841         * config.make.in (READELF): New substituted variable.
67842         * elf/check-textrel.c: File removed.
67844 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67846         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67847         allow.
67848         * conform/data/ctype.h-data [C99-based standards] (isblank):
67849         Expect function.
67850         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67851         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67853         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67854         Specify type.  Require positive value.
67855         (EILSEQ): Likewise.
67856         (ERANGE): Likewise.
67857         [ISO || POSIX] (EILSEQ): Do not expect.
67858         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67859         Specify type.  Require positive value.
67860         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67861         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67862         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67863         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67864         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67865         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67866         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67867         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67868         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67869         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67870         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67871         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67872         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67873         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67874         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67875         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67876         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67877         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67878         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67879         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67880         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67881         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67882         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67883         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67884         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67885         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67886         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67887         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67888         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67889         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67890         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67891         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67892         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67893         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67894         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67895         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67896         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67897         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67898         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67899         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67900         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67901         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67902         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67903         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67904         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67905         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67906         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67907         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67908         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67909         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67910         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67911         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67912         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67913         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67914         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67915         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67916         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67917         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67918         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67919         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67920         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67921         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67922         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67923         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67924         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67925         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67926         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67927         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67928         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67929         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67930         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67931         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67932         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67933         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67934         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67935         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67936         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67937         Require >= 2.
67938         (FLT_ROUNDS): Expect as macro, not constant.
67939         (FLT_MANT_DIG): Use macro-int-constant.
67940         (DBL_MANT_DIG): Likewise.
67941         (LDBL_MANT_DIG): Likewise.
67942         (FLT_DIG): Likewise.
67943         (DBL_DIG): Likewise.
67944         (LDBL_DIG): Likewise.
67945         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67946         (DBL_MIN_EXP): Likewise.
67947         (LDBL_MIN_EXP): Likewise.
67948         (FLT_MAX_EXP): Use macro-int-constant.
67949         (DBL_MAX_EXP): Likewise.
67950         (LDBL_MAX_EXP): Likewise.
67951         (FLT_MAX_10_EXP): Likewise.
67952         (DBL_MAX_10_EXP): Likewise.
67953         (LDBL_MAX_10_EXP): Likewise.
67954         (FLT_MAX): Use macro-constant.
67955         (DBL_MAX): Likewise.
67956         (LDBL_MAX): Likewise.
67957         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67958         (DBL_EPSILON): Likewise.
67959         (LDBL_EPSILON): Likewise.
67960         (FLT_MIN): Likewise.
67961         (DBL_MIN): Likewise.
67962         (LDBL_MIN): Likewise.
67963         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67964         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67965         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67966         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67967         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67968         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67969         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67970         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67971         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67972         [ISO11] (FLT_TRUE_MIN): Likewise.
67973         [ISO11] (LDBL_TRUE_MIN): Likewise.
67974         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67975         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67976         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67977         (SCHAR_MAX): Likewise.
67978         (UCHAR_MAX): Likewise.
67979         (CHAR_MIN): Likewise.
67980         (CHAR_MAX): Likewise.
67981         (MB_LEN_MAX): Use macro-int-constant.
67982         (SHRT_MIN): Use macro-int-constant.  Specify type.
67983         (SHRT_MAX): Likewise.
67984         (USHRT_MAX): Likewise.
67985         (INT_MAX): Likewise.
67986         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67987         bound negative.
67988         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67989         bound with "U".
67990         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67991         bound with "L".
67992         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67993         bound negative.  Suffix upper bound with "L".
67994         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67995         bound with "UL".
67996         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67997         Specify type.
67998         [C99-based standards] (LLONG_MAX): Likewise.
67999         [C99-based standards] (ULLONG_MAX): Likewise.
68000         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68001         == 0.
68002         [ISO11] (max_align_t): Require type.
68003         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68005         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68006         from $CFLAGS, without defining away __attribute__ calls.
68007         (checknamespace): Use $CFLAGS_namespace.
68009         * conform/conformtest.pl (@keywords): Only include C99 keywords
68010         for standards based on C99 or C11.
68012         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68013         Disable tests.
68014         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68015         UNIX98]: Likewise.
68017         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68018         usability of symbols in #if.
68020         * conform/conformtest.pl: If macro or constant types start
68021         "promoted:", expect the symbol to be of the following type
68022         promoted by the integer promotions.
68024         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68025         in one place.  Also handle "macro-constant".
68027         * conform/conformtest.pl: Only accept expected macro values with
68028         "==".  Parse all "macro" lines in one place.
68029         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68031         * conform/conformtest.pl: Handle braced types on "constant" lines
68032         instead of handling "typed-constant".
68033         * conform/data/signal.h-data: Use "constant" instead of
68034         "typed-constant".
68036         * conform/conformtest.pl: Handle "optional-" at start of lines in
68037         one place rather than duplicating several cases.  Handle each
68038         format of "macro" line with initial "optional-".
68040         * conform/conformtest.pl: Only accept expected constant or
68041         optional-constant values with "==".  Parse all "constant" lines in
68042         one place.  Parse all "optional-constant" lines in one place.
68043         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68044         * conform/data/fmtmsg.h-data: Likewise.
68045         * conform/data/netinet/in.h-data: Likewise.
68046         * conform/data/tar.h-data: Likewise.
68047         * conform/data/limits.h-data: Use "==" form on "constant" and
68048         "optional-constant" lines.
68050         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68051         Use -std=c99 for XOPEN2K.
68052         (@knownproblems): Remove.
68053         (newtoken): Don't check %isknown.
68055         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68056         Do not expect macro.
68057         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68058         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68059         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68060         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68061         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68062         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68063         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68064         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68065         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68066         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68067         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68068         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68069         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68070         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68071         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68072         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68073         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68074         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68075         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68076         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68077         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68078         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68079         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68081         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68082         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68083         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68084         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68085         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68086         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68087         [XPG3] (acosh): Likewise.
68088         [XPG3] (asinh): Likewise.
68089         [XPG3] (atanh): Likewise.
68090         [XPG3] (cbrt): Likewise.
68091         [XPG3] (expm1): Likewise.
68092         [XPG3] (ilogb): Likewise.
68093         [XPG3] (log1p): Likewise.
68094         [XPG3] (logb): Likewise.
68095         [XPG3] (nextafter): Likewise.
68096         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68097         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68098         [XPG3] (remainder): Likewise.
68099         [XPG3] (rint): Likewise.
68100         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68101         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68102         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68103         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68104         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68105         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68106         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68107         [UNIX98 || XOPEN2K] (scalb): Expect.
68108         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68109         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68110         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68111         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68112         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68113         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68114         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68115         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68116         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68117         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68118         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68119         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68120         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68121         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68122         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68123         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68124         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68125         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68126         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68127         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68128         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68129         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68130         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68131         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68132         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68133         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68134         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68135         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68136         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68137         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68138         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68139         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68140         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68141         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68142         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68143         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68144         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68145         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68146         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68147         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68148         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68149         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68150         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68151         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68152         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68153         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68154         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68155         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68156         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68157         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68158         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68159         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68160         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68161         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68162         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68163         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68164         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68165         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68166         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68167         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68168         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68169         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68170         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68171         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68172         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68173         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68174         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68175         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68176         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68177         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68178         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68179         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68180         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68181         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68182         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68183         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68184         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68185         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68186         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68187         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68188         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68189         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68190         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68191         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68192         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68193         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68194         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68195         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68196         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68197         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68199         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68200         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68201         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68202         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68203         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68204         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68205         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68206         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68207         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68208         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68209         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68210         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68211         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68212         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68213         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68214         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68215         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68216         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68217         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68218         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68219         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68220         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68221         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68222         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68223         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68224         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68225         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68226         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68227         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68228         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68229         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68230         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68231         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68232         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68233         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68234         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68235         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68236         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68237         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68238         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68239         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68240         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68241         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68242         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68243         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68244         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68246         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68247         _XOPEN_SOURCE_EXTENDED for XPG4.
68249         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68251         * Makeconfig (localtime): Remove variable.
68252         (inst_localtime-file): Likewise.
68254 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68257         Update.
68258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68259         Update.
68260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68261         Update.
68262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68263         Update.
68264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68265         Update.
68266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68267         Update.
68268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68269         Update.
68270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68271         Update.
68272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68273         Update.
68275 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68277         [BZ #2550]
68278         [BZ #2570]
68279         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68280         comparisons to determine direction to adjust input.
68281         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68282         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68283         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68284         Likewise.
68285         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68286         Likewise.
68287         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68288         Likewise.
68289         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68290         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68291         Likewise.
68292         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68293         Likewise.
68294         * math/libm-test.inc (nexttoward_test): Add more tests.
68296 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68298         [BZ #14040]
68299         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68300         in version GLIBC_2.1, not GLIBC_2.0.
68301         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68302         Likewise.
68304 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68306         [BZ #13942]
68307         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68308         (1 - x) * (1 + x).
68309         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68310         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68311         * math/libm-test.inc (acos_test): Add more tests.
68312         (asin_test): Likewise.
68313         * sysdeps/i386/fpu/libm-test-ulps: Update.
68314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68316         [BZ #14034]
68317         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68318         of square root.
68319         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68320         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68321         * math/libm-test.inc (acos_test_tonearest): New function.
68322         (acos_test_towardzero): Likewise.
68323         (acos_test_downward): Likewise.
68324         (acos_test_upward): Likewise.
68325         (asin_test_tonearest): Likewise.
68326         (asin_test_towardzero): Likewise.
68327         (asin_test_downward): Likewise.
68328         (asin_test_upward): Likewise.
68329         (main): Call the new functions.
68330         * sysdeps/i386/fpu/libm-test-ulps: Update.
68331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68333         [BZ #13884]
68334         [BZ #13924]
68335         * math/e_exp10.c: Include <float.h>.
68336         (__ieee754_exp10): Handle underflow here rather than multiplying
68337         large negative argument by M_LN10.
68338         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68339         of __ieee754_expf.
68340         * math/e_exp10l.c: Include <float.h>.
68341         (__ieee754_exp10l): Handle underflow here rather than multiplying
68342         large negative argument by M_LN10l.
68343         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68344         spurious overflow exception on underflow.
68346 2012-04-29  Marek Polacek  <polacek@redhat.com>
68348         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68349         (__fortify_function): New macro.
68350         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68351         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68352         __extern_always_inline.
68353         * libio/bits/stdio2.h: Likewise.
68354         * libio/bits/stdio.h: Likewise.
68355         * string/string.h: Likewise.
68356         * string/bits/string3.h: Likewise.
68357         * include/stdio.h: Likewise.
68358         * stdlib/bits/stdlib.h: Likewise.
68359         * stdlib/stdlib.h: Likewise.
68360         * rt/bits/mqueue2.h: Likewise.
68361         * rt/mqueue.h: Likewise.
68362         * posix/bits/unistd.h: Likewise.
68363         * posix/unistd.h: Likewise.
68364         * io/bits/poll2.h: Likewise.
68365         * io/bits/fcntl2.h: Likewise.
68366         * io/fcntl.h: Likewise.
68367         * io/sys/poll.h: Likewise.
68368         * misc/bits/syslog.h: Likewise.
68369         * misc/bits/syslog-ldbl.h: Likewise.
68370         * misc/sys/syslog.h: Likewise.
68371         * socket/bits/socket2.h: Likewise.
68372         * socket/sys/socket.h: Likewise.
68373         * debug/tst-chk1.c: Likewise.
68374         * wcsmbs/bits/wchar2.h: Likewise.
68375         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68376         * wcsmbs/wchar.h: Likewise.
68378 2012-04-29  Andreas Jaeger  <aj@suse.de>
68380         * Makerules (tests): Remove enable-check-abi protection.
68381         (check-abi-warn): Remove.
68382         (check-abi-%): Remove check-abi-warn usage.
68384         * configure.in: Remove check-abi configure option.
68385         * configure: Regenerated.
68386         * config.make.in (enable-check-abi): Remove.
68388 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68390         [BZ #14033]
68391         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68392         double functions to double *_finite functions.
68394         [BZ #13941]
68395         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68396         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68397         LDBL_MIN_EXP.
68398         * stdio-common/Makefile (tests): Add tst-sprintf3.
68399         * stdio-common/tst-sprintf3.c: New file.
68401         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68402         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68404 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68406         * conform/conformtest.pl: Remove duplicate typed-constant
68407         handling.
68409 2012-04-28  David S. Miller  <davem@davemloft.net>
68411         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68412         (check-abi-%): Remove AWK script prerequisite and explicit
68413         abilist directory.
68414         (check-abi): Rewrite to just diff the symlist with the abilist.
68415         (config-tls, config-abi-config): Delete, no longer used.
68416         (update-abi-%): Remove AWK script and explicit abilist directory.
68417         (update-abi): Rewrite to simply compare and conditionally copy the
68418         symlist and the sysdep abilist file.  Remove update-abi-config
68419         checks.
68420         * abilist/ld.abilist: Remove.
68421         * abilist/libBrokenLocale.abilist: Remove.
68422         * abilist/libanl.abilist: Remove.
68423         * abilist/libcrypt.abilist: Remove.
68424         * abilist/libdl.abilist: Remove.
68425         * abilist/librt.abilist: Remove.
68426         * abilist/libthread_db.abilist: Remove.
68427         * abilist/libutil.abilist: Remove.
68428         * scripts/extract-abilist.awk: Remove.
68429         * scripts/merge-abilist.awk: Remove.
68430         * sysdeps/generic/libcidn.abilist: New file.
68431         * sysdeps/generic/libnss_compat.abilist: New file.
68432         * sysdeps/generic/libnss_db.abilist: New file.
68433         * sysdeps/generic/libnss_dns.abilist: New file.
68434         * sysdeps/generic/libnss_files.abilist: New file.
68435         * sysdeps/generic/libnss_hesiod.abilist: New file.
68436         * sysdeps/generic/libnss_nis.abilist: New file.
68437         * sysdeps/generic/libnss_nisplus.abilist: New file.
68438         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68439         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68440         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68441         file.
68442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68443         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68444         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68445         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68446         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68447         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68448         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68449         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68450         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68451         file.
68452         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68453         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68454         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68455         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68456         file.
68457         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68458         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68459         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68460         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68461         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68462         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68463         file.
68464         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68465         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68466         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68467         file.
68468         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68470         New file.
68471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68472         New file.
68473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68474         New file.
68475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68476         New file.
68477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68478         New file.
68479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68480         New file.
68481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68482         New file.
68483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68484         New file.
68485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68486         New file.
68487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68488         New file.
68489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68490         New file.
68491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68492         New file.
68493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68494         New file.
68495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68496         file.
68497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68498         New file.
68499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68500         New file.
68501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68502         file.
68503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68504         New file.
68505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68506         New file.
68507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68508         file.
68509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68510         New file.
68511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68512         New file.
68513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68514         New file.
68515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68516         New file.
68517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68518         New file.
68519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68520         New file.
68521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68523         file.
68524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68525         New file.
68526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68527         file.
68528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68529         file.
68530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68531         file.
68532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68533         file.
68534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68535         file.
68536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68537         New file.
68538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68539         file.
68540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68541         file.
68542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68543         New file.
68544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68545         file.
68546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68548         file.
68549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68550         New file.
68551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68552         file.
68553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68554         file.
68555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68556         file.
68557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68558         file.
68559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68560         file.
68561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68562         New file.
68563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68564         file.
68565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68566         file.
68567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68568         New file.
68569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68570         file.
68571         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68572         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68573         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68574         file.
68575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68576         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68577         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68578         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68579         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68580         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68581         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68582         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68583         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68584         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68587         file.
68588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68589         New file.
68590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68591         file.
68592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68593         file.
68594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68595         file.
68596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68597         file.
68598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68599         file.
68600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68601         New file.
68602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68603         New file.
68604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68605         file.
68606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68607         New file.
68608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68609         file.
68610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68612         file.
68613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68614         New file.
68615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68616         file.
68617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68618         file.
68619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68620         file.
68621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68622         file.
68623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68624         file.
68625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68626         New file.
68627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68628         New file.
68629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68630         file.
68631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68632         New file.
68633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68634         file.
68636 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68638         * conform/conformtest.pl: Fix typo in handling typed-constant from
68639         allow-header.
68641 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68643         * README: Cut down references to pre-2.6 Linux kernels and
68644         Linuxthreads.  Update lists of configurations in libc and ports
68645         and sort alphabetically.  Say "or newer" with Linux kernel version
68646         requirements.
68648         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68650 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68652         [BZ #887]
68653         * math/libm-test.inc (logb_test_downward): New test to expose
68654         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68655         rounding mode.
68657 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68659         [BZ #14027]
68660         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68661         to be done.
68662         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68663         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68665 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68667         * sysdeps/unix/i386/brk.S: Remove file.
68668         * sysdeps/unix/i386/dl-brk.S: Likewise.
68669         * sysdeps/unix/i386/pipe.S: Likewise.
68670         * sysdeps/unix/i386/sigreturn.S: Likewise.
68671         * sysdeps/unix/i386/syscall.S: Likewise.
68672         * sysdeps/unix/i386/vfork.S: Likewise.
68673         * sysdeps/unix/i386/wait.S: Likewise.
68675         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68676         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68678         * configure.in (arm*-none*): Do not allow without
68679         --enable-hacker-mode.
68680         (netbsd*): Remove case setting base_os.
68681         (386bsd*): Likewise.
68682         (freebsd*): Likewise.
68683         (bsdi*): Likewise.
68684         (osf*): Likewise.
68685         (sunos*): Likewise.
68686         (ultrix*): Likewise.
68687         (newsos*): Likewise.
68688         (dynix*): Likewise.
68689         (*bsd*): Likewise.
68690         (sysv*): Likewise.
68691         (isc*): Likewise.
68692         (esix*): Likewise.
68693         (sco*): Likewise.
68694         (minix*): Likewise.
68695         (irix4*): Likewise.
68696         (irix6*): Likewise.
68697         (solaris[2-9]*): Likewise.
68698         (none): Likewise.
68699         * configure: Regenerated.
68701 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68703         [BZ #11521]
68704         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68705         overflow or cancellation in calculating denominator.
68706         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68707         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68708         down expression to avoid unexpected rounding in newer GCCs.
68709         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68711 2012-04-26  David S. Miller  <davem@davemloft.net>
68713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68714         long-double compat symbols.
68715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68729 2012-04-25  David S. Miller  <davem@davemloft.net>
68731         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68732         HWCAP_* values only after the memory barriers have been defined.
68733         (atomic_full_barrier): Define.
68734         (atomic_read_barrier): Define.
68735         (atomic_write_barrier): Define.
68737 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68739         * shlib-versions: Add libgcc_s version information.
68740         * sysdeps/generic/libgcc_s.h: Remove.
68741         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68742         libgcc_s.h.
68743         * sysdeps/gnu/unwind-resume.c: Likewise.
68744         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68746 2012-04-25  David S. Miller  <davem@davemloft.net>
68748         * sysdeps/unix/sparc/brk.S: Delete.
68749         * sysdeps/unix/sparc/dl-brk.S: Delete.
68750         * sysdeps/unix/sparc/pipe.S: Delete.
68751         * sysdeps/unix/sparc/sysdep.S: Delete.
68752         * sysdeps/unix/sparc/sysdep.h: Delete.
68753         * sysdeps/unix/sparc/vfork.S: Delete.
68754         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68755         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68756         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68757         (ret_ERRVAL, r0, r1, MOVE): Define.
68758         (JUMPTARGET): Remove.
68759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68760         sysdeps/unix/sparc/sysdep.h
68761         (ENTRY, END): Remove.
68762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68764 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68766         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68767         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68768         -DIS_IN_build.
68770         * timezone/README: Update upstream location and email address for
68771         tzcode and tzdata.
68772         * timezone/zdump.c: Update from tzcode 2012b.
68773         * timezone/zic.c: Likewise.
68775         * configure.in (libc_cv_as_needed): Remove test.
68776         * configure: Regenerated.
68777         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68778         conditional definition.
68779         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68780         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68781         * config.make.in (have-as-needed): Remove variable.
68783 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68784             Paul Pluzhnikov  <ppluzhnikov@google.com>
68786         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68787         strings correctly.
68789 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68791         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68792         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68793         * sysdeps/sh/strlen.S: Likewise.
68795 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68797         * sysdeps/unix/fork.S: Remove file.
68798         * sysdeps/unix/i386/fork.S: Likewise.
68799         * sysdeps/unix/sparc/fork.S: Likewise.
68801         * sysdeps/unix/system.c: Remove file.
68802         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68804         * sysdeps/unix/getegid.S: Remove file.
68805         * sysdeps/unix/geteuid.S: Likewise.
68807 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68809         * scripts/check-localplt.awk: New file.
68810         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68811         of diff.
68812         * scripts/data/localplt-generic.data: Add a comment.
68814         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68815         NODE when __dir_mkfile failed.
68816         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68817         Reported by Ludovic Courtès <ludo@gnu.org>.
68819 2012-04-24  Andreas Jaeger  <aj@suse.de>
68821         * Makerules (common-clean): Also remove gen-as-const-headers
68822         files.
68824 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68826         * Makerules (native-compile): Do not change working directory for
68827         build.  Use $(OUTPUT_OPTION) in command.
68828         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68830 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68832         [BZ #13886]
68833         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68834         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68835         * math/libm-test.inc (floor_test): Add more tests.
68836         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68838 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68840         * sysdeps/unix/getdents.c: Remove file.
68841         * sysdeps/unix/sysv/getdents.c: Likewise.
68842         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68844         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68845         sysdeps/unix/mman/syscalls.list.
68846         (mmap): Likewise.
68847         (mprotect): Likewise.
68848         (msync): Likewise.
68849         (munmap): Likewise.
68850         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68851         * sysdeps/unix/mman/syscalls.list: Remove.
68852         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68854         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68855         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68856         * configure: Regenerated.
68857         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68858         $(libgcc_s_suffix).
68859         * config.make.in (libgcc_s_suffix): Remove variable.
68861 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68863         * sysdeps/unix/sysv/gethostname.c: Move to ...
68864         * sysdeps/posix/gethostname.c: ... here.
68866         * sysdeps/unix/execve.S: Remove file.
68868         * sysdeps/unix/_exit.S: Remove file.
68870 2012-04-23  Andreas Jaeger  <aj@suse.de>
68872         [BZ #13739]
68873         * manual/Makefile: Remove make dist support, there's no
68874         need for a stand-alone documentation tar ball.
68875         (TEXI2DVI): Define always, it's not in Makeconfig.
68876         (dist): Removed.
68877         (tar-it): Removed.
68878         (edition): Removed.
68879         (glibc-doc-$(edition).tar): Removed
68880         (%.Z): Removed.
68881         (%.gz): Removed.
68882         (%.uu): Removed.
68883         (ETAGS): Remove, it's in Makeconfig.
68884         (move-if-change): Remove, it's in Makeconfig.
68886 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68888         [BZ #13970]
68889         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68890         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68891         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68892         (strtod_l, strtof_l, strtold_l): Remove __wur.
68893         It is not necessarily an error to ignore strtol's return value.
68894         One can reliably look at the stored endptr to decide whether
68895         the number had valid syntax.
68897 2012-04-21  Andreas Jaeger  <aj@suse.de>
68899         [BZ #13739]
68900         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68902 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68904         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68905         * sysdeps/unix/sysv/Versions: Remove file.
68907 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68909         [BZ #13927]
68910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68912 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68914         [BZ #7064]
68915         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68916         version from __vm86.
68918 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68920         * sysdeps/unix/common/lxstat.c: Remove file.
68921         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68923         * sysdeps/unix/sysv/Makefile: Remove file.
68925         * sysdeps/unix/sysv/direct.h: Remove file.
68927         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68928         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68929         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68930         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68931         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68932         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68933         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68935         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68937         * sysdeps/unix/xmknod.c: Remove file.
68938         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68940         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68942         * sysdeps/unix/sysv/i386/time.S: Remove file.
68944         * sysdeps/unix/fxstat.c: Remove file.
68945         * sysdeps/unix/xstat.c: Likewise.
68946         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68948         * sysdeps/unix/sysv/sigaction.c: Remove file.
68950         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68951         (sysdep_headers): Remove variable.
68952         [termio.h not in sysdep_headers] (generated): Likewise.
68953         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68954         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68955         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68956         * sysdeps/unix/sysv/tcflow.c: Likewise.
68957         * sysdeps/unix/sysv/tcflush.c: Likewise.
68958         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68959         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68960         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68961         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68962         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68964         * sysdeps/unix/siglist.c: Remove file.
68966         * sysdeps/unix/getppid.S: Remove file.
68968         * sysdeps/unix/mkdir.c: Remove file.
68969         * sysdeps/unix/rmdir.c: Likewise.
68971 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68973         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68974         ERR_MAX value.
68975         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68976         errlist-compat value.
68978 2012-04-18  David S. Miller  <davem@davemloft.net>
68980         * sysdeps/generic/memcopy.h (reg_char): Delete.
68981         * debug/strcat_chk.c: Use char, not reg_char.
68982         * debug/strcpy_chk.c: Likewise.
68983         * debug/strncat_chk.c: Likewise.
68984         * debug/strncpy_chk.c: Likewise.
68985         * string/memchr.c: Likewise.
68986         * string/memrchr.c: Likewise.
68987         * string/rawmemchr.c: Likewise.
68988         * string/strcat.c: Likewise.
68989         * string/strchr.c: Likewise.
68990         * string/strchrnul.c: Likewise.
68991         * string/strcmp.c: Likewise.
68992         * string/strcpy.c: Likewise.
68993         * string/strncat.c: Likewise.
68994         * string/strncmp.c: Likewise.
68995         * string/strncpy.c: Likewise.
68997 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68999         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69000         __builtin_memcopy is called when src and dest ranges are known to not
69001         overlap.
69003 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69005         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69006         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69007         fwd_align_merge macro call.
69008         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69009         bwd_align_merge macro call.
69010         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69012 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69014         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69015         bwd_align_merge macros.
69016         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69017         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69018         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69020 2012-04-18  David S. Miller  <davem@davemloft.net>
69022         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69024 2012-04-18  Andreas Jaeger  <aj@suse.de>
69026         [BZ# 6794]
69027         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69028         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69029         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69031         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69032         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69033         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69035         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69036         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69037         Adjust for changed ldbl-128 files.
69039         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69040         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69041         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69043 2012-04-17  David S. Miller  <davem@davemloft.net>
69045         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69047 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69049         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69050         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69051         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69052         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69053         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69054         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69056 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69058         [BZ #6794]
69059         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69060         * math/libm-test.inc: Add ilogb errno and exception tests.
69061         * math/w_ilogb.c: New file: ilogb wrapper.
69062         * math/w_ilogbf.c: New file: ilogbf wrapper.
69063         * math/w_ilogbl.c: New file: ilogbl wrapper.
69064         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69065         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69066         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69067         exception being thrown with 0.0 as argument.
69068         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69069         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69070         exception being thrown with 0.0 as argument.
69071         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69072         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69073         exception being thrown with 0.0 as argument.
69074         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69075         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69076         exception being thrown with 0.0 as argument.
69077         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69078         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69079         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69080         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69081         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69082         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69083         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69084         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69085         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69087 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69089         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69090         with altivec.
69092 2012-04-16  Marek Polacek  <polacek@redhat.com>
69094         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69096 2012-04-16  Marek Polacek  <polacek@redhat.com>
69098         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69099         operands of fdivp instruction.
69101 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69103         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69104         * elf/tst-auditmod3b.c: Likewise.
69105         * elf/tst-auditmod4b.c: Likewise.
69106         * elf/tst-auditmod5b.c: Likewise.
69107         * elf/tst-auditmod6b.c: Likewise.
69108         * elf/tst-auditmod6c.c: Likewise.
69109         * elf/tst-auditmod7b.c: Likewise.
69110         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69111         * sysdeps/x86_64/preconfigure.in: Likewise.
69112         * sysdeps/x86_64/preconfigure: Regenerated.
69114 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69116         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69117         __ILP32__.
69119 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69121         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69122         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69124 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69126         [BZ #13973]
69127         * locale/iso-639.def: Fix gl language name. Spotted by
69128         Yaron Shahrabani.
69130 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69132         [BZ #2074]
69133         * libio/libio.h (__io_write_fn): Update comment.
69135 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69137         [BZ #2074]
69138         * stdio.texi (Hook Functions): The user provided writer function
69139         is not allowed to return -1.
69141 2012-04-11  David S. Miller  <davem@davemloft.net>
69143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69145 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69147         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69148         Add a leading slash to rtkaio.
69150 2012-04-11  Jim Meyering  <meyering@redhat.com>
69152         [BZ #11959]
69153         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69154         It is not necessarily an error to ignore fwrite's return
69155         value.  One can reliably use ferror to test for errors after
69156         the fact.
69158 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69160         * bits/types.h (__snseconds_t): New type.
69161         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69163         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69164         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69165         (__SNSECONDS_T_TYPE): Likewise.
69166         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69167         (__SNSECONDS_T_TYPE): Likewise.
69168         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69169         (__SNSECONDS_T_TYPE): Likewise.
69171 2012-04-10  Andreas Jaeger  <aj@suse.de>
69173         [BZ #2636]
69174         * manual/time.texi (Processor Time): Return type of times is
69175         elapsed real time since an arbitrary point in the past.
69176         (CPU Time): Move CLK_TCK from here...
69177         (Processor Time): ...to here.  Correct description.
69178         * manual/conf.texi (Constants for Sysconf): Correct description of
69179         _SC_CLK_TCK.
69181 2012-04-10  David S. Miller  <davem@davemloft.net>
69183         [BZ #13967]
69184         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69185         where the is a gap between DT_REL(A) and DT_JMPREL.
69187 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69189         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69190         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69191         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69193 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69195         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69196         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69197         (dl_main): Handle --inhibit-cache.
69198         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69199         _dl_inhibit_cache.
69200         * elf/dl-load.c (_dl_map_object): Use it.
69201         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69203 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69205         [BZ #13872]
69206         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69207         (__ieee754_powl): Saturate large exponents rather than testing for
69208         overflow of y*log2(x).
69209         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69210         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69211         exceptions.
69213         [BZ #11521]
69214         * math/s_ctan.c: Include <float.h>.
69215         (__ctan): Avoid internal overflow or cancellation in calculating
69216         denominator.
69217         * math/s_ctanf.c: Likewise.
69218         * math/s_ctanl.c: Likewise.
69219         * math/s_ctanh.c: Likewise.
69220         * math/s_ctanhf.c: Likewise.
69221         * math/s_ctanhl.c: Likewise.
69222         * math/libm-test.inc (ctan_test): Add more tests.
69223         (ctanh_test): Likewise.
69224         * sysdeps/i386/fpu/libm-test-ulps: Update.
69225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69227 2012-04-09  Andreas Jaeger  <aj@suse.de>
69229         [BZ #6894]
69230         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69231         is an optional BSD extension.
69233         [BZ #10254]
69234         * manual/stdio.texi (Opening Streams): Document additional fopen
69235         parameters.
69237 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69239         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69240         %eax without telling the compiler.
69242 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69244         [BZ # 13963]
69245         * manual/install.texi: Use sourceware.org.
69247 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69249         [BZ #13873]
69250         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69251         (__ieee754_pow): Generate overflow and underflow using huge*huge
69252         and tiny*tiny rather than just returning constant infinity or zero
69253         for large exponents.
69254         * math/libm-test.inc (pow_test): Require overflow exceptions for
69255         applicable cases of large exponents.
69257         [BZ #706]
69258         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69259         (__ieee754_pow): Use iterative multiplication algorithm only for
69260         integer exponents with absolute value below 1024.  Check for odd
69261         integer exponents when using algorithm for real exponents.
69262         * math/libm-test.inc (pow_test): Add more tests.
69263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69265 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69267         [BZ #13705]
69268         * math/libm-test.inc (exp_test): Do not allow overflow exception
69269         on underflow test.
69271 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69273         [BZ #13705]
69274         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69275         instead of __kernel_standard_f.
69277 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69279         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69280         * sysdeps/x86_64/memset_chk.S: Likewise.
69282 2012-04-08  Andreas Jaeger  <aj@suse.de>
69284         [BZ #10153]
69285         * manual/startup.texi (Environment Access): Describe return value
69286         for putenv and setenv.
69288         [BZ #6895]
69289         * manual/filesys.texi (Directory Entries): Add description for
69290         DT_LNK.
69292         [BZ #6890]
69293         * manual/filesys.texi (Directory Entries): Clarify that it's file
69294         system not operating system in the description of DT_UNKNOWN.
69296         [BZ #6578]
69297         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69299 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69301         [BZ #6649]
69302         * manual/llio.texi (Opening and Closing Files): Add cross
69303         reference to explain mode argument.
69305 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69307         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69308         * sysdeps/x86_64/memset_chk.S: Likewise.
69310 2012-04-07  David S. Miller  <davem@davemloft.net>
69312         * elf/elf.h (R_SPARC_WDISP10): Define.
69313         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69314         R_SPARC_SIZE32.
69315         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69316         R_SPARC_SIZE64 and R_SPARC_H34.
69318 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69320         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69321         conditions and remove no longer applicable assertion.
69323 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69325         * bits/byteswap.h: Include <features.h>.
69326         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69327         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69329 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69331         * bits/byteswap.h (__bswap_16): Removed.
69332         Include <bits/byteswap-16.h> to get __bswap_16.
69333         * sysdeps/i386/bits/byteswap.h: Likewise.
69334         * sysdeps/s390/bits/byteswap.h: Likewise.
69335         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69336         * bits/byteswap-16.h: New file.
69337         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69338         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69339         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69340         * string/Makefile (headers): Add bits/byteswap-16.h.
69342 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69344         [BZ #13895]
69345         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69346         extra indirection.
69347         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69348         * nss/tst-nss-static.c: New.
69350 2012-04-06  Robert Millan  <rmh@gnu.org>
69352         [BZ #6486]
69353         * manual/llio.texi (File Position Primitive): lseek
69354         refers to WHENCE when it really means OFFSET.
69356 2012-04-06  Andreas Jaeger  <aj@suse.de>
69358         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69359         strncmp declarations.
69361         * abilist/libc.abilist: Add __poll and __ppoll.
69363 2012-04-05  David S. Miller  <davem@davemloft.net>
69365         * scripts/check-local-headers.sh: Accept a host triplet in the
69366         path matched by the exclude regexp.
69368         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69369         definition.
69370         * sysdeps/powerpc/powerpc32/dl-machine.h
69371         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69372         * sysdeps/s390/s390-32/dl-machine.h
69373         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69374         * sysdeps/sparc/sparc32/dl-machine.h
69375         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69376         * sysdeps/sparc/sparc64/dl-machine.h
69377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69379         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69380         lazy binding.
69381         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69382         undefined symbol errors.
69384         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69385         DT_NEEDED entries.
69387 2012-04-05  Michael Matz  <matz@suse.de>
69389         [BZ #13592]
69390         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69392 2012-04-05  Andreas Jaeger  <aj@suse.de>
69394         [BZ #13908]
69395         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69396         comment.
69398 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69400         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69401         which ROUND is no valid rounding mode.
69403 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69405         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69406         read again.
69407         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69409 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69411         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69412         an exception using FPU order intentionally.
69414 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69416         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69417         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69418         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69419         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69421 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69423         [BZ #12340]
69424         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69425         EINVAL when BUFLEN is too smal.
69427 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69429         [BZ #13553]
69430         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69431         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69433 2012-04-03  Andreas Jaeger  <aj@suse.de>
69435         [BZ #13938]
69436         * manual/setjmp.texi (System V contexts): Fix sentence.
69438         [BZ #13926]
69439         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69440         New macro for this case.
69441         [!__GNUC__] (__bswap_64): New inline function for this case.
69442         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69443         * bits/byteswap.h: Likewise.
69444         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69445         ull, guard with __GLIBC_HAVE_LONG_LONG.
69447         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69448         __GLIBC_HAVE_LONG_LONG.
69450         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69451         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69453 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69455         [BZ #13691]
69456         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69457         inptr and inend, rather than using last_ch.
69459 2012-04-02  David S. Miller  <davem@davemloft.net>
69461         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69462         * stdio-common/printf-parse.h (read_int): Change return type to
69463         'int', return -1 on INT_MAX overflow.
69464         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69465         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69466         overflows INT_MAX.  Check for overflow of in-format-string precision
69467         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69468         SIZE_MAX not INT_MAX for integer overflow test.
69469         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69470         skip the construct in the format string but do not record anything.
69471         * stdio-common/bug22.c: Adjust to test both width/prevision
69472         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69473         explicitly for proper errno values.
69475 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69477         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69478         CHAR_MAX.
69479         * string/test-strcmp.c [! WIDE]: Likewise.
69480         * time/tst-mktime2.c: Likewise for INT_MAX.
69481         * string/test-string.h: #include <sys/param.h> for MIN.
69483         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69484         * sysdeps/i386/init-first.c (init): Likewise.
69485         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69486         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69487         * sysdeps/sh/init-first.c (init): Likewise.
69489 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69491         * po/ru.po: Update from translation team.
69492         * po/vi.po: Likewise.
69494 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69496         * resolv/nss_dns/dns-host.c: Merge copyright years.
69498 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69500         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69501         Optimize memcpy with prefetch if
69502         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69503         src, dst pointers have unequal 16 byte alignments.
69505 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69507         [BZ #13928]
69508         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69509         from a CNAME entry and return the minimum ttl for the query.
69510         (gaih_getanswer_slice): Likewise.
69512 2012-03-30  Jeff Law  <law@redhat.com>
69514         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69515         due to long keys.
69516         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69517         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69519         * resolv/nss_dns/dns-host.c: Update copyright year.
69521 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69523         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69524         requests to save a system call.  Fix check that all bytes are sent.
69526         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69527         comments for sendmmsg.
69529 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69531         [BZ #13691]
69532         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69533         with only 1 character between 0x0041 and 0x01b0.
69534         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69535         * wcsmbs/tst-mbsnrtowcs.c: New file.
69537 2012-03-29  David S. Miller  <davem@davemloft.net>
69539         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69540         small copies by hand.
69542 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69544         [BZ #13761]
69545         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69546         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69547         group memberships.
69549 2012-03-28  David S. Miller  <davem@davemloft.net>
69551         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69552         that branches into memcpy.
69553         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69554         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69556         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69557         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69558         bits.
69559         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69560         implementation too.
69561         * sysdeps/sparc/mempcpy.S: New file.
69563         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69564         the IFUNC routine in the libc case.
69565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69567         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69568         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69569         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69570         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69571         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69572         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69573         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69574         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69576         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69577         loop to 256 bytes instead of 64 bytes and fix test signedness.
69579         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69580         * sysdeps/sparc/sparc32/Makefile: rather than here...
69581         * sysdeps/sparc/sparc64/Makefile: and here.
69583 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69585         * malloc/mallocbug.c: Avoid warnings about unused variables.
69587 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69589         [BZ #13760]
69590         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69591         in the right place. Discard and retry query if response is
69592         larger than input buffer size.
69594 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69596         [BZ #369]
69597         [BZ #2678]
69598         [BZ #3866]
69599         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69600         x for large integer exponent.
69601         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69602         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69603         sign of result as needed afterwards.
69604         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69605         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69606         result for underflowing pow the same as for overflow.
69607         (__kernel_standard_l): Handle powl overflow and underflow here
69608         rather than calling __kernel_standard.
69609         * math/libm-test.inc (pow_test): Add more tests.
69611         [BZ #3868]
69612         [BZ #13879]
69613         [BZ #13910]
69614         [BZ #13911]
69615         [BZ #13912]
69616         [BZ #13913]
69617         [BZ #13915]
69618         [BZ #13916]
69619         [BZ #13917]
69620         [BZ #13918]
69621         [BZ #13919]
69622         [BZ #13920]
69623         [BZ #13921]
69624         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69625         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69626         (__kernel_standard_l): New function.
69627         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69628         __kernel_standard.
69629         * math/w_acosl.c (__acosl): Likewise.
69630         * math/w_asinl.c (__asinl): Likewise.
69631         * math/w_atan2l.c (__atan2l): Likewise.
69632         * math/w_atanhl.c (__atanhl): Likewise.
69633         * math/w_coshl.c (__coshl): Likewise.
69634         * math/w_exp10l.c (__exp10l): Likewise.
69635         * math/w_exp2l.c (__exp2l): Likewise.
69636         * math/w_fmodl.c (__fmodl): Likewise.
69637         * math/w_hypotl.c (__hypotl): Likewise.
69638         * math/w_j0l.c (__j0l, __y0l): Likewise.
69639         * math/w_j1l.c (__j1l, __y1l): Likewise.
69640         * math/w_jnl.c (__jnl, __ynl): Likewise.
69641         * math/w_lgammal.c (__lgammal): Likewise.
69642         * math/w_log10l.c (__log10l): Likewise.
69643         * math/w_log2l.c (__log2l): Likewise.
69644         * math/w_logl.c (__logl): Likewise.
69645         * math/w_powl.c (__powl): Likewise.
69646         * math/w_remainderl.c (__remainderl): Likewise.
69647         * math/w_scalbl.c (sysv_scalbl): Likewise.
69648         * math/w_sinhl.c (__sinhl): Likewise.
69649         * math/w_sqrtl.c (__sqrtl): Likewise.
69650         * math/w_tgammal.c (__tgammal): Likewise.
69651         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69652         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69653         * math/libm-test.inc (acos_test): Add more tests.
69654         (acosh_test): Likewise.
69655         (asin_test): Likewise.
69656         (atanh_test): Likewise.
69657         (exp_test): Likewise.
69658         (exp10_test): Likewise.
69659         (exp2_test): Likewise.
69660         (expm1_test): Likewise.
69661         (lgamma_test): Likewise.
69662         (log_test): Likewise.
69663         (log10_test): Likewise.
69664         (log1p_test): Likewise.
69665         (log2_test): Likewise.
69666         (pow_test): Do not allow some spurious overflow exceptions.
69667         (sqrt_test): Add more tests.
69668         (tgamma_test): Likewise.
69669         (y0_test): Likewise.
69670         (y1_test): Likewise.
69671         (yn_test): Likewise.
69673 2012-03-27  Anton Blanchard  <anton@samba.org>
69675         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69676         MAP_HUGETLB.
69677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69678         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69681 2012-03-27  David S. Miller  <davem@davemloft.net>
69683         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69685         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69686         have-as-vis3 check.
69688 2012-03-27  Andreas Jaeger  <aj@suse.de>
69690         * sysdeps/x86_64/elf/configure.in: Moved to ...
69691         * sysdeps/x86_64/configure.in: ... here.
69692         * sysdeps/x86_64/elf/start.S: Moved to ...
69693         * sysdeps/x86_64/start.S: ... here.
69694         * sysdeps/x86_64/elf/configure: Delete.
69696         * sysdeps/x86_64/configure.in: Merge contents from
69697         sysdeps/i386/configure.in (without i686 check).
69699         * sysdeps/i386/elf/Versions: Merge into ...
69700         * sysdeps/i386/Versions: ... this.
69701         * sysdeps/i386/elf/Versions: Delete file.
69702         * sysdeps/i386/elf/start.S: Moved to ...
69703         * sysdeps/i386/start.S: ...here.
69704         * sysdeps/i386/elf/configure.in: Merge into...
69705         * sysdeps/i386/configure.in: ...here.
69706         * sysdeps/i386/elf/configure.in: Delete file.
69707         * sysdeps/i386/elf/configure: Delete file.
69709         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69710         * debug/backtracesyms.c: ... here.
69711         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69712         * debug/backtracesymsfd.c: ... here.
69713         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69714         * sysdeps/generic/ifunc-sel.h: ... here.
69716         * sysdeps/unix/i386/start.c: Delete file.
69717         * sysdeps/unix/sparc/start.c: Delete file.
69718         * sysdeps/unix/start.c: Delete file.
69720         * sysdeps/sh/elf/configure.in: Moved to ...
69721         * sysdeps/sh/configure.in: ... here.
69722         * sysdeps/sh/elf/start.S: Moved to ...
69723         * sysdeps/sh/start.S: ... here.
69724         * sysdeps/sh/elf/configure: Delete file.
69726         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69727         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69728         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69729         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69730         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69731         * sysdeps/powerpc/powerpc64/start.S: here.
69732         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69733         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69734         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69735         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69736         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69738         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69739         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69740         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69741         * sysdeps/powerpc/powerpc32/start.S: ... here.
69742         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69743         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69744         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69746         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69747         * sysdeps/powerpc/ifunc-sel.h: ... here.
69748         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69749         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69751         * sysdeps/sparc/elf/configure.in: Moved to ...
69752         * sysdeps/sparc/configure.in: ... here.
69753         * sysdeps/sparc/elf/configure: Delete file.
69754         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69755         * sysdeps/sparc/sparc32/start.S: ... here.
69756         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69757         * sysdeps/sparc/sparc64/start.S: ... here.
69758         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69759         * sysdeps/sparc/sparc32/Makefile: ... this.
69760         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69761         * sysdeps/sparc/sparc64/Makefile: ... this.
69763         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69764         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69765         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69766         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69767         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69768         * sysdeps/s390/s390-32/setjmp.S: ... here.
69769         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69770         * sysdeps/s390/s390-32/configure.in: ... here.
69771         * sysdeps/s390/s390-32/elf/configure: Delete file.
69772         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69773         * sysdeps/s390/s390-32/start.S: ... here.
69775         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69776         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69777         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69778         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69779         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69780         * sysdeps/s390/s390-64/setjmp.S: ... here.
69781         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69782         * sysdeps/s390/s390-64/configure.in: ... here
69783         * sysdeps/s390/s390-64/elf/configure: Delete file.
69784         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69785         * sysdeps/s390/s390-64/start.S: ... here.
69786         * sysdeps/s390/s390-64/elf/configure: Delete.
69788         * configure.in: Remove support for elf directories in sysdeps.
69790         * configure: Regenerated.
69791         * sysdeps/i386/configure: Regenerated.
69792         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69793         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69794         * sysdeps/s390/s390-32/configure: Regenerated.
69795         * sysdeps/s390/s390-64/configure: Regenerated.
69796         * sysdeps/sh/configure: Regenerated.
69797         * sysdeps/sparc/configure: Regenerated.
69798         * sysdeps/x86_64/configure: Regenerated.
69800 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69804         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69805         denormal result into account.
69807 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69809         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69810         Reported by Allan McRae <allan@archlinux.org>.
69812 2012-03-23  Jeff Law  <law@redhat.com>
69814         * nss/getnssent.c (__nss_getent): Fix typo.
69816 2012-03-23  David S. Miller  <davem@davemloft.net>
69818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69820 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69822         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69823         to pad to uint64_t for each field.
69824         (dl_tls_index): Replace unsigned long with uint64_t.
69826 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69827         Paul Pluzhnikov  <ppluzhnikov@google.com>
69829         [BZ #6528]
69830         * grp/Makefile (otherlibs): Don't set it.
69831         * inet/Makefile (otherlibs): Likewise.
69832         * login/Makefile (otherlibs): Likewise.
69833         * nscd/Makefile (otherlibs): Likewise.
69834         * posix/Makefile (otherlibs): Likewise.
69835         * pwd/Makefile (otherlibs): Likewise.
69836         * rt/Makefile (otherlibs): Likewise.
69837         * sunrpc/Makefile (otherlibs): Likewise.
69838         * nss/Makefile (otherlibs): Likewise.
69839         Add libnss_files to routines and static-only-routines.
69840         ($(objpfx)getent): Remove rule.
69841         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69842         static-only-routines.
69844 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69846         [BZ #13892]
69847         * math/s_cexp.c: Include <float.h>.
69848         (__cexp): Handle exp result overflowing not necessarily
69849         overflowing both real and imaginary parts of result.
69850         * math/s_cexpf.c: Likewise.
69851         * math/s_cexpl.c: Likewise.
69852         * math/libm-test.inc (cexp_test): Add more tests.
69853         * sysdeps/i386/fpu/libm-test-ulps: Update.
69854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69856 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69858         * include/link.h (ELFW): New macro.
69859         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69860         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69862 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69864         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69865         with uint64_t.
69867 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69869         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69870         declaration.
69871         (struct La_x32_retval): Likewise.
69873 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69875         * sysdeps/x86_64/preconfigure.in: New file.
69876         * sysdeps/x86_64/preconfigure: New generated file.
69878 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69880         [BZ #13824]
69881         * math/e_exp2l.c: Include <float.h>.
69882         (__ieee754_exp2l): Handle overflow and underflow cases
69883         separately.  Only pass fractional part of argument to
69884         __ieee754_expl.
69885         * math/libm-test.inc (exp2_test): Add more tests.
69887         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69888         negating x to take absolute value.
69889         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69890         Likewise.
69891         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69892         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69893         Likewise.
69894         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69895         computing low part if x was negated.
69896         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69898 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69900         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69901         la_x32_gnu_pltexit.
69902         (pltexit): Cast int_retval to ptrdiff_t.
69903         * elf/tst-auditmod3b.c: Likewise.
69904         * elf/tst-auditmod4b.c: Likewise.
69905         * elf/tst-auditmod5b.c: Likewise.
69906         * elf/tst-auditmod6b.c: Likewise.
69907         * elf/tst-auditmod6c.c: Likewise.
69908         * elf/tst-auditmod7b.c: Likewise.
69910         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69911         and x32_gnu_pltexit.
69913         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69914         __ELF_NATIVE_CLASS.
69915         (La_x32_regs): New macro.
69916         (La_x32_retval): Likewise.
69917         (la_x32_gnu_pltenter): New function prototype.
69918         (la_x32_gnu_pltexit): Likewise.
69920 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69922         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69923         exponent.
69925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69927         * configure.in (libc_cv_cc_nofma): Check for option to disable
69928         generation of FMA instructions.
69929         * configure: Regenerate.
69930         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69931         * sysdeps/ieee754/dbl-64/Makefile: New file.
69932         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69933         Remove brandred-fma4.
69934         (CFLAGS-brandred-fma4.c): Remove.
69935         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69936         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69937         define.
69938         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69939         define.
69941 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69943         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69944         LLONG_MAX != LONG_MAX.
69945         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69946         (_fitoa_word): Likewise.
69947         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69948         LLONG_MAX != LONG_MAX.
69949         * stdio-common/_itowa.h: Include <_itoa.h>.
69950         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69951         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69952         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69953         only if not defined.
69954         (_ITOA_WORD_TYPE): Likewise.
69955         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69956         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69958 2012-03-21  David S. Miller  <davem@davemloft.net>
69960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69962 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69964         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69965         of x86_64 when setting libc_cv_slibdir, libdir and
69966         libc_cv_localedir.
69967         * sysdeps/unix/sysv/linux/configure: Regenerated.
69969 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69971         * manual/lang.texi (Old Varargs): Remove section.
69972         (How Variadic): Update menu.
69973         (va_start): Do not mention varargs.h.
69975 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69976             Joseph Myers  <joseph@codesourcery.com>
69978         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69979         link test.
69980         * configure: Regenerated.
69982 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69984         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69985         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69986         conformtest.pl
69988 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69990         * NOTES: Remove.
69991         * Makefile (files-for-dist): Remove NOTES.
69992         (NOTES): Remove rule.
69993         * README: Don't refer to NOTES.
69994         * manual/creature.texi: Don't include macros.texi.
69995         * manual/intro.texi (creature.texi): Remove comment referring to
69996         NOTES.
69998         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69999         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70000         * configure: Regenerated.
70001         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70002         LIBC_TRY_CC_OPTION.
70003         (libc_cv_as_i686): Likewise.
70004         (libc_cv_cc_avx): Likewise.
70005         (libc_cv_cc_sse2avx): Likewise.
70006         (libc_cv_cc_fma4): Likewise.
70007         (libc_cv_cc_novzeroupper): Likewise.
70008         * sysdeps/i386/configure: Regenerated.
70010         [BZ #13883]
70011         * sysdeps/i386/fpu/s_cexp.S: Remove.
70012         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70013         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70014         * math/libm-test.inc (cexp_test): Add more tests.
70015         * sysdeps/i386/fpu/libm-test-ulps: Update.
70016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70018 2012-03-21  Allan McRae  <allan@archlinux.org>
70020         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70022 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70024         [BZ #13871]
70025         * math/w_exp2.c: Do not include <float.h>.
70026         (o_threshold, u_threshold): Remove.
70027         (__exp2): Calculate result before checking finiteness and calling
70028         __kernel_standard.
70029         * math/w_exp2f.c: Likewise.
70030         * math/w_exp2l.c: Likewise.
70031         * math/libm-test.inc (exp2_test): Require overflow exception for
70032         1e6 input.
70034         [BZ #3866]
70035         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70036         range of signed 64-bit integers before using fistpll.  Remove
70037         checks for whether integers fit in mantissa bits.
70038         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70039         the range of signed 32-bit integers before using fistpl.  Remove
70040         checks for whether integers fit in mantissa bits.
70041         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70042         (__ieee754_powl): Test for y outside the range of signed 64-bit
70043         integers before using fistpll.  Reduce 64-bit values to 63-bit
70044         ones as needed.
70045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70046         divide-by-zero is raised for zero to large negative powers.
70047         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70048         (__ieee754_powl): Test for y outside the range of signed 64-bit
70049         integers before using fistpll.  Reduce 64-bit values to 63-bit
70050         ones as needed.
70051         * math/libm-test.inc (pow_test): Add more tests.
70053 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70055         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70056         <stdio-common/_itoa.h>.
70057         * debug/segfault.c: Likewise.
70058         * elf/dl-cache.c: Likewise.
70059         * elf/dl-minimal.c: Likewise.
70060         * elf/dl-misc.c: Likewise.
70061         * elf/dl-sysdep.c: Likewise.
70062         * elf/dl-version.c: Likewise.
70063         * elf/rtld.c: Likewise.
70064         * hurd/hurdsock.c: Likewise.
70065         * hurd/lookup-retry.c: Likewise.
70066         * malloc/malloc.c: Likewise.
70067         * malloc/mtrace.c: Likewise.
70068         * nscd/nscd_getgr_r.c: Likewise.
70069         * nscd/nscd_getpw_r.c: Likewise.
70070         * nscd/nscd_getserv_r.c: Likewise.
70071         * posix/getopt_init.c: Likewise.
70072         * posix/wordexp.c: Likewise.
70073         * stdio-common/_itoa.c: Likewise.
70074         * stdio-common/printf_fphex.c: Likewise.
70075         * stdio-common/vfprintf.c: Likewise.
70076         * string/_strerror.c: Likewise.
70077         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70078         * sysdeps/i386/i686/hp-timing.h: Likewise.
70079         * sysdeps/mach/_strerror.c: Likewise.
70080         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70081         * sysdeps/mach/hurd/sethostid.c: Likewise.
70082         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70083         * sysdeps/mach/xpg-strerror.c: Likewise.
70084         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70086         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70087         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70088         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70089         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70090         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70091         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70092         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70093         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70094         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70095         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70096         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70097         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70098         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70099         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70100         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70101         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70102         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70103         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70104         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70106         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70108         * stdio-common/_itoa.h: Moved to ...
70109         * sysdeps/generic/_itoa.h: Here.
70111         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70113         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70114         instead of "_itoa.h" and "_itowa.h".
70115         * stdio-common/vfprintf.: Likewise.
70117 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70119         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70120         <bits/wordsize.h>.
70121         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70122         (__signbit): Likwise.
70123         (llrintf): Likwise.
70124         (llrint): Likwise.
70126 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70128         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70129         __WORDSIZE != 64.
70131 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70133         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70134         OVERFLOW_EXCEPTION_OK.
70135         * math/libm-test.inc ("Philosophy"): Update comment about
70136         exception testing.
70137         (OVERFLOW_EXCEPTION): Define.
70138         (OVERFLOW_EXCEPTION_OK): Likewise.
70139         (INVALID_EXCEPTION_OK): Renumber.
70140         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70141         (IGNORE_ZERO_INF_SIGN): Likewise.
70142         (test_exceptions): Handle FE_OVERFLOW.
70143         (exp10_test): Expect overflow exceptions.
70144         (exp2_test): Likewise.
70145         (expm1_test): Likewise.
70146         (nextafter_test): Likewise.
70147         (pow_test): Likewise.
70148         (scalbn_test): Likewise.
70149         (scalbln_test): Likewise.
70151 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70153         * sysdeps/x86_64/bits/atomic.h
70154         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70155         64bit integer.
70156         (atomic_exchange_acq): Likewise.
70157         (__arch_exchange_and_add_body): Likewise.
70158         (__arch_add_body): Likewise.
70159         (atomic_add_negative): Likewise.
70160         (atomic_add_zero): Likewise.
70162 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70164         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70165         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70167 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70169         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70170         Check __x86_64__ instead of __WORDSIZE.
70172 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70174         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70176 2012-03-19  David S. Miller  <davem@davemloft.net>
70178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70180         * sysdeps/sparc/fpu/fenv_private.h: New file.
70181         * sysdeps/sparc/fpu/math_private.h: Use it.
70182         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70183         Remove.
70184         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70185         (libc_feholdexcept_setroundl): Remove.
70186         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70187         Remove.
70188         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70189         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70191 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70193         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70194         int64_t instead of long int.
70195         (INSERT_WORDS64): Likwise.
70197 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70199         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70200         _Unwind_GetCFA return to _Unwind_Ptr first.
70202 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70204         [BZ #13629]
70205         * math/s_clog.c: Include <float.h>.
70206         (__clog): Scale large or subnormal inputs.
70207         * math/s_clogf.c: Likewise.
70208         * math/s_clogl.c: Likewise.
70209         * math/s_clog10.c: Include <float.h>.
70210         (M_LOG10_2): Define.
70211         (__clog10): Scale large or subnormal inputs.
70212         * math/s_clog10f.c: Likewise.
70213         * math/s_clog10l.c: Likewise.
70214         * math/libm-test.inc (clog_test): Add more tests.
70215         (clog10_test): Likewise.
70216         * sysdeps/i386/fpu/libm-test-ulps: Update.
70217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70219         [BZ #11451]
70220         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70221         x and y.
70222         * math/libm-test.inc (atan2_test): Add another test.
70224         * Makerules (common-objdir-compile): Remove.
70225         * sysdeps/unix/Makefile (config-generated): Do not add
70226         $(unix-generated) to variable.
70227         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70228         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70229         Remove rule.
70230         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70231         Likewise.
70232         [generic bits/local_lim.h] (before-compile): Do not append to
70233         variable.
70234         [generic bits/local_lim.h] (common-generated): Likewise.
70235         [generic sys/param.h] (before-compile): Do not append to variable.
70236         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70237         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70238         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70239         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70240         include.
70241         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70242         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70243         [generic sys/param.h] ($(addprefix
70244         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70245         [generic sys/param.h] (common-generated): Do not append to
70246         variable.
70247         [generic sys/param.h] (sysdep_headers): Likewise.
70248         [generic bits/errno.h] (before-compile): Do not append to
70249         variable.
70250         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70251         rule.
70252         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70253         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70254         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70255         [generic bits/errno.h] (common-generated): Do not append to
70256         variable.
70257         [generic bits/ioctls.h] (before-compile): Do not append to
70258         variable.
70259         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70260         rule.
70261         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70262         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70263         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70264         rule.
70265         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70266         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70267         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70268         [generic bits/ioctls.h] (common-generated): Do not append to
70269         variable.
70270         [generic sys/syscall.h] (syscall.h): Remove variable.
70271         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70272         rule.
70273         [generic sys/syscall.h] (before-compile): Do not append to
70274         variable.
70275         [generic sys/syscall.h] (common-generated): Likewise.
70276         * sysdeps/unix/errnos-tmpl.c: Remove file.
70277         * sysdeps/unix/errnos.awk: Likewise.
70278         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70279         * sysdeps/unix/ioctls.awk: Likewise.
70280         * sysdeps/unix/mk-local_lim.c: Likewise.
70281         * sysdeps/unix/snarf-ioctls: Likewise.
70283 2012-03-19  Richard Henderson  <rth@twiddle.net>
70285         * sysdeps/i386/fpu/fenv_private.h: New file.
70286         * sysdeps/i386/fpu/math_private.h: Use it.
70287         (math_opt_barrier, math_force_eval): Remove.
70288         (libc_feholdexcept_setround_53bit): Remove.
70289         (libc_feupdateenv_53bit): Remove.
70290         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70291         (math_opt_barrier, math_force_eval): Remove.
70292         (libc_feholdexcept): Remove.
70293         (libc_feholdexcept_setround): Remove.
70294         (libc_fetestexcept, libc_fesetenv): Remove.
70295         (libc_feupdateenv_test): Remove.
70296         (libc_feupdateenv, libc_feholdsetround): Remove.
70297         (libc_feresetround): Remove.
70299         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70300         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70302         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70303         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70304         (libc_feupdateenv_testl): New.
70305         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70306         (libc_feupdateenv_testf): New.
70307         (libc_feupdateenv): Use libc_feupdateenv_test.
70308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70309         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70311         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70312         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70313         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70314         (libc_feresetround_noex): New.
70315         (libc_feresetround_noexf): New.
70316         (libc_feresetround_noexl): New.
70317         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70318         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70319         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70320         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70321         SET_RESTORE_ROUND.
70322         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70324         (__cos): Likewise.
70325         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70326         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70327         SET_RESTORE_ROUND_NOEX.
70328         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70329         SET_RESTORE_ROUND_NOEXF.
70330         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70331         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70332         (libc_feholdsetroundf): New.
70333         (libc_feresetround, libc_feresetroundf): New.
70335         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70336         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70337         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70339         * sysdeps/generic/math_private.h: Include <fenv.h>.
70340         (default_libc_feholdexcept): New.
70341         (default_libc_feholdexcept_setround): New.
70342         (default_libc_fesetenv, default_libc_feupdateenv): New.
70343         (libc_feholdexcept): Only define if undefined.
70344         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70345         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70346         (libc_feholdexcept_setroundl): Likewise.
70347         (libc_feholdexcept_setround_53bit): Likewise.
70348         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70349         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70350         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70351         (libc_feupdateenv_53bit): Likewise.
70352         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70353         (libc_feholdexcept): Convert from macro to inline function.
70354         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70355         (libc_fesetenv, libc_feupdateenv): Likewise.
70357         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70358         not previously defined.
70359         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70360         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70361         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70362         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70363         * sysdeps/ieee754/flt-32/math_private.h: New file.
70364         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70365         math_private.h below SET_FLOAT_WORD.
70366         (__isnan, __isinf_ns, __finite): Remove.
70367         (__isnanf, __isinf_nsf, __finitef): Remove.
70369 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70373 2012-03-17  David S. Miller  <davem@davemloft.net>
70375         [BZ #6471]
70376         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70377         for 2.16.
70379 2012-03-16  David S. Miller  <davem@davemloft.net>
70381         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70382         warnings.
70384         [BZ #6471]
70385         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70386         properly.
70387         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70388         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70389         sysdep_routines when subdir is sysvipc.
70390         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70391         __getshmlba helper.
70393         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70395 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70397         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70398         [__LP64__].
70400 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70402         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70403         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70404         (__lround): Renamed to ...
70405         (__llround): This.  Replace long int with long long int.
70406         Define lround functions as aliases of llround functions.
70407         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70411         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70412         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70413         adresses to uintptr_t.  Replace "long int" and "unsigned long
70414         int" with "greg_t" on va_arg.
70416 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70418         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70419         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70421         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70422         Move e_machine check before EI_CLASS check.  Handle x32
70423         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70424         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70425         SKIP_EM_IA_64 and include
70426         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70428         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70429         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70430         (add_system_dir): New macro.
70432         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70433         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70435 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70437         [BZ #2551]
70438         [BZ #2552]
70439         [BZ #2553]
70440         [BZ #2554]
70441         [BZ #2562]
70442         [BZ #2563]
70443         [BZ #2565]
70444         [BZ #2566]
70445         [BZ #2576]
70446         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70447         (y0): Likewise.
70448         * math/w_j0f.c (j0f): Likewise.
70449         (y0f): Likewise.
70450         * math/w_j0l.c (__j0l): Likewise.
70451         (__y0l): Likewise.
70452         * math/w_j1.c (j1): Likewise.
70453         (y1): Likewise.
70454         * math/w_j1f.c (j1f): Likewise.
70455         (y1f): Likewise.
70456         * math/w_j1l.c (__j1l): Likewise.
70457         (__y1l): Likewise.
70458         * math/w_jn.c (jn): Likewise.
70459         (yn): Likewise.
70460         * math/w_jnf.c (jnf): Likewise.
70461         (ynf): Likewise.
70462         * math/w_jnl.c (__jnl): Likewise.
70463         (__ynl): Likewise.
70464         * math/libm-test.inc (j0_test): Add more tests.
70465         (j1_test): Likewise.
70466         (jn_test): Likewise.  Add trailing semicolon to existing test.
70467         (y0_test): Likewise.
70468         (y1_test): Likewise.
70469         * sysdeps/i386/fpu/libm-test-ulps: Update.
70470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70472         [BZ #13851]
70473         [BZ #13854]
70474         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70475         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70476         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70477         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70478         (__tanl): Set errno for infinite argument.
70479         * sysdeps/i386/fpu/mptan.c: Remove.
70480         * sysdeps/i386/fpu/s_tan.S: Likewise.
70481         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70482         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70483         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70484         * math/libm-test.inc (tan_test): Add more tests and enable more
70485         tests for double and long double.
70486         * sysdeps/i386/fpu/libm-test-ulps: Update.
70487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70489 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70491         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70492         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70494 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70496         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70497         * configure.in: Use it for both main tree and add-ons.
70498         * configure: Regenerated.
70500 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70502         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70504 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70506         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70507         in comment.
70509         [BZ #13851]
70510         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70511         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70512         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70513         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70514         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70515         infinite argument.
70516         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70517         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70518         != 0 for prec == 2.
70519         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70520         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70521         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70522         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70523         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70524         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70525         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70526         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70527         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70528         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70529         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70530         * math/libm-test.inc (cos_test): Add more tests and enable more
70531         tests for long double.
70532         (sin_test): Likewise.
70533         (sincos_test): Likewise.
70534         * sysdeps/i386/fpu/libm-test-ulps: Update.
70535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70537 2012-03-16  David S. Miller  <davem@davemloft.net>
70539         * sysdeps/sparc/fpu/math_private.h: New file.
70541 2012-03-15  David S. Miller  <davem@davemloft.net>
70543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70544         file.
70545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70547         file.
70548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70554         sysdep routines.
70555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70557         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70558         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70560         * sysdeps/sparc/sparc-ifunc.h: New file.
70561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70562         sparc-ifunc.h
70563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70565         Likewise.
70566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70567         Likewise.
70568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70572         Likewise.
70573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70578         Likewise.
70579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70580         Likewise.
70581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70587         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70599         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70600         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70601         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70602         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70606 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70608         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70609         scaling.
70610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70612 2012-03-15  Andreas Jaeger  <aj@suse.de>
70614         [BZ #13852]
70615         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70616         ieee754/flt-32 implementation for sin, cos and sincos.
70617         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70618         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70619         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70620         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70621         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70622         ieee754/flt-32 implementation for tan.
70624         * math/libm-test.inc (cos_test): Enable some large input tests for
70625         float as well
70626         (sin_test): Likewise.
70627         (sincos_test): Likewise.
70628         (tan_test): Add tests for large input.
70630         * sysdeps/i386/fpu/libm-test-ulps: Update.
70632 2012-03-15  Andreas Jaeger  <aj@suse.de>
70634         [BZ #13658]
70635         * math/libm-test.inc (cos_test): Add more test cases.
70636         (sin_test): Likewise.
70637         (sincos_test): Likewise.
70639 2012-03-15  Andreas Jaeger  <aj@suse.de>
70641         [BZ #13837]
70642         * math/libm-test.inc (cos_test): Add a test case for large input
70643         value.
70644         (sin_test): Likewise.
70645         (sincos_test): Likewise.
70647 2012-03-15  Andreas Jaeger  <aj@suse.de>
70648             Joseph Myers  <joseph@codesourcery.com>
70650         [BZ #13658]
70651         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70652         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70653         * sysdeps/i386/fpu/branred.c: Likewise.
70654         * sysdeps/i386/fpu/dosincos.c: Likewise.
70655         * sysdeps/i386/fpu/mpa.c: Likewise.
70656         * sysdeps/i386/fpu/s_cos.S: Likewise.
70657         * sysdeps/i386/fpu/s_sin.S: Likewise.
70658         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70659         * sysdeps/i386/fpu/sincos32.c: Likewise.
70661         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70662         Define.
70663         (libc_feupdateenv_53bit): Define.
70664         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70665         Define.
70666         (libc_feupdateenv_53bit): Define.
70668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70669         53 bit (without extend i386 double precision).
70671         * math/libm-test.inc (sincos_test): Add tests for large input.
70672         (sin): Likewise.
70673         (cos): Likewise.
70675         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70677 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70681 2012-03-15  David S. Miller  <davem@davemloft.net>
70683         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70684         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70685         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70686         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70699         file.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70702         file.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70705         file.
70706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70708         file.
70709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70710         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70711         fmin/fmax sysdep routines.
70712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70714 2012-03-14  David S. Miller  <davem@davemloft.net>
70716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70720         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70736         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70737         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70740         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70741         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70745         routines.
70746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70747         file.
70748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70750         file.
70751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70753         file.
70754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70756         file.
70757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70759         file.
70760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70762         file.
70763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70764         file.
70765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70766         file.
70767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70768         file.
70769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70770         New file.
70771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70772         file.
70773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70774         file.
70775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70777         file.
70778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70780         file.
70781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70783         file.
70784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70786         VIS3 routines.
70788         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70789         New file.
70791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70793         * sysdeps/sparc/configure.in: New file.
70794         * sysdeps/sparc/configure: Generate.
70795         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70796         * configure: Regenerate.
70797         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70798         * config.make.in (have-as-vis3): New.
70799         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70800         available use -Av9d instead of -Av9a.
70801         * sysdeps/sparc/sparc64/Makefile: Likewise.
70802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70804         New file.
70805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70806         file.
70807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70808         New file.
70809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70810         file.
70811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70812         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70813         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70817         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70818         fzeros/fnegs to load 0x80000000 into a float register instead of
70819         using the stack.
70820         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70822 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70825         bits/syscall.h.
70826         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70827         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70828         ($(inst_includedir)/bits/syscall.h): Remove rule.
70829         ($(objpfx)bits/syscall.d): Include instead of
70830         $(objpfx)syscall-list.d.
70831         (generated): Change syscall-list.h and syscall-list.d to
70832         bits/syscall.h and bits/syscall.d.
70834 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70836         [BZ #13846]
70837         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70839 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70841         [BZ #13841]
70842         * math/s_csqrt.c: Include <float.h>.
70843         (__csqrt): Scale large or subnormal inputs.
70844         * math/s_csqrtf.c: Likewise.
70845         * math/s_csqrtl.c: Likewise.
70846         * math/libm-test.inc (csqrt_test): Add more tests.
70847         * sysdeps/i386/fpu/libm-test-ulps: Update.
70848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70850         [BZ #13840]
70851         * math/libm-test.inc (hypot_test): Add more tests.
70853 2012-03-13  David S. Miller  <davem@davemloft.net>
70855         [BZ #13840]
70856         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70857         double-precision for the calculation instead of scaling.
70859 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70861         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70862         manipulate bits before adding and subtracting TWO52[sx].
70863         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70864         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70865         Likewise.
70866         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70868 2012-03-13  David S. Miller  <davem@davemloft.net>
70870         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70871         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70872         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70873         rtld-global-offsets.h
70874         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70876         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70877         large parameters.
70879         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70881         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70882         'err' in the ifdef scope in which it is actually used.
70884         * nss/nss_db/db-init.c: Include string.h
70886 2012-03-12  David S. Miller  <davem@davemloft.net>
70888         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70889         masking out of the most significant byte of random value used.
70890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70891         Fix coding style in previous change.
70893         * sysdeps/unix/sysv/linux/kernel-features.h
70894         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70895         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70896         expression.
70897         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70898         later.
70900 2012-03-11  David S. Miller  <davem@davemloft.net>
70902         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70903         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70904         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70905         for 'resultvar' otherwise things get truncated on 64-bit.
70907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70908         Fix masking out of the most significant byte of random value used.
70910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70912 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70916 2012-03-09  David S. Miller  <davem@davemloft.net>
70918         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70919         variables with appropriate CPP guards.
70920         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70921         from the frame pointer, not the stack pointer.  Correct layout
70922         comments.  Fix test on resulting framesize and the management of
70923         the outregs buffer for pltexit.  Preserve floating point return
70924         values across _dl_call_pltexit call.
70925         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70926         framesize and the management of the outregs buffer for pltexit.
70927         Preserve floating point return values across _dl_call_pltexit
70928         call.
70929         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70930         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70931         (la_sparc64_gnu_pltexit): New functions.
70932         (print_exit): Fix format string for return register value.
70934 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70936         * sunrpc/Makefile (others): Add rpcgen.
70937         ($(objpfx)rpcgen): Remove special build rule and dependency on
70938         libc.
70939         * sunrpc/rpcgen.c: New file.
70941 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70943         [BZ #13673]
70944         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70945         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70946         * sysdeps/i386/crti.S: Likewise.
70947         * sysdeps/i386/crtn.S: Likewise.
70948         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70949         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70950         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70951         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70952         * sysdeps/sh/crti.S: Likewise.
70953         * sysdeps/sh/crtn.S: Likewise.
70954         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70956         [BZ #13673]
70957         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70958         with URL.
70959         * locale/programs/locfile-kw.gperf: Likewise.
70960         * locale/programs/charmap-kw.h: Regenerated.
70961         * locale/programs/locfile-kw.h: Likewise.
70963         [BZ #13673]
70964         * intl/plural.y: Replace FSF snail mail address with URL.
70965         * intl/plural.c: Regenerated.
70967 2012-03-09  Richard Henderson  <rth@twiddle.net>
70969         * include/math_private.h: Remove file.
70970         * math/math_private.h: Move file ...
70971         * sysdeps/generic/math_private.h: ... here.
70973         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70974         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70975         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70977         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70978         and <math_private.h>.
70979         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70980         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70981         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70982         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70983         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70984         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70985         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70986         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70987         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70988         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70990         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70991         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70992         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70993         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70994         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70995         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70996         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70997         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70998         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71000         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71001         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71003         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71005         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71008         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71009         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71010         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71011         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71012         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71013         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71014         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71015         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71016         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71017         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71018         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71019         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71020         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71021         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71022         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71023         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71024         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71025         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71026         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71027         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71028         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71029         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71030         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71031         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71032         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71033         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71034         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71035         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71036         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71037         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71038         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71039         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71040         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71041         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71042         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71043         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71044         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71045         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71046         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71047         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71048         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71049         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71050         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71051         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71052         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71053         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71054         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71057         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71058         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71059         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71060         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71062         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71063         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71065         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71066         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71067         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71068         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71069         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71070         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71071         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71072         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71073         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71074         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71075         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71076         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71077         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71078         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71079         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71080         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71081         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71082         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71083         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71084         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71085         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71086         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71087         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71088         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71089         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71090         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71091         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71092         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71093         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71094         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71095         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71096         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71097         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71098         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71099         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71100         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71101         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71102         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71103         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71104         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71105         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71106         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71107         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71108         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71109         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71110         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71111         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71112         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71113         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71114         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71115         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71116         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71117         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71118         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71119         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71120         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71121         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71122         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71123         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71124         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71125         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71126         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71127         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71128         * sysdeps/ieee754/k_standard.c: Likewise.
71129         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71130         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71131         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71132         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71133         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71134         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71135         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71136         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71137         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71138         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71139         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71141         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71142         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71143         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71144         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71145         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71146         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71147         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71148         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71149         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71150         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71151         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71152         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71153         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71154         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71155         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71156         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71158         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71159         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71160         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71161         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71162         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71163         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71164         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71165         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71166         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71167         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71168         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71169         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71187         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71189         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71191         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71195         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71197         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71202         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71203         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71204         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71205         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71206         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71211         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71212         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71213         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71214         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71215         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71216         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71217         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71219         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71220         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71221         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71222         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71223         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71224         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71225         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71226         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71227         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71228         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71230         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71231         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71232         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71233         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71234         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71235         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71236         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71237         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71239         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71240         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71241         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71242         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71243         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71244         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71245         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71246         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71247         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71248         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71249         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71250         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71251         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71252         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71253         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71254         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71255         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71256         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71257         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71258         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71259         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71260         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71261         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71262         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71263         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71264         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71265         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71266         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71267         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71270         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71272         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71273         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71277         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71278         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71279         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71280         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71282         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71283         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71284         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71286         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71287         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71288         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71289         * sysdeps/ieee754/s_lib_version.c: Likewise.
71290         * sysdeps/ieee754/s_matherr.c: Likewise.
71291         * sysdeps/ieee754/s_signgam.c: Likewise.
71292         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71293         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71294         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71295         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71296         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71297         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71298         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71299         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71300         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71301         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71302         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71303         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71304         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71305         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71306         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71307         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71308         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71309         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71310         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71311         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71312         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71314 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71316         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71317         * sunrpc/rpc_main.c: Likewise.
71318         * sunrpc/rpc_svcout.c: Likewise.
71320 2012-03-09  David S. Miller  <davem@davemloft.net>
71322         * include/math_private.h: New file.
71324 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71326         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71327         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71328         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71329         from <bits/socket_type.h>.
71330         (enum __socket_type): Don't define here.
71331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71333         bits/socket_type.h.
71335         [BZ #13566]
71336         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71337         checking __USE_GNU.
71339         * Makerules ($(inst_includedir)/%.h): New rule.
71340         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71341         (install-others): Remove variable setting.
71342         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71344 2012-03-08  Richard Henderson  <rth@twiddle.net>
71346         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71347         from macro to inline function; merge with the
71348         !__LIBC_INTERNAL_MATH_INLINES version.
71349         (__ieee754_sqrtf): Likewise.
71351         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71352         to inline function.
71353         (__rintf, __floor, __floorf): Likewise.
71355         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71356         macro to inline function.
71357         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71359         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71360         not <math/math_private.h>.
71362 2012-03-08  David S. Miller  <davem@davemloft.net>
71364         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71365         copyright year.
71366         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71368 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71370         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71371         normalization.
71372         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71373         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71375 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71377         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71378         be defined individually, they must be defined as a block.  Define
71379         S for printing a string instead of hidint the different by using a
71380         macro for adding the 'l'.
71381         * stdio-common/tst-fphex-wide.c: Adjust.
71383 2012-03-07  Marek Polacek  <polacek@redhat.com>
71385         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71387 2012-03-08  Marek Polacek  <polacek@redhat.com>
71389         [BZ #13806]
71390         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71391         * stdio-common/tst-fphex.c: Define a few macros to make the
71392         test reusable.  Use them.
71393         * stdio-common/tst-fphex-wide.c: New file.
71395 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71397         [BZ #6911]
71398         * manual/macros.texi (gnusystems): New macro.
71399         (nongnusystems): Likewise.
71400         (gnulinuxhurdsystems): Likewise.
71401         (gnuhurdsystems): Likewise..
71402         (gnulinuxsystems): Likewise.
71403         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71404         variants of the GNU system, not "GNU system".
71405         * manual/conf.texi: Likewise.
71406         * manual/errno.texi: Likewise.  Update example of errno macro
71407         expansion.
71408         * manual/filesys.texi: Likewise.
71409         (getumask): Document as specific to GNU/Hurd.
71410         * manual/install.texi: Likewise.  Reword some references to
71411         GNU/Linux.
71412         * manual/intro.texi: Likewise.
71413         * manual/io.texi: Likewise.
71414         (File Name Portability): Detail which constraints are inapplicable
71415         to all GNU systems and which are only inapplicable to GNU/Hurd.
71416         * manual/job.texi: Likewise.
71417         * manual/llio.texi: Likewise.
71418         (O_NOCTTY): Document as present on GNU/Linux.
71419         * manual/maint.texi: Likewise.
71420         * manual/memory.texi: Likewise.
71421         * manual/pattern.texi: Likewise.
71422         * manual/pipe.texi: Likewise.
71423         * manual/process.texi: Likewise.
71424         * manual/resource.texi: Likewise.
71425         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71426         child on GNU/Hurd.
71427         * manual/setjmp.texi: Likewise.
71428         * manual/signal.texi: Likewise.
71429         * manual/startup.texi: Likewise.
71430         * manual/stdio.texi: Likewise.
71431         * manual/terminal.texi: Likewise.
71432         (ONLCR): Document as POSIX.
71433         (OXTABS): Document availability on GNU/Linux as XTABS.
71434         (ONOEOT): Document availability separately from other bits.
71435         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71436         * manual/time.texi: Likewise.
71437         * manual/users.texi: Likewise.
71438         * INSTALL: Regenerated.
71439         * sysdeps/gnu/errlist.c: Regenerated.
71441         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71442         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71443         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71444         puts.
71445         * configure: Regenerated.
71447 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71449         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71450         default includes instead of AC_HEADER_CHECK.
71451         * sysdeps/i386/configure: Regenerated.
71453         [BZ #10716]
71454         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71455         * math/s_cacoshf.c (__cacoshf): Likewise.
71456         * math/s_cacoshl.c (__cacoshl): Likewise.
71457         * math/s_casinh.c (__casinh): Set signs of result from argument.
71458         * math/s_casinhf.c (__casinhf): Likewise.
71459         * math/s_casinhl.c (__casinhl): Likewise.
71460         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71461         (casinh_test): Add more tests.
71462         * sysdeps/i386/fpu/libm-test-ulps: Update.
71463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71465 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71467         * po/zh_TW.po: Update from translation team.
71469         * login/Makefile (distribute): Remove variable.
71470         * catgets/Makefile: Likewise.
71471         * mach/Makefile: Likewise.
71472         * malloc/Makefile: Likewise.
71473         * misc/Makefile: Likewise.
71474         * iconv/Makefile: Likewise.
71475         * nscd/Makefile: Likewise.
71476         * hurd/Makefile: Likewise.
71477         * manual/Makefile: Likewise.
71478         * locale/Makefile: Likewise.
71479         * intl/Makefile: Likewise.
71480         * conform/Makefile: Likewise.
71481         * nss/Makefile: Likewise.
71482         * time/Makefile: Likewise.
71483         * soft-fp/Makefile: Likewise.
71484         * dirent/Makefile: Likewise.
71485         * gmon/Makefile: Likewise.
71486         * po/Makefile: Likewise.
71487         * rt/Makefile: Likewise.
71488         * socket/Makefile: Likewise.
71489         * math/Makefile: Likewise.
71490         * signal/Makefile: Likewise.
71491         * debug/Makefile: Likewise.
71492         * elf/Makefile: Likewise.
71493         * timezone/Makefile: Likewise.
71494         * stdlib/Makefile: Likewise.
71495         * iconvdata/Makefile: Likewise.
71496         * sunrpc/Makefile: Likewise.
71497         * io/Makefile: Likewise.
71498         * argp/Makefile: Likewise.
71499         * inet/Makefile: Likewise.
71500         * hesiod/Makefile: Likewise.
71501         * grp/Makefile: Likewise.
71502         * csu/Makefile: Likewise.
71503         * wctype/Makefile: Likewise.
71504         * crypt/Makefile: Likewise.
71505         * libio/Makefile: Likewise.
71506         * string/Makefile: Likewise.
71507         * nis/Makefile: Likewise.
71508         * resolv/Makefile: Likewise.
71509         * stdio-common/Makefile: Likewise.
71510         * wcsmbs/Makefile: Likewise.
71511         * dlfcn/Makefile: Likewise.
71512         * posix/Makefile: Likewise.
71514         [BZ #6959]
71515         * timezone/Makefile: Don't install timezone files, just the programs
71516         and scripts.
71518 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71520         * nss/databases.def: Add missing gshadow entry.
71522         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71524 2012-03-06  Marek Polacek  <polacek@redhat.com>
71526         [BZ #13726]
71527         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71528         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71529         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71530         * stdio-common/tst-long-dbl-fphex.c: New file.
71532 2012-03-06  David S. Miller  <davem@davemloft.net>
71534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71535         (set_obp_int): New function.
71536         (get_obp_int): New function.
71537         (__get_clockfreq_via_dev_openprom): Likewise.
71538         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71539         Avoid unused variable warnings on 'val' and use builtin_expect.
71540         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71541         __builtin_expect.
71542         (INLINE_CLONE_SYSCALL): Likewise.
71544 2012-03-05  David S. Miller  <davem@davemloft.net>
71546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71548 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71553         only for |x| >= 40.
71554         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71556 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71559         Replace gettimeofday with __vdso_gettimeofday.
71561         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71562         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71563         __vdso_clock_gettime and __vdso_getcpu.
71565         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71566         time with __vdso_time.
71568 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71570         * manual/lang.texi (size_t): Note types to which size_t may be
71571         equivalent with the GNU C Library, but do not describe when
71572         differences between them are significant.
71574 2012-03-05  Andreas Jaeger  <aj@suse.de>
71576         * sysdeps/i386/fpu/libm-test-ulps: Update.
71578 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71580         [BZ #3976]
71581         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71582         (__ieee754_pow): Save and restore rounding mode and use
71583         round-to-nearest for main computations.
71584         * math/libm-test.inc (pow_test_tonearest): New function.
71585         (pow_test_towardzero): Likewise.
71586         (pow_test_downward): Likewise.
71587         (pow_test_upward): Likewise.
71588         (main): Call the new functions.
71589         * sysdeps/i386/fpu/libm-test-ulps: Update.
71590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71592         [BZ #3976]
71593         * math/libm-test.inc (cosh_test_tonearest): New function.
71594         (cosh_test_towardzero): Likewise.
71595         (cosh_test_downward): Likewise.
71596         (cosh_test_upward): Likewise.
71597         (sinh_test_tonearest): Likewise.
71598         (sinh_test_towardzero): Likewise.
71599         (sinh_test_downward): Likewise.
71600         (sinh_test_upward): Likewise.
71601         (main): Call the new functions.
71602         * sysdeps/i386/fpu/libm-test-ulps: Update.
71603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71605 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71607         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71608         default stack guard is set in last bytes.
71609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71611 2012-03-05  Kees Cook  <keescook@chromium.org>
71613         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71615         [BZ #13656]
71616         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71617         possibly allocate from heap instead of stack.
71618         * stdio-common/bug-vfprintf-nargs.c: New file.
71619         * stdio-common/Makefile (tests): Add nargs overflow test.
71621 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71625 2012-03-03  Marek Polacek  <polacek@redhat.com>
71627         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71628         * math/math_private.h: Likewise.
71629         * stdlib/tst-strtod.c: Likewise.
71630         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71631         * sysdeps/x86_64/bits/atomic.h: Likewise.
71633 2012-03-02  David S. Miller  <davem@davemloft.net>
71635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71639         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71640         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71641         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71642         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71644 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71646         [BZ #13792]
71647         * manual/examples/README: New file, says the example source files
71648         can be used under GPL>=2.
71649         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71650         line containing just "*/".
71651         * manual/examples/add.c: Add copyright header (GPL>=2).
71652         * manual/examples/argp-ex1.c: Likewise.
71653         * manual/examples/argp-ex2.c: Likewise.
71654         * manual/examples/argp-ex3.c: Likewise.
71655         * manual/examples/argp-ex4.c: Likewise.
71656         * manual/examples/atexit.c: Likewise.
71657         * manual/examples/db.c: Likewise.
71658         * manual/examples/dir.c: Likewise.
71659         * manual/examples/dir2.c: Likewise.
71660         * manual/examples/execinfo.c: Likewise.
71661         * manual/examples/filecli.c: Likewise.
71662         * manual/examples/filesrv.c: Likewise.
71663         * manual/examples/fmtmsgexpl.c: Likewise.
71664         * manual/examples/genpass.c: Likewise.
71665         * manual/examples/inetcli.c: Likewise.
71666         * manual/examples/inetsrv.c: Likewise.
71667         * manual/examples/isockad.c: Likewise.
71668         * manual/examples/longopt.c: Likewise.
71669         * manual/examples/memopen.c: Likewise.
71670         * manual/examples/memstrm.c: Likewise.
71671         * manual/examples/mkfsock.c: Likewise.
71672         * manual/examples/mkisock.c: Likewise.
71673         * manual/examples/mygetpass.c: Likewise.
71674         * manual/examples/pipe.c: Likewise.
71675         * manual/examples/popen.c: Likewise.
71676         * manual/examples/rprintf.c: Likewise.
71677         * manual/examples/search.c: Likewise.
71678         * manual/examples/select.c: Likewise.
71679         * manual/examples/setjmp.c: Likewise.
71680         * manual/examples/sigh1.c: Likewise.
71681         * manual/examples/sigusr.c: Likewise.
71682         * manual/examples/stpcpy.c: Likewise.
71683         * manual/examples/strdupa.c: Likewise.
71684         * manual/examples/strftim.c: Likewise.
71685         * manual/examples/strncat.c: Likewise.
71686         * manual/examples/subopt.c: Likewise.
71687         * manual/examples/swapcontext.c: Likewise.
71688         * manual/examples/termios.c: Likewise.
71689         * manual/examples/testopt.c: Likewise.
71690         * manual/examples/testpass.c: Likewise.
71691         * manual/examples/timeval_subtract.c: Likewise.
71693         [BZ #13792]
71694         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71695         function to ...
71696         * manual/timeval_subtract.c.texi: ... here, new file.
71698 2012-03-02  David S. Miller  <davem@davemloft.net>
71700         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71702 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71704         [BZ #3976]
71705         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71706         (__sin): Save and restore rounding mode and use round-to-nearest
71707         for all computations.
71708         (__cos): Save and restore rounding mode and use round-to-nearest
71709         for all computations.
71710         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71711         <fenv.h>.
71712         (tan): Save and restore rounding mode and use round-to-nearest for
71713         all computations.
71714         * math/libm-test.inc (cos_test_tonearest): New function.
71715         (cos_test_towardzero): Likewise.
71716         (cos_test_downward): Likewise.
71717         (cos_test_upward): Likewise.
71718         (sin_test_tonearest): Likewise.
71719         (sin_test_towardzero): Likewise.
71720         (sin_test_downward): Likewise.
71721         (sin_test_upward): Likewise.
71722         (tan_test_tonearest): Likewise.
71723         (tan_test_towardzero): Likewise.
71724         (tan_test_downward): Likewise.
71725         (tan_test_upward): Likewise.
71726         (main): Call the new functions.
71727         * sysdeps/i386/fpu/libm-test-ulps: Update.
71728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71730         [BZ #10135]
71731         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71732         small n, then large n, before computing and testing k+n.
71733         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71735         Likewise.
71736         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71737         Likewise.
71738         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71739         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71741         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71746         * math/libm-test.inc (scalbn_test): Add more tests.
71747         (scalbln_test): Likewise.
71749         * manual/filesys.texi (mode_t): Describe constraints on size and
71750         signedness, not exact equivalence to a particular type.
71751         (ino_t): Likewise.
71752         (ino64_t): Likewise.
71753         (dev_t): Likewise.
71754         (nlink_t): Likewise.
71755         (blkcnt_t): Likewise.
71756         (blkcnt64_t): Likewise.
71757         * manual/llio.texi (off_t): Likewise.
71759         [BZ #3976]
71760         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71761         (__ieee754_exp): Save and restore rounding mode and use
71762         round-to-nearest for all computations.
71763         * math/libm-test.inc (exp_test_tonearest): New function.
71764         (exp_test_towardzero): Likewise.
71765         (exp_test_downward): Likewise.
71766         (exp_test_upward): Likewise.
71767         (main): Call the new functions.
71768         * sysdeps/i386/fpu/libm-test-ulps: Update.
71769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71771 2012-03-01  Chris Demetriou  <cgd@google.com>
71773         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71774         have predictable order.
71776 2012-03-01  David S. Miller  <davem@davemloft.net>
71778         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71780         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71781         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71782         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71783         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71785         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71786         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71787         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71789         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71790         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71791         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71792         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71793         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71797         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71798         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71799         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71801         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71802         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71803         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71804         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71805         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71806         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71807         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71808         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71809         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71810         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71811         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71812         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71814         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71815         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71817         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71818         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71819         * sysdeps/sparc/elf/configure: Regenerated.
71821 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71823         * configure.in (AS, LD): Require binutils 2.20 or later.
71824         * configure: Regenerated.
71825         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71826         as required minimum version.
71827         * INSTALL: Regenerated.
71829         [BZ #2541]
71830         [BZ #4108]
71831         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71832         before squaring exponent.
71833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71834         bottom long double and 27 bits of top long double before squaring
71835         exponent.
71836         * math/libm-test.inc (erfc_test): Add more tests.
71837         * sysdeps/i386/fpu/libm-test-ulps: Update.
71838         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71841 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71843         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71844         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71845         containing bit-fields.
71846         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71847         * soft-fp/single.h (_FP_UNION_S): Likewise.
71848         * soft-fp/double.h (_FP_UNION_D): Likewise.
71850 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71852         [BZ #13786]
71853         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71854         not include ../strcmp.S.
71855         [USE_AS_STRNCASECMP_L]: Likewise.
71856         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71857         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71858         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71859         (__strncasecmp_l_ia32): Define as alias to
71860         __strncasecmp_l_nonascii.
71862         [BZ #5794]
71863         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71864         * sysdeps/i386/fpu/libm-test-ulps: Update.
71865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71867         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71870 2012-02-29  Jeff Law  <law@redhat.com>
71872         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71873         out of bounds read.
71875 2012-02-29  Marek Polacek  <polacek@redhat.com>
71877         [BZ #13706]
71878         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71879         * elf/Makefile: Add rules to run tst-unused-dep.out.
71881 2012-02-28  David S. Miller  <davem@davemloft.net>
71883         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71884         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71885         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71886         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71887         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71888         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71890 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71892         * math/libm-test.inc (llround_test): Move one test from
71893         lround_test.  Use TEST_f_L in moved test.
71894         (lround_test): Move misplaced test to llround_test.  Add testcase
71895         from bug 2561.
71897 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71899         * sysdeps/x86_64/fpu/e_expf.S: New file.
71900         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71902 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71904         [BZ #13637]
71905         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71906         of remain_len that may cause incomplete multi-byte character and
71907         false match.
71908         * posix/bug-regex33.c: New file.
71909         * posix/Makefile (tests): Add bug-regex33.
71911 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71913         * manual/macros.texi: New file.
71914         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71915         * manual/libc.texinfo: Include macros.texi.
71916         * manual/creatute.texi: Likewise.
71917         * manual/install.texi: Likewise.
71918         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71919         @glibcadj{} in references to the GNU C Library.
71920         * manual/charset.texi: Likewise.
71921         * manual/conf.texi: Likewise.
71922         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71923         when not using those macros.
71924         * manual/creature.texi: Likewise.
71925         * manual/crypt.texi: Likewise.
71926         * manual/errno.texi: Likewise.
71927         * manual/filesys.texi: Likewise.
71928         * manual/header.texi: Likewise.
71929         * manual/install.texi: Likewise.
71930         * manual/intro.texi: Likewise.
71931         * manual/io.texi: Likewise.
71932         * manual/job.texi: Likewise.
71933         * manual/lang.texi: Likewise.
71934         * manual/libc.texiinfo: Likewise.
71935         * manual/llio.texi: Likewise.
71936         * manual/locale.texi: Likewise.
71937         * manual/maint.texi: Likewise.
71938         * manual/math.texi: Likewise.
71939         * manual/memory.texi: Likewise.
71940         * manual/message.texi: Likewise.
71941         * manual/nss.texi: Likewise.
71942         * manual/pattern.texi: Likewise.
71943         * manual/process.texi: Likewise.
71944         * manual/resource.texi: Likewise.
71945         * manual/search.texi: Likewise.
71946         * manual/setjmp.texi: Likewise.
71947         * manual/signal.texi: Likewise.
71948         * manual/socket.texi: Likewise.
71949         * manual/startup.texi: Likewise.
71950         * manual/stdio.texi: Likewise.
71951         * manual/string.texi: Likewise.
71952         * manual/sysinfo.texi: Likewise.
71953         * manual/syslog.texi: Likewise.
71954         * manual/terminal.texi: Likewise.
71955         * manual/time.texi: Likewise.
71956         * manual/users.texi: Likewise.
71957         * INSTALL: Regenerated.
71958         * NOTES: Regenerated.
71959         * sysdeps/gnu/errlist.c: Regenerated.
71961 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71963         * include/dirent.h: Include <dirstream.h> before
71964         <dirent/dirent.h>.
71966 2012-02-28  David S. Miller  <davem@davemloft.net>
71968         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71969         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71970         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71971         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71973 2012-02-27  David S. Miller  <davem@davemloft.net>
71975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71977         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71978         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71981         frame pointer instead of stack pointer relative arg slot.
71982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71983         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71984         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71986 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71988         [BZ #3992]
71989         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71991 2012-02-27  David S. Miller  <davem@davemloft.net>
71993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71997         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71998         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71999         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72000         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72002 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72004         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72005         later.  Allow versions 5-9.
72006         * configure: Regenerated.
72007         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72008         required minimum version and 4.6 as recommended version.  Do not
72009         mention bugs in GCC 2.7 and 2.8.
72010         * INSTALL: Regenerated.
72012 2012-02-27  David S. Miller  <davem@davemloft.net>
72014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72018         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72019         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72020         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72021         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72023         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72024         manipulate bits before adding and subtracting TWO112[sx].
72025         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72027 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72029         [BZ #13775]
72030         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72031         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72032         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72033         being in POSIX, because they are in 1003.1-2008.
72035         * rt/tst-aio.c: Include <fcntl.h>.
72036         * rt/tst-aio7.c: Likewise.
72037         * rt/tst-aio64.c: Likewise.
72039         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72041 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72043         * manual/install.texi (--with-headers): Describe headers as
72044         interface headers, not private headers.
72045         (Specific advice for GNU/Linux systems): Describe use of headers
72046         from "make headers_install", not private headers from older
72047         kernels.
72048         * INSTALL: Regenerated.
72049         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72050         Change to 2.6.19.
72051         * sysdeps/unix/sysv/linux/configure: Regenerated.
72053         * manual/llio.texi (fclean): Remove documentation.
72055         * manual/Makefile (libc-texi-generated): New variable.  Include
72056         version.texi.
72057         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72058         $(libc-texi-generated), not duplicated list of files.
72059         (version.texi, stamp-version): New rules.
72060         (realclean): Remove $(libc-texi-generated), not individual files
72061         from that list.  Do not remove dir-add.texinfo.
72062         * manual/libc.texinfo: Comment out uses of edition numbers and
72063         references to printed manual.  Remove last-updated dates.
72064         (EDITION): Comment out.
72065         (ISBN): Likewise.
72066         (VERSION, UPDATED): Remove.
72067         (version.texi): Include.
72069 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72071         * sysdeps/posix/spawni.c: Include <signal.h>.
72072         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72073         * sysdeps/pthread/aio_fsync.c: Likewise.
72075 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72077         * conform/Makefile (tests): Run only when not cross-compiling and
72078         when fast-check is not defined.
72080         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72081         * conform/data/limits.h-data: Fixes for POSIX2008.
72082         * conform/run-conformtest.sh: Run all tests.
72083         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72084         headers.
72085         * include/bits/dlfcn.h: Likewise.
72086         * include/langinfo.h: Likewise.
72087         * include/monetary.h: Likewise.
72088         * include/sys/poll.h: Likewise.
72090         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72091         for __USE_GNU.
72092         * posix/spawn.h: Define __need_sigset_t.
72093         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72094         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72095         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72096         to get sigevent_t only.
72097         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72098         only for __USE_GNU.
72099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72100         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72101         process_vm_writev only for __USE_GNU.
72102         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72104         * conform/Makefile: For now ignore errors from run-conformtest.
72105         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72106         POSIX to avoid namespace pollution.  Don't prepend headers.
72107         * conform/data/aio.h-data: Fixes for POSIX testing.
72108         * conform/data/fcntl.h-data: Likewise.
72109         * conform/data/glob.h-data: Likewise.
72110         * conform/data/grp.h-data: Likewise.
72111         * conform/data/pthread.h-data: Likewise.
72112         * conform/data/pwd.h-data: Likewise.
72113         * conform/data/signal.h-data: Likewise.
72114         * conform/data/spawn.h-data: Likewise.
72115         * conform/data/stdio.h-data: Likewise.
72116         * conform/data/stdlib.h-data: Likewise.
72117         * conform/data/stropts.h-data: Likewise.
72118         * conform/data/sys/mman.h-data: Likewise.
72119         * conform/data/sys/stat.h-data: Likewise.
72120         * conform/data/sys/types.h-data: Likewise.
72121         * conform/data/sys/wait.h-data: Likewise.
72122         * conform/data/time.h-data: Likewise.
72123         * conform/data/unistd.h-data: Likewise.
72124         * conform/data/utime.h-data: Likewise.
72126         * io/sys/stat.h: fchmod was always in POSIX.
72127         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72128         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72129         * rt/aio.h: Define __need_timespec before including <time.h>.
72130         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72131         struct.  Add forward declaration of pthread_attr_t and use it in
72132         sigevent.
72133         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72135         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72136         always remove CLK_TCK definition.
72138 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72140         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72142 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72144         * conform/run-conformtest.sh: New file.
72145         * conform/Makefile: Run run-conformtest for tests.
72146         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72147         support.
72149         * conform/data/uchar.h-data: New file.
72150         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72151         * conform/data/arpa/inet.h-data: Likewise.
72152         * conform/data/assert.h-data: Likewise.
72153         * conform/data/complex.h-data: Likewise.
72154         * conform/data/cpio.h-data: Likewise.
72155         * conform/data/ctype.h-data: Likewise.
72156         * conform/data/dirent.h-data: Likewise.
72157         * conform/data/dlfcn.h-data: Likewise.
72158         * conform/data/errno.h-data: Likewise.
72159         * conform/data/fcntl.h-data: Likewise.
72160         * conform/data/float.h-data: Likewise.
72161         * conform/data/fmtmsg.h-data: Likewise.
72162         * conform/data/fnmatch.h-data: Likewise.
72163         * conform/data/ftw.h-data: Likewise.
72164         * conform/data/glob.h-data: Likewise.
72165         * conform/data/grp.h-data: Likewise.
72166         * conform/data/iconv.h-data: Likewise.
72167         * conform/data/inttypes.h-data: Likewise.
72168         * conform/data/langinfo.h-data: Likewise.
72169         * conform/data/libgen.h-data: Likewise.
72170         * conform/data/limits.h-data: Likewise.
72171         * conform/data/locale.h-data: Likewise.
72172         * conform/data/math.h-data: Likewise.
72173         * conform/data/monetary.h-data: Likewise.
72174         * conform/data/mqueue.h-data: Likewise.
72175         * conform/data/ndbm.h-data: Likewise.
72176         * conform/data/net/if.h-data: Likewise.
72177         * conform/data/netdb.h-data: Likewise.
72178         * conform/data/netinet/in.h-data: Likewise.
72179         * conform/data/nl_types.h-data: Likewise.
72180         * conform/data/poll.h-data: Likewise.
72181         * conform/data/pthread.h-data: Likewise.
72182         * conform/data/pwd.h-data: Likewise.
72183         * conform/data/regex.h-data: Likewise.
72184         * conform/data/sched.h-data: Likewise.
72185         * conform/data/search.h-data: Likewise.
72186         * conform/data/semaphore.h-data: Likewise.
72187         * conform/data/setjmp.h-data: Likewise.
72188         * conform/data/signal.h-data: Likewise.
72189         * conform/data/spawn.h-data: Likewise.
72190         * conform/data/stdarg.h-data: Likewise.
72191         * conform/data/stdio.h-data: Likewise.
72192         * conform/data/stdlib.h-data: Likewise.
72193         * conform/data/string.h-data: Likewise.
72194         * conform/data/strings.h-data: Likewise.
72195         * conform/data/stropts.h-data: Likewise.
72196         * conform/data/sys/ipc.h-data: Likewise.
72197         * conform/data/sys/mman.h-data: Likewise.
72198         * conform/data/sys/msg.h-data: Likewise.
72199         * conform/data/sys/resource.h-data: Likewise.
72200         * conform/data/sys/select.h-data: Likewise.
72201         * conform/data/sys/sem.h-data: Likewise.
72202         * conform/data/sys/shm.h-data: Likewise.
72203         * conform/data/sys/socket.h-data: Likewise.
72204         * conform/data/sys/stat.h-data: Likewise.
72205         * conform/data/sys/statvfs.h-data: Likewise.
72206         * conform/data/sys/time.h-data: Likewise.
72207         * conform/data/sys/timeb.h-data: Likewise.
72208         * conform/data/sys/times.h-data: Likewise.
72209         * conform/data/sys/types.h-data: Likewise.
72210         * conform/data/sys/uio.h-data: Likewise.
72211         * conform/data/sys/un.h-data: Likewise.
72212         * conform/data/sys/utsname.h-data: Likewise.
72213         * conform/data/sys/wait.h-data: Likewise.
72214         * conform/data/syslog.h-data: Likewise.
72215         * conform/data/tar.h-data: Likewise.
72216         * conform/data/termios.h-data: Likewise.
72217         * conform/data/utime.h-data: Likewise.
72218         * conform/data/utmpx.h-data: Likewise.
72219         * conform/data/varargs.h-data: Likewise.
72220         * conform/data/wchar.h-data: Likewise.
72221         * conform/data/wctype.h-data: Likewise.
72222         * conform/data/wordexp.h-data: Likewise.
72224         * include/stropts.h: New file.
72225         * include/uchar.h: New file.
72226         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72227         * include/assert.h: Likewise.
72228         * include/ctype.h: Likewise.
72229         * include/dirent.h: Likewise.
72230         * include/dlfcn.h: Likewise.
72231         * include/fcntl.h: Likewise.
72232         * include/fnmatch.h: Likewise.
72233         * include/glob.h: Likewise.
72234         * include/grp.h: Likewise.
72235         * include/libio.h: Likewise.
72236         * include/locale.h: Likewise.
72237         * include/math.h: Likewise.
72238         * include/net/if.h: Likewise.
72239         * include/netdb.h: Likewise.
72240         * include/netinet/in.h: Likewise.
72241         * include/pthread.h: Likewise.
72242         * include/pwd.h: Likewise.
72243         * include/regex.h: Likewise.
72244         * include/sched.h: Likewise.
72245         * include/search.h: Likewise.
72246         * include/setjmp.h: Likewise.
72247         * include/signal.h: Likewise.
72248         * include/stdio.h: Likewise.
72249         * include/stdlib.h: Likewise.
72250         * include/string.h: Likewise.
72251         * include/sys/cdefs.h: Likewise.
72252         * include/sys/mman.h: Likewise.
72253         * include/sys/msg.h: Likewise.
72254         * include/sys/resource.h: Likewise.
72255         * include/sys/select.h: Likewise.
72256         * include/sys/socket.h: Likewise.
72257         * include/sys/stat.h: Likewise.
72258         * include/sys/statvfs.h: Likewise.
72259         * include/sys/time.h: Likewise.
72260         * include/sys/times.h: Likewise.
72261         * include/sys/uio.h: Likewise.
72262         * include/sys/utsname.h: Likewise.
72263         * include/sys/wait.h: Likewise.
72264         * include/termios.h: Likewise.
72265         * include/time.h: Likewise.
72266         * include/ulimit.h: Likewise.
72267         * include/unistd.h: Likewise.
72268         * include/utime.h: Likewise.
72269         * include/wchar.h: Likewise.
72270         * include/wctype.h: Likewise.
72271         * include/wordexp.h: Likewise.
72273         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72275         * time/time.h: TIME_UTC must be a macro.
72276         Make timespec_get available for ISO C11 only as well.
72278 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72280         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72281         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72283 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72285         * configure.in: Use -o not -a in test for unsupported multi-arch.
72287 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72289         * manual/texinfo.tex: Update to version 2012-01-19.16.
72291 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72293         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72295 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72297         [BZ #13738]
72298         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72299         * manual/fdl-1.3.texi: New file.
72300         * manual/fdl-1.1.texi: File removed.
72302         [BZ #13738]
72303         * manual/libc.texinfo (FDL_VERSION): New @set.
72304         Use it for mention of FDL in cover text.
72305         (Documentation License): Use it in @include file name.
72307 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72308             Roland McGrath  <roland@hack.frob.com>
72310         [BZ #5461]
72311         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72312         (not LONG_LONG_MAX and LONG_LONG_MIN.
72313         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72314         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72315         name.
72316         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72318 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72320         [BZ #2547]
72321         [BZ #11365]
72322         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72323         manipulate bits before adding and subtracting TWO23[sx].
72324         * math/libm-test.inc (nearbyint_test): Add more tests.
72326 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72328         [BZ #2548]
72329         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72330         bits before adding and subtracting TWO23[sx].
72331         * math/libm-test.inc (rint_test): Add more tests.
72332         (rint_test_tonearest): Likewise.
72333         (rint_test_towardzero): Likewise.
72334         (rint_test_downward): Likewise.
72335         (rint_test_upward: Likewise.
72337 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72339         [BZ #10110]
72340         * include/stdc-predef.h: New file.  Extracted from features.h.
72341         * include/features.h: Include stdc-predef.h.
72342         * Makefile (headers): Add stdc-predef.h.
72343         * CONFORMANCE (Compiler limitations): Update.
72345 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72347         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72349 2012-02-21  David S. Miller  <davem@davemloft.net>
72351         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72352         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72354 2012-02-20  David S. Miller  <davem@davemloft.net>
72356         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72357         using a normal save/restore sequence, rather than allocating a
72358         dummy stack frame just to store a frame pointer and restore.
72359         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72361 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72363         * manual/install.texi: Fix stray word in line-wrapped comment.
72365 2012-02-20  David S. Miller  <davem@davemloft.net>
72367         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72368         both binutils and gcc support GOTDATA.
72370         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72371         "rd %pc" in the PIC register setup sequences.
72373         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72374         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72375         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72376         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72377         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72379         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72380         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72382         (SYSCALL_ERROR_HANDLER): Likewise.
72383         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72384         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72386         (SYSCALL_ERROR_HANDLER): Likewise.
72388         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72389         (HAVE_GCC_GOTDATA): New.
72390         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72391         relocation support in both binutils and gcc.
72392         * sysdeps/sparc/elf/configure: Regenerate.
72394         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72395         * sysdeps/sparc/sparc32/elf/configure: Delete.
72396         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72397         * sysdeps/sparc/sparc64/elf/configure: Delete.
72398         * sysdeps/sparc/elf/configure.in: New file.
72399         * sysdeps/sparc/elf/configure: Generate.
72401         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72402         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72403         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72404         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72405         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72407 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72409         * manual/install.texi: Do not mention specific glibc version
72410         numbers.
72411         * manual/libc.texinfo (VERSION, UPDATED): Update.
72412         (@copying): Use @copyright{} and range of years.
72414 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72416         [BZ #13695]
72417         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72418         [crti.S not in sysdirs] (generated): Do not append.
72419         [crti.S not in sysdirs] (omit-deps): Likewise.
72420         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72421         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72422         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72423         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72424         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72425         Likewise.
72426         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72427         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72428         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72429         * csu/defs.awk: Remove file.
72430         * sysdeps/generic/initfini.c: Likewise.
72431         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72432         variable.
72433         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72434         Likewise.
72436 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72438         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72439         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72440         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72441         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72443         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72444         <bits/epoll.h>.
72445         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72446         (__EPOLL_PACKED): Define to empty if not defined by
72447         <bits/epoll.h>.
72448         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72450         bits/epoll.h.
72452 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72454         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72455         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72456         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72457         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72458         <bits/timerfd.h>.
72459         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72461         bits/timerfd.h.
72463 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72465         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72466         in C locale.
72467         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72468         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72469         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72472 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72474         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72475         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72477 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72479         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72480         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72481         defined.
72482         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72483         Likewise.
72484         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72485         entry for 2.16.
72487 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72489         * math/w_acos.c: Use non-signaling floating-point comparisons.
72490         * math/w_acosf.c: Likewise.
72491         * math/w_acosh.c: Likewise.
72492         * math/w_acoshf.c: Likewise.
72493         * math/w_acoshl.c: Likewise.
72494         * math/w_acosl.c: Likewise.
72495         * math/w_asin.c: Likewise.
72496         * math/w_asinf.c: Likewise.
72497         * math/w_asinl.c: Likewise.
72498         * math/w_atanh.c: Likewise.
72499         * math/w_atanhf.c: Likewise.
72500         * math/w_atanhl.c: Likewise.
72501         * math/w_exp2.c: Likewise.
72502         * math/w_exp2f.c: Likewise.
72503         * math/w_exp2l.c: Likewise.
72504         * math/w_j0.c: Likewise.
72505         * math/w_j0f.c: Likewise.
72506         * math/w_j0l.c: Likewise.
72507         * math/w_j1.c: Likewise.
72508         * math/w_j1f.c: Likewise.
72509         * math/w_j1l.c: Likewise.
72510         * math/w_jn.c: Likewise.
72511         * math/w_jnf.c: Likewise.
72512         * math/w_log.c: Likewise.
72513         * math/w_log10.c: Likewise.
72514         * math/w_log10f.c: Likewise.
72515         * math/w_log10l.c: Likewise.
72516         * math/w_log2.c: Likewise.
72517         * math/w_log2f.c: Likewise.
72518         * math/w_log2l.c: Likewise.
72519         * math/w_logf.c: Likewise.
72520         * math/w_logl.c: Likewise.
72521         * math/w_sqrt.c: Likewise.
72522         * math/w_sqrtf.c: Likewise.
72523         * math/w_sqrtl.c: Likewise.
72524         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72525         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72526         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72527         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72528         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72530 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72532         [BZ #9739]
72533         * manual/string.texi (strnlen): Use correct parameter name in
72534         equivalent expression.
72536 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72538         [BZ #11174]
72539         * manual/users.texi (seteuid): Consistently use neweuid for
72540         argument name.
72542 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72544         [BZ #13704]
72545         * manual/nss.texi (Services in the NSS configuration): Correct
72546         list of services in example configuration file.
72548 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72550         [BZ #11322]
72551         * manual/arith.texi: Remove statements about negative zero
72552         behaving identically to zero.
72554 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72556         [BZ #5993]
72557         * manual/install.texi: Do not document upgrading from libc5.
72559 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72561         [BZ #4596]
72562         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72564 2012-02-18  David S. Miller  <davem@davemloft.net>
72566         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72567         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72568         %o7 across the call.
72569         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72570         instead.
72571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72572         SETUP_PIC_REG_LEAF.
72573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72574         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72575         * sysdeps/sparc/crtn.S: Likewise.
72577 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72579         * aout/Makefile: Remove.
72581 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72583         [BZ #13058]
72584         * manual/examples/argp-ex1.c (main): Format definition in GNU
72585         style.
72586         * manual/examples/argp-ex2.c (main): Likewise.
72587         * manual/examples/argp-ex3.c (main): Likewise.
72588         * manual/examples/argp-ex4.c (main): Likewise.
72589         * manual/examples/longopt.c (main): Use new-style prototype
72590         definition.
72591         * manual/examples/strncat.c (main): Specify return type and use
72592         (void) for arguments.
72593         * manual/examples/subopt.c (main): Use char **argv argument.
72595 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72597         [BZ #5077]
72598         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72599         rounding modes.
72601 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72603         [BZ #6907]
72604         * manual/string.texi (strchr): Change when strchrnul is
72605         recommended.
72607 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72609         [BZ #174]
72610         * manual/locale.texi (setlocale): Document LOCPATH.
72612 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72614         [BZ #10210]
72615         * manual/process.texi (execle): Move @dots{} before last argument.
72617 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72619         [BZ #12047]
72620         * manual/charset.texi (Generic Charset Conversion): Fix typo
72621         (LC_TYPE -> LC_CTYPE).
72623 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72625         [BZ #5805]
72626         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72627         (scalbnf): Likewise.
72628         (scalbnl): Likewise.
72629         (scalbln): Likewise.
72630         (scalblnf): Likewise.
72631         (scalblnl): Likewise.
72632         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72633         (vwarnx): Likewise.
72634         (verr): Likewise.
72635         (verrx): Likewise.
72636         * manual/filesys.texi (telldir): Use braces around return type.
72637         * manual/llio.texi (mmap): Add space after comma.
72638         (mmap64): Likewise.
72639         * manual/math.texi (jn): Use @var{} on parameter names.
72640         (jnf): Likewise.
72641         (jnl): Likewise.
72642         (yn): Likewise.
72643         (ynf): Likewise.
72644         (ynl): Likewise.
72645         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72646         line.
72647         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72648         "...".
72649         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72650         (sched_get_priority_max): Likewise.
72651         * manual/signal.texi (sigvec): Add space after comma.
72652         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72653         names.
72654         (if_indextoname): Likewise.
72655         (if_freenameindex): Likewise.
72656         (sendto): Use ',' instead of '.' in prototype.
72657         * manual/startup.texi (syscall): Use @dots{} instead of literal
72658         "...".
72659         * manual/stdio.texi (__fpending): Separate initial words of
72660         paragraph from @deftypefun line.
72661         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72662         "...".
72663         (vsyslog): Use @var{} on parameter names.
72664         * manual/terminal.texi (stty): Use @var{} on parameter names.
72665         * manual/users.texi (getutmp): Use @var{} on parameter names.
72666         (getutmpx): Likewise.
72668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72670         [BZ #6884]
72671         * manual/stdio.texi (fopen): Fix typos in description of
72672         ",ccs=STRING".
72674 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72676         [BZ #4026]
72677         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72678         get clock_id definition.
72680 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72682         [BZ #4822]
72683         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72684         (madvise): Cast every argument to void on its own.
72686 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72688         [BZ #9902]
72689         * manual/startup.texi (Exit Status): Fix typo.
72691 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72693         [BZ #10140]
72694         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72695         * manual/examples/argp-ex2.c: Likewise.
72696         * manual/examples/argp-ex3.c: Likewise.
72698 2012-02-16  Richard Henderson  <rth@redhat.com>
72700         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72701         * sysdeps/s390/s390-32/initfini.c: Remove.
72702         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72703         * sysdeps/s390/s390-64/initfini.c: Remove.
72705 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72707         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72708         compiler output for sysdeps/generic/initfini.c.
72709         * sysdeps/sh/elf/initfini.c: Remove file.
72711 2012-02-16  David S. Miller  <davem@davemloft.net>
72713         [BZ #11494]
72714         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72716         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72717         * sysdeps/sparc/crti.S: New file.
72718         * sysdeps/sparc/crtn.S: New file.
72719         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72720         * sysdeps/sparc/sparc64/Makefile: Likewise.
72722 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72724         [BZ #3335]
72725         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72727 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72729         [BZ #4822]
72730         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72732         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72733         (write, read, close): Likewise.
72734         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72736 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72738         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72739         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72740         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72741         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72742         <bits/signalfd.h>.
72743         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72745         bits/signalfd.h.
72747 2012-02-14  Marek Polacek  <polacek@redhat.com>
72749         * sysdeps/x86_64/crti.S: New file.
72750         * sysdeps/x86_64/crtn.S: New file.
72751         * sysdeps/x86_64/elf/initfini.c: Remove file.
72753 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72755         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72756         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72757         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72758         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72759         <bits/inotify.h>.
72760         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72762         bits/inotify.h.
72764 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72766         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72767         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72768         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72769         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72770         <bits/eventfd.h>.
72771         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72773         bits/eventfd.h.
72775 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72777         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72778         __feraiseexcept instead of feraiseexcept.
72780         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72781         nanosleep invocations.
72782         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72783         strings, and add error checking for a nanosleep invocations.
72785 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72787         Replace FSF snail mail address with URLs, as per GNU coding standards.
72788         Most of the snail mail addresses were wrong anyway, and omitting
72789         them makes the source code easier to maintain.  Almost all of the
72790         changes are to license notices and to locale LC_IDENTIFICATION
72791         addresses, except for this one:
72792         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72793         not its snail mail address.
72795 2012-02-09  Richard Henderson  <rth@twiddle.net>
72797         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72798         of kernel-features.h.
72800         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72802 2012-02-08  Marek Polacek  <polacek@redhat.com>
72804         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72805         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72806         * sysdeps/gnu/_G_config.h: Likewise.
72807         * sysdeps/generic/_G_config.h: Likewise.
72809 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72811         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72812         tests.
72813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72815         * sysdeps/powerpc/powerpc32/crti.S: New file.
72816         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72817         * sysdeps/powerpc/powerpc64/crti.S: New file.
72818         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72820         * Makeconfig (have-initfini): Don't set.
72821         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72822         * configure.in (nopic_initfini): Don't substitute.
72823         * config.h.in (HAVE_INITFINI): Don't #undef.
72824         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72825         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72827 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72829         Support crti.S and crtn.S provided directly by architectures.
72830         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72831         [crti.S in sysdirs] (omit-deps): Likewise.
72832         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72833         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72834         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72835         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72836         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72837         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72838         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72839         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72840         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72841         compiler output for sysdeps/generic/initfini.c.
72842         * sysdeps/i386/elf/Makefile: Remove file.
72843         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72845 2012-02-07  Marek Polacek  <polacek@redhat.com>
72847         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72848         * sysdeps/gnu/_G_config.h: Likewise.
72849         * sysdeps/mach/hurd/_G_config.h: Likewise.
72851 2012-02-07  Marek Polacek  <polacek@redhat.com>
72853         * math/Makefile (tests): Add tst-CMPLX2.
72854         * math/tst-CMPLX2.c: New file.
72856 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72858         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72860         * math/libm-test.inc (jn_test): Add missing L suffix.
72862 2012-02-06  Marek Polacek  <polacek@redhat.com>
72864         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72865         * sysdeps/i386/fpu/e_powf.S: Likewise.
72866         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72867         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72868         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72869         * sysdeps/i386/fpu/e_pow.S: Likewise.
72870         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72871         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72872         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72873         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72874         * sysdeps/i386/fpu/e_log2.S: Likewise.
72875         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72876         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72877         * sysdeps/i386/fpu/e_powl.S: Likewise.
72878         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72879         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72880         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72881         * sysdeps/i386/fpu/e_logl.S: Likewise.
72882         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72883         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72884         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72885         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72886         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72887         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72888         * sysdeps/i386/fpu/e_log.S: Likewise.
72889         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72890         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72891         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72892         * sysdeps/i386/fpu/e_logf.S: Likewise.
72893         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72894         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72895         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72896         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72897         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72898         * sysdeps/i386/fpu/e_log10.S: Likewise.
72899         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72900         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72901         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72902         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72903         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72904         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72905         * sysdeps/i386/asm-syntax.h: Likewise.
72906         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72907         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72908         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72909         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72910         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72911         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72912         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72913         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72914         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72915         * sysdeps/powerpc/sysdep.h: Likewise.
72916         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72917         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72919 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72921         [BZ #411]
72922         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72924 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72926         * sysdeps/i386/sysdep.h: Include <features.h>.
72927         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72928         version.
72930 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72932         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72933         Define.
72934         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72935         LOAD_PIC_REG_STR.
72937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72939         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72940         (SETUP_PIC_REG): Use GET_PC_THUNK.
72941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72942         macro.
72944 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72946         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72947         for non-PIC compilation.
72948         (SETUP_PIC_REG): Add .p2align directive.
72949         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72950         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72951         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72952         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72953         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72954         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72955         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72956         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72964         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72965         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72966         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72967         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72968         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72970         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72971         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72972         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72975         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72976         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72977         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72978         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72979         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72980         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72981         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72982         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72983         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72984         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72985         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72986         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72987         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72988         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72989         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72991 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72993         * math/tst-CMPLX.c: Include <stdio.h>.
72995 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72997         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72998         float.
72999         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73000         * sysdeps/sparc/bits/mathdef.h: Likewise.
73002 2012-01-31  Marek Polacek  <polacek@redhat.com>
73004         * libio/libio.h: Don't define _PARAMS.
73005         * locale/programs/config.h: Don't define PARAMS.
73006         * stdlib/strtol_l.c: Likewise.
73007         (__strtol_l): Remove PARAMS from the prototype.
73009 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73011         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73012         names.  Just use the correct names.  Remove unnecessary wrapper
73013         functions.
73014         * malloc/arena.c: Likewise.
73015         * malloc/hooks.c: Likewise.
73017         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73018         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73019         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73021 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73023         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73024         into tail calls.
73025         (update_get_addr): New function.
73026         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73027         GET_ADDR_MODULE parameter.
73029 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73031         * crypt/cert.c: Remove __STDC__ conditionals.
73032         * crypt/crypt-entry.c: Likewise.
73033         * crypt/crypt_util.c: Likewise.
73034         * libio/filedoalloc.c: Likewise.
73035         * libio/fileops.c: Likewise.
73036         * libio/genops.c: Likewise.
73037         * libio/iofclose.c: Likewise.
73038         * libio/iofdopen.c: Likewise.
73039         * libio/iofopen.c: Likewise.
73040         * libio/iofopen64.c: Likewise.
73041         * libio/iogetdelim.c: Likewise.
73042         * libio/iopopen.c: Likewise.
73043         * libio/obprintf.c: Likewise.
73044         * libio/oldfileops.c: Likewise.
73045         * libio/oldiofclose.c: Likewise.
73046         * libio/oldiofdopen.c: Likewise.
73047         * libio/oldiofopen.c: Likewise.
73048         * libio/oldiopopen.c: Likewise.
73049         * libio/wfiledoalloc.c: Likewise.
73050         * libio/wgenops.c: Likewise.
73051         * locale/programs/xmalloc.c: Likewise.
73052         * misc/syslog.c: Likewise.
73053         * stdio-common/xbug.c: Likewise.
73054         * string/memchr.c: Likewise.
73055         * string/memcmp.c: Likewise.
73056         * string/memrchr.c: Likewise.
73057         * string/rawmemchr.c: Likewise.
73058         * sysdeps/posix/getcwd.c: Likewise.
73059         * time/strftime_l.c: Likewise.
73061 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73063         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73064         * config.make.in (config-cflags-sse2avx): Define.
73065         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73066         Fix typo.
73068 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73070         * scripts/config.guess: Update from upstream config git repository.
73071         * scripts/config.sub: Likewise.
73073 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73075         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73076         (EM_NUM): Update.
73077         (R_TILEPRO_*, R_TILEGX_*): New macros.
73079         * scripts/firstversions.awk: Fix bug in version range handling.
73081         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73083         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73085         * include/sys/epoll.h: New file.
73086         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73087         libc_hidden_def.
73089 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73091         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73092         Avoid unnecessary __WORDSIZE == 64 test.
73093         (fmaxf): Use VEX format if possible.
73094         (fmax): Likewise.
73095         (fminf): Likewise.
73096         (fmin): Likewise.
73098         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73099         * math/math_private.h: Remove libc_fegetround* and
73100         libc_fesetround*.
73101         * sysdeps/i386/configure.in: Check for -msse2avx.
73102         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73103         also if SSE2AVX is defined.
73104         Remove libc_fegetround* and libc_fesetround*.
73105         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73106         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73108         of HAS_YMM_USABLE.
73109         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73110         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73111         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73115         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73117 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73119         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73120         size is not set.
73121         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73123 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73125         [BZ #13618]
73126         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73127         relocation.
73128         * Makeconfig (libm): Define.
73129         * elf/Makefile: Add rules to build and run tst-relsort1.
73130         * elf/tst-relsort1.c: New file.
73131         * elf/tst-relsort1mod1.c: New file.
73132         * elf/tst-relsort1mod2.c: New file.
73134 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73136         * math/s_ldexp.c: Remove __STDC__ conditionals.
73137         * math/s_ldexpf.c: Likewise.
73138         * math/s_ldexpl.c: Likewise.
73139         * math/s_nextafter.c: Likewise.
73140         * math/s_nexttowardf.c: Likewise.
73141         * math/s_significand.c: Likewise.
73142         * math/s_significandf.c: Likewise.
73143         * math/s_significandl.c: Likewise.
73144         * math/w_jnl.c: Likewise.
73145         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73146         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73147         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73148         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73149         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73150         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73151         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73152         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73153         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73154         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73155         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73156         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73157         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73158         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73159         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73160         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73161         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73162         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73163         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73164         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73165         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73166         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73167         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73169         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73170         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73171         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73172         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73173         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73174         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73175         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73176         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73177         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73178         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73179         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73180         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73181         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73182         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73183         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73184         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73185         * sysdeps/ieee754/k_standard.c: Likewise.
73186         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73187         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73188         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73189         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73190         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73191         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73192         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73193         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73194         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73195         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73196         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73197         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73200         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73201         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73202         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73203         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73204         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73205         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73208         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73209         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73210         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73211         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73215         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73216         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73217         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73218         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73219         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73221         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73222         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73223         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73224         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73225         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73226         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73227         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73228         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73229         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73230         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73231         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73232         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73234         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73235         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73236         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73237         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73238         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73239         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73240         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73241         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73242         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73243         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73244         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73245         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73246         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73247         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73248         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73249         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73250         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73251         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73252         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73253         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73254         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73255         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73256         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73257         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73258         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73259         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73260         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73261         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73262         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73263         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73264         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73265         * sysdeps/ieee754/s_matherr.c: Likewise.
73266         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73267         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73271 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73273         * crypt/md5.h: Remove __STDC__ conditionals.
73274         * libio/libioP.h: Likewise.
73275         * locale/programs/config.h: Likewise.
73276         * sysdeps/generic/sysdep.h: Likewise.
73277         * sysdeps/i386/asm-syntax.h: Likewise.
73278         * sysdeps/s390/asm-syntax.h: Likewise.
73279         * sysdeps/unix/sysdep.h: Likewise.
73280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73283 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73285         * libio/libio.h: Remove __STDC__ conditionals.
73286         * malloc/obstack.h: Likewise.
73287         * math/complex.h: Likewise.
73288         * math/math.h: Likewise.
73289         * sysdeps/generic/_G_config.h: Likewise.
73290         * sysdeps/gnu/_G_config.h: Likewise.
73291         * sysdeps/mach/hurd/_G_config.h: Likewise.
73292         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73293         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73294         * sysdeps/sparc/bits/mathdef.h: Likewise.
73296 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73298         [BZ #13583]
73299         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73300         Clean up HAS_* macros.
73301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73302         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73303         possible.
73304         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73305         HAS_AVX.
73306         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73307         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73308         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73309         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73310         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73312 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73314         * elf/tst-unique3.cc (gets): Remove declaration.
73315         * elf/tst-unique3lib.cc (gets): Likewise.
73316         * elf/tst-unique3lib2.cc (gets): Likewise.
73317         * elf/tst-unique4.cc (gets): Likewise.
73319 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73321         * include/stdio.h: Add C++ protection.  Add gets declarations and
73322         definitions.
73323         * debug/tst-chk1.c: Don't declare gets here.
73324         * stdio-common/tst-gets.c: Likewise.
73326 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73328         * posix/glob: Remove directory.
73330 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73332         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73334 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73336         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73337         of the non-standard EPFNOSUPPORT.
73339 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73341         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73342         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73343         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73345 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73347         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73349 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73351         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73352         transient errors.
73353         * nscd/grpcache.c (cache_addgr): Likewise.
73354         * nscd/hstcache.c (cache_addhst): Likewise.
73355         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73356         * nscd/pwdcache.c (cache_addpw): Likewise.
73357         * nscd/servicescache.c (cache_addserv): Likewise.
73359 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73361         * malloc/malloc.c: Various cleanups.
73362         * malloc/hooks.c: Likewise.
73364         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73365         * stdlib/bug-fmtmsg1.c: New file.
73367         * stdlib/fmtmsg.c (init): Add missing unlock.
73368         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73370 2012-01-12  Marek Polacek  <polacek@redhat.com>
73372         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73373         and _GNU_SOURCE.
73375 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73377         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73378         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73379         macro to ensure uniqueness of label name.
73380         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73381         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73383 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73385         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73387         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73388         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73389         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73390         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73392 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73394         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73396         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73397         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73398         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73400         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73402         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73403         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73404         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73407         * math/bits/math-finite.h: Add ldexp support.
73409 2012-01-10  Marek Polacek  <polacek@redhat.com>
73411         * locale/programs/localedef.h (show_archive_content): Add noreturn
73412         attribute.
73414 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73416         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73418 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73420         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73422         * io/Makefile (headers): Add bits/poll2.h.
73424 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73427         typo #include statement.
73429 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73431         * include/sys/cdefs.h: Define __attribute_alloc_size.
73432         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73433         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73434         * elf/pldd.c: Likewise.
73435         * iconv/iconv_charmap.c: Likewise.
73436         * iconv/iconvconfig.c: Likewise.
73437         * iconv/strtab.c: Likewise.
73438         * locale/programs/locale.c: Likewise.
73439         * locale/programs/localedef.h: Likewise.
73440         * locale/programs/simple-hash.c: Likewise.
73441         * nscd/nscd.h: Likewise.
73442         * nss/makedb.c: Likewise.
73443         * sysdeps/generic/ldconfig.h: Likewise.
73444         * locale/programs/localedef.c: Remove xmalloc prototype.
73445         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73447 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73450         appropriate.
73452 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73454         * math/Makefile (tests): Add tst-CMPLX.
73455         * math/tst-CMPLX.c: New file.
73457         * math/complex.h (CMPLXL): Fix typo.
73459         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73460         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73461         GLIBC_2.16.
73462         * debug/tst-chk1.c: Add poll and ppoll tests.
73463         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73464         * include/sys/poll.h: Add hidden proto for ppoll.
73465         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73466         * sysdeps/mach/hurd/ppoll.c: Likewise.
73467         * io/ppoll.c: Likewise.
73468         * debug/poll_chk.c: New file.
73469         * debug/ppoll_chk.c: New file.
73470         * include/bits/poll2.h: New file.
73471         * io/bits/poll2.h: New file.
73473         [BZ #1350]
73474         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73476         * configure.in: static is always set to yes.  Remove.
73477         * config.make.in: Don't set build-static.
73478         * Makeconfig: Remove use of build-static.
73479         * dlfcn/Makefile: Likewise.
73480         * elf/Makefile: Likewise.
73481         * math/Makefile: Likewise.
73482         * misc/Makefile: Likewise.
73483         * nptl/Makefile: Likewise.
73484         * sysdeps/mach/hurd/Makefile: Likewise.
73486         * configure.in: PWD_P is not used anymore.
73487         * config.make.in: Remove PWD_P entry.
73489         * configure.in: Remove last remnants of RANLIB.
73490         No need to check for signed size_t anymore.
73491         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73492         and IA-64.
73493         Remove __builtin_expect test because we require at least gcc 3.4.
73494         * aclocal.m4: Likewise.
73496         * wcsmbs/mbrtoc16.c: Implement using towc function.
73497         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73498         * wcsmbs/wcsmbsload.c: Likewise.
73499         * iconv/gconv_simple.c: Likewise.
73500         * iconv/gconv_int.h: Likewise.
73501         * iconv/gconv_builtin.h: Likewise.
73502         * iconv/iconv_prog.c: Remove CHAR16 handling.
73504         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73506         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73508         * configure.in: Remove --with-elf and --enable-bounded options.
73509         Dont set base_machine for ia64.  More non-ELF conditions removed.
73510         Remove testing and setting of leading underscore information.
73511         * config.make.in (build-bounded): Set to no.
73512         * config.h.in: Remove NO_UNDERSCORES entry.
73513         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73514         them.
73515         * csu/start.c: Remove !NO_UNDERSCORE code.
73516         * locale/localeinfo.h: Likewise.
73517         * sysdeps/generic/machine-gmon.h: Likewise.
73518         * sysdeps/generic/sysdep.h: Likewise.
73519         * sysdeps/i386/sysdep.h: Likewise.
73520         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73521         * sysdeps/mach/sysdep.h: Likewise.
73522         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73523         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73524         * sysdeps/sh/sysdep.h: Likewise.
73525         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73526         * sysdeps/unix/i386/sysdep.S: Likewise.
73527         * sysdeps/unix/sparc/start.c: Likewise.
73528         * sysdeps/unix/sparc/sysdep.S: Likewise.
73529         * sysdeps/unix/sparc/sysdep.h: Likewise.
73530         * sysdeps/unix/start.c: Likewise.
73531         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73532         * sysdeps/x86_64/sysdep.h: Likewise.
73534 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73536         [BZ #13553]
73537         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73538         for non-gcc.
73539         * argp/argp-fmtstream.h: Use const instead __const.
73540         * argp/argp.h: Likewise.
73541         * assert/assert.h: Likewise.
73542         * bits/fenv.h: Likewise.
73543         * bits/sched.h: Likewise.
73544         * bits/sigset.h: Likewise.
73545         * bits/sigthread.h: Likewise.
73546         * catgets/nl_types.h: Likewise.
73547         * conform/data/pthread.h-data: Likewise.
73548         * crypt/crypt-private.h: Likewise.
73549         * crypt/crypt.h: Likewise.
73550         * crypt/crypt_util.c: Likewise.
73551         * ctype/ctype.h: Likewise.
73552         * debug/execinfo.h: Likewise.
73553         * debug/mbsnrtowcs_chk.c: Likewise.
73554         * debug/mbsrtowcs_chk.c: Likewise.
73555         * debug/wcsnrtombs_chk.c: Likewise.
73556         * debug/wcsrtombs_chk.c: Likewise.
73557         * debug/wcstombs_chk.c: Likewise.
73558         * dirent/dirent.h: Likewise.
73559         * dlfcn/dlfcn.h: Likewise.
73560         * elf/neededtest4.c: Likewise.
73561         * grp/grp.h: Likewise.
73562         * gshadow/gshadow.h: Likewise.
73563         * iconv/gconv.h: Likewise.
73564         * iconv/gconv_int.h: Likewise.
73565         * iconv/gconv_simple.c: Likewise.
73566         * iconv/iconv.h: Likewise.
73567         * iconv/loop.c: Likewise.
73568         * iconv/skeleton.c: Likewise.
73569         * include/aio.h: Likewise.
73570         * include/aliases.h: Likewise.
73571         * include/argz.h: Likewise.
73572         * include/arpa/inet.h: Likewise.
73573         * include/assert.h: Likewise.
73574         * include/dirent.h: Likewise.
73575         * include/dlfcn.h: Likewise.
73576         * include/execinfo.h: Likewise.
73577         * include/fcntl.h: Likewise.
73578         * include/fenv.h: Likewise.
73579         * include/glob.h: Likewise.
73580         * include/grp.h: Likewise.
73581         * include/libintl.h: Likewise.
73582         * include/mntent.h: Likewise.
73583         * include/netdb.h: Likewise.
73584         * include/pwd.h: Likewise.
73585         * include/rpc/netdb.h: Likewise.
73586         * include/sched.h: Likewise.
73587         * include/search.h: Likewise.
73588         * include/shadow.h: Likewise.
73589         * include/signal.h: Likewise.
73590         * include/stdio.h: Likewise.
73591         * include/stdlib.h: Likewise.
73592         * include/string.h: Likewise.
73593         * include/sys/socket.h: Likewise.
73594         * include/sys/stat.h: Likewise.
73595         * include/sys/statfs.h: Likewise.
73596         * include/sys/statvfs.h: Likewise.
73597         * include/sys/syslog.h: Likewise.
73598         * include/sys/time.h: Likewise.
73599         * include/sys/uio.h: Likewise.
73600         * include/time.h: Likewise.
73601         * include/unistd.h: Likewise.
73602         * include/utmp.h: Likewise.
73603         * include/wchar.h: Likewise.
73604         * include/wctype.h: Likewise.
73605         * inet/aliases.h: Likewise.
73606         * inet/arpa/inet.h: Likewise.
73607         * inet/netinet/ether.h: Likewise.
73608         * inet/netinet/in.h: Likewise.
73609         * intl/libintl.h: Likewise.
73610         * io/bits/fcntl2.h: Likewise.
73611         * io/fcntl.h: Likewise.
73612         * io/ftw.h: Likewise.
73613         * io/sys/poll.h: Likewise.
73614         * io/sys/stat.h: Likewise.
73615         * io/sys/statfs.h: Likewise.
73616         * io/sys/statvfs.h: Likewise.
73617         * io/utime.h: Likewise.
73618         * libio/bits/stdio.h: Likewise.
73619         * libio/bits/stdio2.h: Likewise.
73620         * libio/libio.h: Likewise.
73621         * libio/libioP.h: Likewise.
73622         * libio/stdio.h: Likewise.
73623         * locale/lc-ctype.c: Likewise.
73624         * locale/locale.h: Likewise.
73625         * login/utmp.h: Likewise.
73626         * malloc/arena.c: Likewise.
73627         * malloc/malloc.c: Likewise.
73628         * malloc/malloc.h: Likewise.
73629         * malloc/mcheck.c: Likewise.
73630         * malloc/mtrace.c: Likewise.
73631         * math/bits/mathcalls.h: Likewise.
73632         * math/fenv.h: Likewise.
73633         * math/math_private.h: Likewise.
73634         * misc/bits/error.h: Likewise.
73635         * misc/bits/syslog.h: Likewise.
73636         * misc/err.h: Likewise.
73637         * misc/error.h: Likewise.
73638         * misc/fstab.h: Likewise.
73639         * misc/mntent.h: Likewise.
73640         * misc/regexp.h: Likewise.
73641         * misc/search.h: Likewise.
73642         * misc/sgtty.h: Likewise.
73643         * misc/sys/mman.h: Likewise.
73644         * misc/sys/syslog.h: Likewise.
73645         * misc/sys/uio.h: Likewise.
73646         * misc/sys/xattr.h: Likewise.
73647         * misc/ttyent.h: Likewise.
73648         * nis/rpcsvc/ypclnt.h: Likewise.
73649         * nss/nss.h: Likewise.
73650         * posix/bits/unistd.h: Likewise.
73651         * posix/fnmatch.h: Likewise.
73652         * posix/glob.h: Likewise.
73653         * posix/sched.h: Likewise.
73654         * posix/spawn.h: Likewise.
73655         * posix/sys/wait.h: Likewise.
73656         * posix/unistd.h: Likewise.
73657         * posix/wordexp.h: Likewise.
73658         * pwd/pwd.h: Likewise.
73659         * resolv/netdb.h: Likewise.
73660         * resource/sys/resource.h: Likewise.
73661         * rt/aio.h: Likewise.
73662         * rt/bits/mqueue2.h: Likewise.
73663         * rt/mqueue.h: Likewise.
73664         * shadow/shadow.h: Likewise.
73665         * signal/signal.h: Likewise.
73666         * socket/send.c: Likewise.
73667         * socket/sendto.c: Likewise.
73668         * socket/sys/socket.h: Likewise.
73669         * stdio-common/printf.h: Likewise.
73670         * stdlib/bits/stdlib.h: Likewise.
73671         * stdlib/fmtmsg.h: Likewise.
73672         * stdlib/monetary.h: Likewise.
73673         * stdlib/stdlib.h: Likewise.
73674         * stdlib/ucontext.h: Likewise.
73675         * streams/stropts.h: Likewise.
73676         * string/argz.h: Likewise.
73677         * string/bits/string2.h: Likewise.
73678         * string/string.h: Likewise.
73679         * string/strings.h: Likewise.
73680         * sunrpc/rpc/auth.h: Likewise.
73681         * sunrpc/rpc/auth_des.h: Likewise.
73682         * sunrpc/rpc/clnt.h: Likewise.
73683         * sunrpc/rpc/netdb.h: Likewise.
73684         * sunrpc/rpc/pmap_clnt.h: Likewise.
73685         * sunrpc/rpc/xdr.h: Likewise.
73686         * sysdeps/generic/inttypes.h: Likewise.
73687         * sysdeps/generic/net/if.h: Likewise.
73688         * sysdeps/generic/sys/swap.h: Likewise.
73689         * sysdeps/gnu/net/if.h: Likewise.
73690         * sysdeps/gnu/utmpx.h: Likewise.
73691         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73692         * sysdeps/i386/i486/bits/string.h: Likewise.
73693         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73694         * sysdeps/s390/bits/string.h: Likewise.
73695         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73696         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73697         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73698         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73699         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73700         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73701         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73702         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73703         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73704         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73705         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73706         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73707         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73708         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73709         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73710         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73711         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73713         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73714         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73715         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73716         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73717         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73718         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73719         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73720         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73721         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73722         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73723         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73724         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73725         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73726         * sysvipc/sys/ipc.h: Likewise.
73727         * sysvipc/sys/msg.h: Likewise.
73728         * sysvipc/sys/sem.h: Likewise.
73729         * sysvipc/sys/shm.h: Likewise.
73730         * termios/termios.h: Likewise.
73731         * time/sys/time.h: Likewise.
73732         * time/time.h: Likewise.
73733         * wcsmbs/bits/wchar2.h: Likewise.
73734         * wcsmbs/uchar.h: Likewise.
73735         * wcsmbs/wchar.h: Likewise.
73736         * wctype/wctype.h: Likewise.
73738         [BZ #13551]
73739         * Makeconfig: Remove all but ELF support including AIX support.
73740         * Makerules: Likewise.
73741         * config.h.in: Likewise.
73742         * config.make.in: Likewise.
73743         * configure: Likewise.
73744         * configure.in: Likewise.
73745         * csu/Makefile: Likewise.
73746         * csu/version.c: Likewise.
73747         * debug/Makefile: Likewise.
73748         * dlfcn/Makefile: Likewise.
73749         * elf/Makefile: Likewise.
73750         * extra-lib.mk: Likewise.
73751         * iconv/Makefile: Likewise.
73752         * include/libc-symbols.h: Likewise.
73753         * include/shlib-compat.h: Likewise.
73754         * resolv/Makefile: Likewise.
73755         * resolv/res_libc.c: Likewise.
73756         * rt/Makefile: Likewise.
73757         * sysdeps/i386/asm-syntax.h: Likewise.
73758         * sysdeps/i386/sysdep.h: Likewise.
73759         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73760         * sysdeps/mach/sysdep.h: Likewise.
73761         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73762         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73763         * sysdeps/s390/asm-syntax.h: Likewise.
73764         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73766         * sysdeps/sh/sysdep.h: Likewise.
73767         * sysdeps/unix/sparc/sysdep.h: Likewise.
73768         * sysdeps/wordsize-32/divdi3.c: Likewise.
73769         * sysdeps/x86_64/sysdep.h: Likewise.
73771         * argp/Versions: Remove _argp_unlock_xxx.
73773         [BZ #13559]
73774         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73775         * abilist/libBrokenLocale.abilist: Likewise.
73776         * abilist/libanl.abilist: Likewise.
73777         * abilist/libc.abilist: Likewise.
73778         * abilist/libcrypt.abilist: Likewise.
73779         * abilist/libdl.abilist: Likewise.
73780         * abilist/libm.abilist: Likewise.
73781         * abilist/libnsl.abilist: Likewise.
73782         * abilist/libpthread.abilist: Likewise.
73783         * abilist/libresolv.abilist: Likewise.
73784         * abilist/librt.abilist: Likewise.
73785         * abilist/libthread_db.abilist: Likewise.
73786         * abilist/libutil.abilist: Likewise.
73787         * abilist/libnss_db.abilist: New file.
73789         * scripts/abilist.awk: Add support for indirect functions.
73791         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73793         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73795         * shlib-versions: Remove entries for ports architectures.
73797         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73798         files in ports.
73799         * elf/stackguard-macros.h: Remove support for IA-64.
73800         * elf/tst-auditmod1.c: Likewise.
73801         * sysdeps/generic/ldsodefs.h: Likewise.
73803         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73804         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73805         configure files.
73807         [BZ #13552]
73808         * configure.in: Remove --enable-omitfp support.
73809         * FAQ.in: Adjust.
73810         * config.make.in: Likewise.
73811         * Makeconfig: Likewise.
73812         * manual/install.texi: Likewise.
73814         In case anyone cares, the IA-64 architecture could move to ports.
73815         * sysdeps/ia64/*: Removed.
73816         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73817         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73819         [BZ #13555]
73820         * configure.in: Remove entries for unsupported architectures.
73822         [BZ #13533]
73823         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73824         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73825         routines.
73826         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73827         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73828         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73829         fall back to using wcrtomb.
73830         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73831         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73832         renaming.
73833         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73834         * wcsmbs/tst-c16c32-1.c: New file.
73836         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73837         local variable.
73839         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73841         * elf/tst-unique3.cc: Add explicit declaration of gets.
73842         * elf/tst-unique3lib.cc: Likewise.
73843         * elf/tst-unique3lib2.cc: Likewise.
73844         * elf/tst-unique4.cc: Likewise.
73846         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73848 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73850         [BZ #13566]
73851         * assert/assert.h (static_assert): Don't define for C++.
73852         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73853         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73855 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73857         * iconv/loop.c (single loop): Fix assertion in storing of
73858         remaining bytes.
73860         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73862 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73864         * posix/getconf.c: Update copyright year.
73865         * nss/getent.c: Likewise.
73866         * nss/makedb.c: Likewise.
73867         * iconv/iconvconfig.c: Likewise.
73868         * iconv/iconv_prog.c: Likewise.
73869         * elf/ldconfig.c: Likewise.
73870         * elf/pldd.c: Likewise.
73871         * elf/sotruss.ksh: Likewise.
73872         * catgets/gencat.c: Likewise.
73873         * csu/version.c: Likewise.
73874         * elf/ldd.bash.in: Likewise.
73875         * elf/sprof.c (print_version): Likewise.
73876         * locale/programs/locale.c: Likewise.
73877         * locale/programs/localedef.c: Likewise.
73878         * login/programs/pt_chown.c: Likewise.
73879         * nscd/nscd.c (print_version): Likewise.
73880         * debug/xtrace.sh: Likewise.
73881         * malloc/memusage.sh: Likewise.
73882         * malloc/mtrace.pl: Likewise.
73883         * debug/catchsegv.sh: Likewise.
73885 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73887         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73888         pure attribute.
73890 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73892         [BZ #13533]
73893         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73894         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73895         transformations.
73896         * iconv/gconv_int.h: Likewise.
73897         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73898         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73899         from libc for GLIBC_2.16.
73900         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73901         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73902         * wcsmbs/uchar.h: Really define mbstate_t.
73903         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73904         * wcsmbs/c16rtomb.c: New file.
73905         * wcsmbs/mbrtoc16.c: New file.
73906         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73907         for C/POSIX locale.
73908         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73909         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73911         * wcsmbs/wchar.h: Add missing __restrict.
73913 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73915         [BZ #13532]
73916         * time/Makefile (routines): Add timespec_get.
73917         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73918         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73919         timespec for ISO C11.
73920         * time/timespec_get.c: New file.
73921         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73922         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73924         [BZ #13531]
73925         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73926         * stdlib/stdlib.h: Declare aligned_alloc.
73927         * Versions.def: Add GLIBC_2.16 for libc.
73928         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73930         [BZ 13527]
73931         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73932         ISO C11.
73934         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73935         code.
73937         [BZ #13528]
73938         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73940         [BZ #13529]
73941         * assert/assert.h (static_assert): Define.
73943         * version.h: Update for 2.16 development version.
73945         [BZ #13526]
73946         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73947         _ISOC11_SOURCE.
73949         * version.h (RELEASE): Bump for 2.15 release.
73950         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73952         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73953         Patch by Marek Polacek <mpolacek@redhat.com>.
73955         * bits/byteswap.h: Protect long long constants with __extension__.
73956         * sysdeps/i386/bits/byteswap.h: Likewise.
73957         * sysdeps/ia64/bits/byteswap.h: Likewise.
73958         * sysdeps/s390/bits/byteswap.h: Likewise.
73959         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73961 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73963         [BZ #13540]
73964         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73965         destination buffer.
73966         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73968 2011-12-23  Marek Polacek  <polacek@redhat.com>
73970         * elf/dl-addr.c (determine_info): Add inline keyword.
73971         * elf/tst-auditmod4b.c (check_avx): Likewise.
73972         * elf/tst-auditmod6b.c (check_avx): Likewise.
73973         * elf/tst-auditmod6c.c (check_avx): Likewise.
73974         * elf/tst-auditmod7b.c (check_avx): Likewise.
73976 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73978         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73979         !__SSE_MATH__.
73981 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73983         [BZ #13540]
73984         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73985         processing for last bytes.
73987 2011-08-06  Bruno Haible  <bruno@clisp.org>
73989         [BZ #13061]
73990         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73991         U+0385, not to U+1FEE.
73993         [BZ #13062]
73994         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73995         entry for U+00A5 U+0301.
73997 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73999         [BZ #13166]
74000         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74001         buffer for the output is too small.
74003         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74004         optimization.
74006         [BZ #13185]
74007         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74008         SSE flags if possible.
74010 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74012         [BZ #13540]
74013         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74014         processing for last bytes.
74016 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74018         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74019         (syscall-list-default-options, syscall-list-default-condition)
74020         (syscall-list-includes): Define.
74021         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74022         list of ABIs and options and #if conditions for each ABI.  Do not
74023         handle common syscalls between ABIs specially.
74024         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74025         Remove.
74026         (syscall-list-variants, syscall-list-32bit-options)
74027         (syscall-list-32bit-condition, syscall-list-64bit-options)
74028         (syscall-list-64bit-condition): Define.
74029         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74030         (syscall-list-variants, syscall-list-32bit-options)
74031         (syscall-list-32bit-condition, syscall-list-64bit-options)
74032         (syscall-list-64bit-condition): Define.
74033         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74034         Remove.
74035         (syscall-list-variants, syscall-list-32bit-options)
74036         (syscall-list-32bit-condition, syscall-list-64bit-options)
74037         (syscall-list-64bit-condition): Define.
74038         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74039         Remove.
74040         (syscall-list-variants, syscall-list-32bit-options)
74041         (syscall-list-32bit-condition, syscall-list-64bit-options)
74042         (syscall-list-64bit-condition): Define.
74044 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74046         * locale/iso-639.def: Add brx entry.
74048         [BZ #13328]
74049         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74050         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74052         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74053         __feraiseexcept_renamed.
74055 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74057         [BZ #13538]
74058         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74059         EPOLLET with unsigned values.
74060         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74061         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74063         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74064         to large cancellation.
74065         * math/s_cacoshf.c: Likewise.
74066         * math/s_cacoshl.c: Likewise.
74068 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74070         [BZ #13305]
74071         [BZ #12786]
74072         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74073         * math/s_cacoshf.c: Likewise.
74074         * math/s_cacoshl.c: Likewise.
74076 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74078         [BZ #13439]
74079         * iconv/gconv.h: Define __GCONV_SWAP.
74080         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74081         * iconvdata/utf-16.c: Likewise.
74082         * iconvdata/utf-32.c: Likewise.
74084 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74086         [BZ #13524]
74087         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74088         numerator after shifting it by one limb.
74090 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74092         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74093         under [__USE_EXTERN_INLINES].
74095 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74097         [BZ #13446]
74098         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74100 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74102         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74103         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74104         optimized code.
74105         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74106         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74107         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74108         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74109         for strncasecmp/strncasecmp_l compilation.
74110         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74111         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74113 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74115         [BZ #13484]
74116         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74117         of __asm__.
74119 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74121         [BZ #13506]
74122         * time/tzfile.c (__tzfile_read): Check values from file header.
74124 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74126         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74127         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74128         * powerpc/powerpc32/dl-start.S: Likewise.
74129         * powerpc/powerpc32/elf/start.S: Likewise.
74130         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74131         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74132         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74133         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74134         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74135         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74136         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74137         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74138         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74139         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74140         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74141         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74142         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74143         * powerpc/powerpc32/memset.S: Likewise.
74144         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74145         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74146         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74147         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74148         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74149         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74150         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74151         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74152         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74153         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74154         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74155         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74156         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74158 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74160         * math/libm-test.inc: Added more nearbyint tests.
74161         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74162         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74163         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74164         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74166 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74168         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74169         FD_CLOEXEC.
74171 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74173         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74174         Add wcscpy-ssse3 wcscpy-c.
74175         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74176         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74177         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74178         * sysdeps/x86_64/wcschr.S: New file.
74179         * sysdeps/x86_64/wcsrchr.S: New file.
74180         * string/test-strcmp.c: Remove checking of wcscmp function for
74181         wrong alignments.
74182         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74183         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74184         wcsrchr-sse2 wcsrchr-c.
74185         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74186         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74187         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74188         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74189         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74190         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74191         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74192         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74193         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74194         * wcsmbc/wcschr.c (WCSCHR): New macro.
74196 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74198         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74199         * wcsmbs/test-wcsrchr.c: New file.
74200         * string/test-strrchr.c: Add wcsrchr support.
74201         (WIDE): New macro.
74202         * wcsmbs/test-wcscpy.c: New file.
74203         * string/test-strcpy.c: Add wcscpy support.
74204         (WIDE): New macro.
74206 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74208         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74209         the inner loop.
74211 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74213         [BZ #13472]
74214         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74216 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74218         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74219         Minor optimizations.
74221         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74222         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74223         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74225 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74227         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74228         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74229         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74230         for gcc to avoid warnings.
74231         * inet/Makefile (tests): Add tst-checks.
74232         * inet/tst-checks.c: New file.
74234         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74235         warning.
74237         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74238         __wmemcmp_sse2.
74240         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74241         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74243         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74245 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74247         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74248         problem.
74250         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74252 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74254         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74255         conditional on GCC version.
74256         (__arch_compare_and_exchange_val_8_acq)
74257         (__arch_compare_and_exchange_val_16_acq)
74258         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74259         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74260         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74262 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74264         * sysdeps/sh/backtrace.c: New file.
74266 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74268         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74269         parenthesis.
74271 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74273         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74274         falling back to utime.
74276 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74278         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74279         expectations for float.
74281 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74283         * locale/weight.h (findidx): Add parameter len.
74284         * locale/weightwc.h (findidx): Likewise.
74285         * posix/fnmatch_loop.c (FCT): Adjust caller.
74286         * posix/regcomp.c (build_equiv_class): Likewise.
74287         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74288         * posix/regexec.c (check_node_accept_bytes): Likewise.
74289         * string/strcoll_l.c (STRCOLL): Likewise.
74290         * string/strxfrm_l.c (STRXFRM): Likewise.
74292 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74294         * Makefile.in: Remove CVSOPT handling.
74295         * configure.in: Remove use of AC_REVISION.
74296         * iconvdata/Makefile (distribute): No need to filter out CVS.
74297         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74298         handling.
74300 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74302         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74303         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74304         [USE_AS_STRNCASECMP_L]: Likewise.
74305         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74306         NO_TLS_DIRECT_SEG_REFS.
74307         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74308         Fix argument offsets for non-PIC.
74309         [USE_AS_STRNCASECMP_L]: Likewise.
74310         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74311         NO_TLS_DIRECT_SEG_REFS.
74313 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74315         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74316         O_CLOEXEC.
74317         * locale/loadlocale.c (_nl_load_locale): Likewise.
74319 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74321         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74322         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74323         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74324         (SYSCALL_GETTIME): Set errno on error.
74326         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74327         count references to noai6ai_cached.
74329 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74331         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74333         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74334         FD_CLOEXEC for /proc/self/maps.
74336         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74337         FD_CLOEXEC for /proc/meminfo.
74339         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74340         gai.conf.
74342         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74343         FD_CLOEXEC for given file.
74345         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74347         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74348         FD_CLOEXEC for /etc/hosts.
74349         (_gethtent): Likewise.
74351         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74353         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74354         cancellation and set FD_CLOEXEC for /etc/netgroup.
74356         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74357         reading /etc/publickey.
74359         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74360         allow cancellation when reading /etc/group.
74362         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74363         cancellation.
74364         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74366         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74367         when using data file.
74369         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74371         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74372         (write_nis_obj): Use "c" and "e" in fopen.
74374         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74376         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74378         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74380         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74382         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74383         locale.alias.
74385         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74387         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74389         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74391         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74392         file parsing and set FD_CLOEXEC.
74394 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74396         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74398 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74400         * malloc/arena.c (arena_get2): Don't call reused_arena when
74401         _int_new_arena failed.
74403 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74405         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74406         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74407         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74408         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74409         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74410         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74411         to compile strcasecmp and strncasecmp.
74412         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74413         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74417 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74419         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74420         locale-defines.sym to gen-as-const-headers.
74421         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74422         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74423         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74424         to compile strcasecmp and strncasecmp.
74425         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74426         strcasecmp_l and strncasecmp_l.
74427         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74428         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74429         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74430         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74431         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74432         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74433         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74434         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74435         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74436         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74437         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74439 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74441         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74442         result of SYSDEP_GETTIME_CPU to retval.
74443         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74444         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74446         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74447         variable.
74449         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74450         mantissa words.
74451         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74453         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74454         from unused variable.
74456         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74457         DWARF definitions.
74458         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74459         for assembling.
74461         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74462         over namespaces.
74464         * sunrpc/rpc_prot.c (rejected): Fix case value.
74466         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74467         unsigned long long int to avoid warnings in shift.
74469         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74470         of use of trans.
74471         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74472         variable tmp.
74474         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74475         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74476         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74478         * nis/nis_table.c (nis_list): Use variable of correct type for
74479         result of __follow_path call.
74481 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74483         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74484         of math functions ceil, trunc, floor, round, and sqrt, when
74485         avaliable on the platform.
74486         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74487         name clash.
74488         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74489         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74490         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74492 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74494         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74495         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74497 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74499         * include/unistd.h: Fix __readlink return type.
74500         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74502 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74504         * stdlib/ucontext.h: Undo last change for makecontext.
74506 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74508         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74510         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74511         * setjmp/setjmp.h: Mark functions as non-leaf.
74512         * setjmp/bits/setjmp2.h: Likewise.
74513         * stdlib/ucontext.h: Likewise.
74515 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74517         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74518         (reused_arena): Don't check arena limit.
74519         (arena_get2): Atomically check arena limit.
74521 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74523         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74524         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74527         instructions.
74529 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74531         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74532         handler when locking.
74534         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74535         Fix size of allocated buffer.
74537 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74539         [BZ #10103]
74540         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74541         declarations for long double functions.
74542         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74544         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74546 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74548         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74549         installed.
74551         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74552         is disabled.
74554 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74556         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74558 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74560         * include/alloca.h (stackinfo_alloca_round): Define.
74561         (extend_alloca): Use it.
74562         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74563         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74564         here.
74566         * scripts/check-local-headers.sh: Ignore libaudit.h.
74568         * nscd/Makefile (extra-objs): Make recursively expanded.
74570 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74572         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74575         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74576         * posix/tst-rfc3484-2.c: Likewise.
74577         * posix/tst-rfc3484-3.c: Likewise.
74579         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74580         process_vm_writev.
74581         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74582         process_vm_writev.
74583         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74584         process_vm_writev from libc using GLIBC_2.15 version.
74586         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74588 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74590         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74591         stack usage.
74593 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74595         [BZ #13367]
74596         * nss/getent.c (initgroups_keys): Show error message in case no group
74597         names are given.
74599         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74600         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74601         __bump_nl_timestamp.
74602         * nscd/connections (nscd_init): When host database is served open
74603         netlink socket and request notification about configuration changes.
74604         (main_loop_poll): Track netlink file descriptor and bump timestamp
74605         in case data becomes available.
74606         (main_loop_epoll): Likewise.
74607         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74608         (database_pers_head): Add extra_data fileds.
74609         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74610         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74611         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74612         Adjust caller.
74613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74614         in6ai data, call __free_in6ai.
74615         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74616         Add -DHAVE_NETLINK.
74617         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74618         interface information.  Reuse previous data if netlink timestamp
74619         is not changed.
74620         (__bump_nl_timestamp): New function.
74621         (__free_in6ai): New function.
74623 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74625         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74626         close_not_cancel_no_status here.
74627         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74629 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74631         [BZ #13276]
74632         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74633         return value.
74635         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74636         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74637         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74639 2011-07-03  Andreas Jaeger  <aj@suse.de>
74641         [BZ #10709]
74642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74643         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74644         * math/libm-test.inc (sin_test): Add test case.
74646 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74648         [BZ #13337]
74649         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74650         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74652         * elf/chroot_canon.c (chroot_canon): Cleanups.
74654         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74656         [BZ #13335]
74657         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74658         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74660         * string/test-strchr.c: Make usable for strchrnul testing.
74661         * string/test-strchrnul.c: New file.
74662         * string/Makefile (strop-tests): Add strchrnul.
74664         * po/it.po: Update from translation team.
74665         * po/es.po: Likewise.
74667 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74670         the three constants needed as parameters.  Drop the others.
74671         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74672         __m128i_strloadu_tolower.
74673         Create and initialize variable zero and use it in all the places
74674         where _mm_setzero_si128 was used.
74676         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74677         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74678         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74679         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74680         anymore.
74681         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74682         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74683         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74684         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74685         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74686         __mpranred, __mptan.
74687         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74688         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74689         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74690         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74691         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74692         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74693         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74694         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74695         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74697 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74699         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74700         redefine if SHARED.
74701         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74704         wide char related routines to wcsmbs subdir.
74706 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74708         [BZ #13344]
74709         * misc/sys/cdefs.h (__THROWNL): Define.
74710         * posix/unistd.h: Use __THREADNL instead of __THREAD
74711         for memory synchronization functions.
74713 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74715         [BZ #13349]
74716         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74717         doesn't exist.
74718         * manual/stdio.texi (Obstack Streams): Node removed.
74720 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74722         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74723         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74724         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74726         * math/math_private.h (math_force_eval): Allow non-addressable
74727         arguments.
74728         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74730 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74732         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74733         file is not needed.
74735         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74736         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74737         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74738         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74739         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74740         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74741         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74742         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74743         Add AVX variants.
74744         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74745         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74746         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74747         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74748         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74749         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74750         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74751         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74752         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74753         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74754         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74755         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74756         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74757         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74758         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74759         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74760         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74761         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74762         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74764         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74765         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74768         place.  Use VEX encoding when compiling for AVX.
74770 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74772         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74773         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74775         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74777 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74779         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74780         useless if() expression.
74781         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74782         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74783         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74784         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74785         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74786         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74787         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74788         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74789         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74790         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74791         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74792         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74793         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74794         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74795         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74796         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74797         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74798         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74799         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74801         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74803 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74805         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74806         condition.
74807         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74809 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74811         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74812         .text section.  Avoid duplicate constants.
74813         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74814         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74815         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74816         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74817         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74818         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74819         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74820         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74821         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74822         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74823         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74824         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74825         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74826         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74827         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74828         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74829         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74830         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74831         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74833         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74834         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74835         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74836         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74837         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74838         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74839         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74840         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74841         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74842         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74843         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74844         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74845         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74846         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74847         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74848         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74849         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74850         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74851         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74852         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74853         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74854         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74855         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74856         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74857         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74859 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74861         * sysdeps/x86_64/dla.h: Move to ...
74862         * sysdeps/x86_64/fpu/dla.h: ...here.
74863         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74864         situations.  Use __builtin_fma only for gcc 4.6 and up.
74866         * config.make.in: Add have-mfma4 entry.
74867         * configure.in: Substitute libc_cv_cc_fma4.
74868         * math/Makefile (dbl-only-routines): Add sincostab.
74869         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74870         Use __sincostab not sincos.
74871         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74872         name is a macro.
74873         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74877         using __copysign.
74878         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74879         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74880         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74881         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74882         and __inv.
74883         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74884         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74885         __copysign.
74886         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74887         define aliases when function name is a macro.
74888         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74889         sysdeps/ieee754/dbl-64/sincos.tbl.
74890         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74891         fma4-enabled routines.
74892         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74893         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74894         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74895         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74896         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74897         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74899         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74901         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74902         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74903         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74904         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74905         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74906         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74907         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74908         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74909         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74910         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74911         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74912         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74913         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74915         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74916         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74917         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74918         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74919         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74920         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74921         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74923         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74924         rename.
74925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74934 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74936         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74938 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74940         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74942         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74943         prediction.
74944         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74946         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74947         Remove unused variable magic_bits.
74948         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74950         * string/strnlen.c: Define and use STRNLEN macro.
74951         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74952         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74954         * wcsmbs/wcslen.c: Define and use WCSLEN.
74955         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74956         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74957         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74958         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74959         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74960         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74961         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74963 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74966         strnlen-sse2-no-bsf.
74967         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74968         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74969         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74970         Add strnlen support.
74971         (USE_AS_STRNLEN): New macro.
74972         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74973         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74974         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74975         * sysdeps/x86_64/wcslen.S: New file.
74977 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74979         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74980         XMM-moves are used for copying on small sizes.
74982 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74984         * wcsmbs/Makefile (strop-tests): Add wcschr.
74985         * wcsmbs/test-wcschr.c: New file.
74986         * string/test-strchr.c: Update.
74987         Add wcschr support.
74988         (WIDE): New macro.
74990 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74992         * wcsmbs/Makefile (strop-tests): Add wcslen.
74993         * wcsmbs/test-wcslen.c: New file.
74994         * string/test-strlen.c: Update.
74995         Add wcslen support.
74996         (WIDE): New macro.
74998 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75000         * po/it.po: Update from translation team.
75002 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75004         * sysdeps/x86_64/wcscmp.S: Update.
75005         Fix wrong comparison semantics.
75006         wcscmp shall use signed comparison not unsigned.
75007         Don't use substraction to avoid overflow bug.
75008         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75009         * wcsmbc/wcscmp.c: Likewise.
75010         * string/test-strcmp.c: Likewise.
75011         Add new tests to check cases with negative values.
75013 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75015         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75016         * sysdeps/x86_64/dla.h: ...here.  New file.
75017         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75019         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75022         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75023         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75024         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75027 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75030         __ynl_finite aliases.
75032 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75036         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75037         define DLA_FMA.
75038         [DLA_FMA] (EMULV): Use DLA_FMA.
75039         [DLA_FMA] (MUL12): Use EMULV.
75040         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75041         that are not needed.
75042         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75047         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75050 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75052         * math/s_nan.c: Undef __nan.
75053         * math/s_nanf.c: Undef __nanf.
75054         * math/s_nanl.c: Undef __nanl.
75055         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75056         "math_private.h".
75058 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75060         * math/s_catan.c: Add branch predictions.
75061         * math/s_catanf.c: Likewise.
75062         * math/s_catanh.c: Likewise.
75063         * math/s_catanhf.c: Likewise.
75064         * math/s_catanhl.c: Likewise.
75065         * math/s_catanl.c: Likewise.
75066         * math/s_cexp.c: Likewise.
75067         * math/s_cexpf.c: Likewise.
75068         * math/s_cexpl.c: Likewise.
75069         * math/s_clog.c: Likewise.
75070         * math/s_clog10.c: Likewise.
75071         * math/s_clog10f.c: Likewise.
75072         * math/s_clog10l.c: Likewise.
75073         * math/s_clogf.c: Likewise.
75074         * math/s_clogl.c: Likewise.
75075         * math/s_csqrt.c: Likewise.
75076         * math/s_csqrtf.c: Likewise.
75077         * math/s_csqrtl.c: Likewise.
75078         * math/s_ctanf.c: Likewise.
75079         * math/s_ctanh.c: Likewise.
75080         * math/s_ctanhf.c: Likewise.
75081         * math/s_ctanhl.c: Likewise.
75082         * math/s_ctanl.c: Likewise.
75084         * math/math_private.h: Define __nan, __nanf, __nanl.
75085         * math/s_cacosh.c: Include <math_private.h>.
75086         * math/s_cacoshl.c: Likewise.
75087         * math/s_casinh.c: Likewise.
75088         * math/s_casinhf.c: Likewise.
75089         * math/s_casinhl.c: Likewise.
75090         * math/s_ccos.c: Rely entire on ccosh.
75091         * math/s_ccosf.c: Rely entire on ccoshf.
75092         * math/s_ccosl.c: Rely entirely on ccoshl.
75093         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75094         Remove tests for FE_INVALID.
75095         * math/s_ccoshf.c: Likewise.
75096         * math/s_ccoshl.c: Likewise.
75097         * math/s_csin.c: Likewise.
75098         * math/s_csinf.c: Likewise.
75099         * math/s_csinh.c Likewise.
75100         * math/s_csinhf.c: Likewise.
75101         * math/s_csinhl.c: Likewise.
75102         * math/s_csinl.c: Likewise.
75103         * math/s_ctan.c: Likewise.
75104         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75105         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75106         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75108 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75111         compilation problems.
75113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75114         __builtin_expect.
75116 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75118         * sysdeps/i386/configure.in: Test for -mfma4 option.
75119         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75120         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75121         COMMON_CPUID_INDEX_80000001.
75122         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75123         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75124         use it if FMA3 is not supported.
75125         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75127         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75128         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75130 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75132         [BZ #12892]
75133         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75134         it would create a cycle with a link time dependency.
75136 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75138         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75139         instruction.
75140         * string/Makefile (strop-tests): Add rawmemchr.
75141         * string/test-rawmemchr.c: New file.
75143         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75144         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75145         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75146         when compiling str{,n}casecmp and when AVX is available.  Hook up
75147         new optimized code in initializers.
75149 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75151         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75152         __feraiseexcept instead of feraiseexcept.
75154 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75156         * math/math_private.h: Define defaults for libc_fetestexcept and
75157         libc_feupdateenv.
75158         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75159         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75160         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75161         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75162         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75163         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75164         libc_fetestexcept and libc_feupdateenv.
75166         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75167         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75168         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75169         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75170         libc_feholdexcept_setround.
75172         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75173         Add s_nearbyint-c and s_nearbyintf-c.
75174         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75175         nearbyintf inlines.
75176         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75177         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75178         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75179         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75181         * math/math_private.h: Define defaults for libc_fegetround,
75182         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75183         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75184         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75185         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75186         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75187         standard functions.
75188         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75189         Remove comments and hacks for old compiler versions.
75190         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75191         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75192         libc_feholdexceptl.
75194 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75196         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75197         (__feraiseexcept_renamed): Add __NTH.
75198         (feraiseexcept): Add __NTH.  Rename local variables to fix
75199         namespace violations.
75201 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75203         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75205         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75207         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75208         recently added interfaces.
75209         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75211         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75212         about macro parameter expansion.
75214         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75215         __NO_MATH_INLINES is defined.  Cleanups.
75217         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75218         and __floorf is target has SSE4.1.
75219         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75220         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75221         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75222         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75224         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75225         name.
75226         (floorf): Likewise.
75228         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75230 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75232         * misc/sys/cdefs.h: Fix last change.
75234         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75235         database lookup.
75237 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75239         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75241         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75242         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75243         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75244         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75246         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75247         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75248         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75249         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75250         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75251         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75252         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75253         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75254         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75255         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75256         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75257         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75258         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75259         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75260         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75261         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75262         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75264         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75265         ceil, ceilf, floor, floorf.
75267         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75268         Perform IRELATIVE relocations last.
75270         * elf/do-rel.h: Add another parameter nrelative, replacing the
75271         local variable with the same name.  Change name of the function
75272         to end in Rel or Rela (uppercase).
75273         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75274         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75275         elf_dynamic_do_##reloc function.
75277 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75279         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75280         is sufficient, at least on modern CPUs.
75282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75284         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75285         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75287         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75288         __expl_finite.
75289         * math/bits/math-finite.h: Add entries for exp.
75290         * math/e_expl.c: Add __*_finite alias.
75291         * sysdeps/i386/fpu/e_exp.S: Likewise.
75292         * sysdeps/i386/fpu/e_expf.S: Likewise.
75293         * sysdeps/i386/fpu/e_expl.c: Likewise.
75294         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75295         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75296         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75297         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75298         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75299         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75300         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75302         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75303         is sufficient, at least on modern CPUs.
75305         * ctype/ctype-info.c (__ctype_init): Define.
75306         * include/ctype.h (__ctype_init): Declare.
75307         (__ctype_b_loc): The variable is always initialized.
75308         (__ctype_toupper_loc): Likewise.
75309         (__ctype_tolower_loc): Likewise.
75310         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75311         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75313 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75315         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75317         * configure.in: Also look in $cxxmachine/include for C++ system
75318         headers.
75320 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75322         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75323         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75324         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75325         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75326         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75327         (USE_AS_WMEMCMP): New macro.
75328         Fixing indents.
75329         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75330         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75331         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75332         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75334         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75335         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75336         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75337         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75338         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75339         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75340         (USE_AS_WMEMCMP): New macro.
75341         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75342         * sysdeps/string/test-memcmp.c: Update.
75343         Fix simple_wmemcmp.
75344         Add new tests.
75345         * wcsmbs/wmemcmp.c: Update.
75346         (WMEMCMP): New macro.
75347         Fix overflow bug.
75349 2011-10-12  Andreas Jaeger  <aj@suse.de>
75351         [BZ #13268]
75352         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75354 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75356         * libio/iofwide.c (do_length): Avoid warning.
75358         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75360 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75362         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75364         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75365         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75366         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75367         * sysdeps/i386/i686/fpu/e_log.S: New file.
75368         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75369         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75371         * ctype/ctype.h: Add support for inlined isXXX functions when
75372         compiling C++ code.
75374 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75376         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75378         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75380 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75382         [BZ #13291]
75383         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75385 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75387         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75388         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75389         feraiseexcept.
75391         * sysdeps/x86_64/memrchr.S: Check for zero size.
75393         * string/stratcliff.c: Add memrchr tests.
75395 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75398         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75399         rawmemchr-sse2 rawmemchr-sse2-bsf.
75400         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75401         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75402         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75403         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75404         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75405         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75406         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75407         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75408         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75409         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75410         * string/memrchr.c (MEMRCHR): New macro.
75412 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75414         Add integration with gcc's -ffinite-math-only and optimize wrapper
75415         functions in libm.
75416         * Versions.def: Define GLIBC_2.15 version for libm.
75417         * math/Makefile (headers): Add bits/math-finite.h.
75418         * math/bits/math-finite.h: New file.
75419         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75420         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75421         * math/e_acoshl.c: Add __*_finite alias.
75422         * math/e_acosl.c: Likewise.
75423         * math/e_asinl.c: Likewise.
75424         * math/e_atan2l.c: Likewise.
75425         * math/e_atanhl.c: Likewise.
75426         * math/e_coshl.c: Likewise.
75427         * math/e_exp10.c: Likewise.
75428         * math/e_exp10f.c: Likewise.
75429         * math/e_exp10l.c: Likewise.
75430         * math/e_exp2l.c: Likewise.
75431         * math/e_fmodl.c: Likewise.
75432         * math/e_gammal_r.c: Likewise.
75433         * math/e_hypotl.c: Likewise.
75434         * math/e_j0l.c: Likewise.
75435         * math/e_j1l.c: Likewise.
75436         * math/e_jnl.c: Likewise.
75437         * math/e_lgammal_r.c: Likewise.
75438         * math/e_log10l.c: Likewise.
75439         * math/e_log2l.c: Likewise.
75440         * math/e_logl.c: Likewise.
75441         * math/e_powl.c: Likewise.
75442         * math/e_sinhl.c: Likewise.
75443         * math/e_sqrtl.c: Likewise.
75444         * math/e_scalb.c: Completely rewritten and optimized.
75445         * math/e_scalbf.c: Likewise.
75446         * math/e_scalbl.c: Likewise.
75447         * math/w_acos.c: Likewise.
75448         * math/w_acosf.c: Likewise.
75449         * math/w_acosl.c: Likewise.
75450         * math/w_acosh.c: Likewise.
75451         * math/w_acoshf.c: Likewise.
75452         * math/w_acoshl.c: Likewise.
75453         * math/w_asin.c: Likewise.
75454         * math/w_asinf.c: Likewise.
75455         * math/w_asinl.c: Likewise.
75456         * math/w_atan2.c: Likewise.
75457         * math/w_atan2f.c: Likewise.
75458         * math/w_atan2l.c: Likewise.
75459         * math/w_atanh.c: Likewise.
75460         * math/w_atanhf.c: Likewise.
75461         * math/w_atanhl.c: Likewise.
75462         * math/w_exp10.c: Likewise.
75463         * math/w_exp10f.c: Likewise.
75464         * math/w_exp10l.c: Likewise.
75465         * math/w_fmod.c: Likewise.
75466         * math/w_fmodf.c: Likewise.
75467         * math/w_fmodl.c: Likewise.
75468         * math/w_j0.c: Likewise.
75469         * math/w_j0f.c: Likewise.
75470         * math/w_j0l.c: Likewise.
75471         * math/w_j1.c: Likewise.
75472         * math/w_j1f.c: Likewise.
75473         * math/w_j1l.c: Likewise.
75474         * math/w_jn.c: Likewise.
75475         * math/w_jnf.c: Likewise.
75476         * math/w_log.c: Likewise.
75477         * math/w_logf.c: Likewise.
75478         * math/w_logl.c: Likewise.
75479         * math/w_log10.c: Likewise.
75480         * math/w_log10f.c: Likewise.
75481         * math/w_log10l.c: Likewise.
75482         * math/w_log2.c: Likewise.
75483         * math/w_log2f.c: Likewise.
75484         * math/w_log2l.c: Likewise.
75485         * math/w_pow.c: Likewise.
75486         * math/w_powf.c: Likewise.
75487         * math/w_powl.c: Likewise.
75488         * math/w_remainder.c: Likewise.
75489         * math/w_remainderf.c: Likewise.
75490         * math/w_remainderl.c: Likewise.
75491         * math/w_scalb.c: Likewise.
75492         * math/w_scalbf.c: Likewise.
75493         * math/w_scalbl.c: Likewise.
75494         * math/w_sqrt.c: Likewise.
75495         * math/w_sqrtf.c: Likewise.
75496         * math/w_sqrtl.c: Likewise.
75497         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75498         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75499         used.
75500         * math/math_private.h: Declare __kernel_standard_f.
75501         * math/w_cosh.c: Remove cruft and optimize a bit.
75502         * math/w_coshf.c: Likewise.
75503         * math/w_coshl.c: Likewise.
75504         * math/w_exp2.c: Likewise.
75505         * math/w_exp2f.c: Likewise.
75506         * math/w_exp2l.c: Likewise.
75507         * math/w_hypot.c: Likewise.
75508         * math/w_hypotf.c: Likewise.
75509         * math/w_hypotl.c: Likewise.
75510         * math/w_lgamma.c: Likewise.
75511         * math/w_lgamma_r.c: Likewise.
75512         * math/w_lgammaf.c: Likewise.
75513         * math/w_lgammaf_r.c: Likewise.
75514         * math/w_lgammal.c: Likewise.
75515         * math/w_lgammal_r.c: Likewise.
75516         * math/w_sinh.c: Likewise.
75517         * math/w_sinhf.c: Likewise.
75518         * math/w_sinhl.c: Likewise.
75519         * math/w_tgamma.c: Likewise.
75520         * math/w_tgammaf.c: Likewise.
75521         * math/w_tgammal.c: Likewise.
75522         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75523         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75524         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75525         Minor optimizations.  Pretty printing.  Remove cruft.
75526         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75527         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75528         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75529         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75530         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75531         * sysdeps/i386/fpu/e_asin.S: Likewise.
75532         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75533         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75534         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75535         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75536         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75537         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75538         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75539         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75540         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75541         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75542         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75543         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75544         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75545         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75546         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75547         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75548         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75549         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75550         * sysdeps/i386/fpu/e_log.S: Likewise.
75551         * sysdeps/i386/fpu/e_log10.S: Likewise.
75552         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75553         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75554         * sysdeps/i386/fpu/e_log2.S: Likewise.
75555         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75556         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75557         * sysdeps/i386/fpu/e_logf.S: Likewise.
75558         * sysdeps/i386/fpu/e_logl.S: Likewise.
75559         * sysdeps/i386/fpu/e_pow.S: Likewise.
75560         * sysdeps/i386/fpu/e_powf.S: Likewise.
75561         * sysdeps/i386/fpu/e_powl.S: Likewise.
75562         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75563         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75564         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75565         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75566         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75567         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75568         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75569         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75570         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75585         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75590         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75591         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75592         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75593         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75594         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75595         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75596         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75597         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75598         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75599         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75600         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75601         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75602         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75603         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75605         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75606         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75607         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75608         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75609         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75610         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75611         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75612         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75613         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75614         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75616         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75617         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75618         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75619         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75620         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75621         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75622         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75623         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75624         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75626         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75627         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75628         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75629         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75630         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75631         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75632         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75635         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75636         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75638         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75639         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75640         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75641         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75642         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75643         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75645         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75648         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75649         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75650         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75651         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75652         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75653         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75654         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75655         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75656         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75657         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75658         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75659         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75660         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75661         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75662         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75663         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75664         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75665         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75666         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75667         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75668         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75669         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75670         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75671         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75672         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75673         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75674         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75675         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75676         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75677         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75679         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75680         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75681         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75682         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75683         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75684         (__isnanf): Likewise.
75685         (__isinf_ns): Likewise.
75686         (__isinf_nsf): Likewise.
75687         (__finite): Likewise.
75688         (__finitef): Likewise.
75689         (__ieee754_sqrt): Define as macro.
75690         (__ieee754_sqrtf): Define as macro.
75691         (__ieee754_sqrtl): Define as macro.
75692         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75693         inlined copy.
75694         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75695         __FINITE_MATH_ONLY__ consistent.
75696         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75698 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75700         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75701         of rawmemchr.
75703         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75705 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75707         * po/ja.po: Update from translation team.
75709 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75711         * locale/programs/locarchive.c (prepare_address_space): New function.
75712         (create_archive, enlarge_archive, open_archive): Use it.
75714         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75715         inside [SHARED], where it is used.
75717         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75719         * nss/getent.c (netgroup_keys): Remove unused variable.
75720         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75722 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75724         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75725         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75727         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75728         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75729         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75730         * math/Makefile (libm-calls): Add s_isinf_ns.
75731         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75732         * math/multc3.c: Likewise.
75733         * math/s_casin.c: Likewise.
75734         * math/s_casinf.c: Likewise.
75735         * math/s_casinl.c: Likewise.
75736         * math/s_ccos.c: Likewise.
75737         * math/s_ccosf.c: Likewise.
75738         * math/s_ccosl.c: Likewise.
75739         * math/s_ctan.c: Likewise.
75740         * math/s_ctanf.c: Likewise.
75741         * math/s_ctanh.c: Likewise.
75742         * math/s_ctanhf.c: Likewise.
75743         * math/s_ctanhl.c: Likewise.
75744         * math/s_ctanl.c: Likewise.
75745         * math/w_fmod.c: Likewise.
75746         * math/w_fmodf.c: Likewise.
75747         * math/w_fmodl.c: Likewise.
75748         * math/w_remainder.c: Likewise.
75749         * math/w_remainderf.c: Likewise.
75750         * math/w_remainderl.c: Likewise.
75751         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75752         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75753         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75755         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75756         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75757         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75758         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75760         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75761         of the number.
75762         * stdio-common/printf_fphex.c: Likewise.
75763         * stdio-common/printf_size.c: Likewise.
75765         * math/e_exp10.c: Include math_private.h using <...> not "...".
75766         * math/e_exp10f.c: Likewise.
75767         * math/e_exp10l.c: Likewise.
75768         * math/e_exp2l.c: Likewise.
75769         * math/e_j0l.c: Likewise.
75770         * math/e_j1l.c: Likewise.
75771         * math/e_jnl.c: Likewise.
75772         * math/e_lgammal_r.c: Likewise.
75773         * math/e_rem_pio2l.c: Likewise.
75774         * math/e_scalb.c: Likewise.
75775         * math/e_scalbf.c: Likewise.
75776         * math/e_scalbl.c: Likewise.
75777         * math/k_cosl.c: Likewise.
75778         * math/k_sinl.c: Likewise.
75779         * math/k_tanl.c: Likewise.
75780         * math/s_cacoshf.c: Likewise.
75781         * math/s_catan.c: Likewise.
75782         * math/s_catanf.c: Likewise.
75783         * math/s_catanh.c: Likewise.
75784         * math/s_catanhf.c: Likewise.
75785         * math/s_catanhl.c: Likewise.
75786         * math/s_catanl.c: Likewise.
75787         * math/s_ccosh.c: Likewise.
75788         * math/s_ccoshf.c: Likewise.
75789         * math/s_ccoshl.c: Likewise.
75790         * math/s_cexp.c: Likewise.
75791         * math/s_cexpf.c: Likewise.
75792         * math/s_cexpl.c: Likewise.
75793         * math/s_clog.c: Likewise.
75794         * math/s_clog10.c: Likewise.
75795         * math/s_clog10f.c: Likewise.
75796         * math/s_clog10l.c: Likewise.
75797         * math/s_clogf.c: Likewise.
75798         * math/s_clogl.c: Likewise.
75799         * math/s_csin.c: Likewise.
75800         * math/s_csinf.c: Likewise.
75801         * math/s_csinh.c: Likewise.
75802         * math/s_csinhf.c: Likewise.
75803         * math/s_csinhl.c: Likewise.
75804         * math/s_csinl.c: Likewise.
75805         * math/s_csqrt.c: Likewise.
75806         * math/s_csqrtf.c: Likewise.
75807         * math/s_csqrtl.c: Likewise.
75808         * math/s_ctan.c: Likewise.
75809         * math/s_ctanf.c: Likewise.
75810         * math/s_ctanh.c: Likewise.
75811         * math/s_ctanhf.c: Likewise.
75812         * math/s_ctanhl.c: Likewise.
75813         * math/s_ctanl.c: Likewise.
75814         * math/s_ldexp.c: Likewise.
75815         * math/s_ldexpf.c: Likewise.
75816         * math/s_ldexpl.c: Likewise.
75817         * math/s_significand.c: Likewise.
75818         * math/s_significandf.c: Likewise.
75819         * math/s_significandl.c: Likewise.
75820         * math/w_acos.c: Likewise.
75821         * math/w_acosf.c: Likewise.
75822         * math/w_acosh.c: Likewise.
75823         * math/w_acoshf.c: Likewise.
75824         * math/w_acoshl.c: Likewise.
75825         * math/w_acosl.c: Likewise.
75826         * math/w_asin.c: Likewise.
75827         * math/w_asinf.c: Likewise.
75828         * math/w_asinl.c: Likewise.
75829         * math/w_atan2.c: Likewise.
75830         * math/w_atan2f.c: Likewise.
75831         * math/w_atan2l.c: Likewise.
75832         * math/w_atanh.c: Likewise.
75833         * math/w_atanhf.c: Likewise.
75834         * math/w_atanhl.c: Likewise.
75835         * math/w_cosh.c: Likewise.
75836         * math/w_coshf.c: Likewise.
75837         * math/w_coshl.c: Likewise.
75838         * math/w_dremf.c: Likewise.
75839         * math/w_exp10.c: Likewise.
75840         * math/w_exp10f.c: Likewise.
75841         * math/w_exp10l.c: Likewise.
75842         * math/w_exp2.c: Likewise.
75843         * math/w_exp2f.c: Likewise.
75844         * math/w_fmod.c: Likewise.
75845         * math/w_fmodf.c: Likewise.
75846         * math/w_fmodl.c: Likewise.
75847         * math/w_hypot.c: Likewise.
75848         * math/w_hypotf.c: Likewise.
75849         * math/w_hypotl.c: Likewise.
75850         * math/w_j0.c: Likewise.
75851         * math/w_j0f.c: Likewise.
75852         * math/w_j0l.c: Likewise.
75853         * math/w_j1.c: Likewise.
75854         * math/w_j1f.c: Likewise.
75855         * math/w_j1l.c: Likewise.
75856         * math/w_jn.c: Likewise.
75857         * math/w_jnf.c: Likewise.
75858         * math/w_jnl.c: Likewise.
75859         * math/w_lgamma.c: Likewise.
75860         * math/w_lgamma_r.c: Likewise.
75861         * math/w_lgammaf.c: Likewise.
75862         * math/w_lgammaf_r.c: Likewise.
75863         * math/w_lgammal.c: Likewise.
75864         * math/w_lgammal_r.c: Likewise.
75865         * math/w_log.c: Likewise.
75866         * math/w_log10.c: Likewise.
75867         * math/w_log10f.c: Likewise.
75868         * math/w_log10l.c: Likewise.
75869         * math/w_log2.c: Likewise.
75870         * math/w_log2f.c: Likewise.
75871         * math/w_log2l.c: Likewise.
75872         * math/w_logf.c: Likewise.
75873         * math/w_logl.c: Likewise.
75874         * math/w_pow.c: Likewise.
75875         * math/w_powf.c: Likewise.
75876         * math/w_powl.c: Likewise.
75877         * math/w_remainder.c: Likewise.
75878         * math/w_remainderf.c: Likewise.
75879         * math/w_remainderl.c: Likewise.
75880         * math/w_scalb.c: Likewise.
75881         * math/w_scalbf.c: Likewise.
75882         * math/w_scalbl.c: Likewise.
75883         * math/w_sinh.c: Likewise.
75884         * math/w_sinhf.c: Likewise.
75885         * math/w_sinhl.c: Likewise.
75886         * math/w_sqrt.c: Likewise.
75887         * math/w_sqrtf.c: Likewise.
75888         * math/w_sqrtl.c: Likewise.
75889         * math/w_tgamma.c: Likewise.
75890         * math/w_tgammaf.c: Likewise.
75891         * math/w_tgammal.c: Likewise.
75893         * po/ja.po: Update from translation team.
75895 2011-09-29  Andreas Jaeger  <aj@suse.de>
75897         [BZ #13179]
75898         * sunrpc/netname.c (netname2host): Fix logic.
75900         [BZ #6779]
75901         [BZ #6783]
75902         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75903         correctly.
75904         * math/w_remainder.c (__remainder): Likewise.
75905         * math/w_remainderf.c (__remainderf): Likewise.
75906         * math/libm-test.inc (remainder_test): Add test cases.
75908 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75910         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75911         sdiv_qrnnd.
75913 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75915         * string/test-memcmp.c: Avoid unncessary #defines.
75916         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75918 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75920         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75921         Use new sse2 version for core i3 - i7 as it's faster
75922         than sse42 version.
75923         (bit_Prefer_PMINUB_for_stringop): New.
75924         * sysdeps/x86_64/rawmemchr.S: Update.
75925         Replace with faster SSE2 version.
75926         * sysdeps/x86_64/memrchr.S: New file.
75927         * sysdeps/x86_64/memchr.S: Update.
75928         Replace with faster SSE2 version.
75930 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75932         * elf/dl-load.c (lose): Add cast to avoid warning.
75934 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75936         * po/ca.po: Update from translation team.
75938         * inet/getnetgrent_r.c: Hook up nscd.
75939         * nscd/Makefile (routines): Add nscd_netgroup.
75940         (nscd-modules): Add netgroupcache.
75941         (CFLAGS-netgroupcache.c): Define.
75942         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75943         (cache_search): Add const to second parameter.
75944         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75945         INNETGR.
75946         (dbs): Add netgrdb entry.
75947         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75948         (verify_persistent_db): Handle netgrdb.
75949         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75950         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75951         GETFDNETGR.
75952         (netgroup_response_header): Define.
75953         (innetgroup_response_header): Define.
75954         (datahead): Add netgroup_response_header and innetgroup_response_header
75955         elements.
75956         * nscd/nscd.conf: Add entries for netgroup cache.
75957         * nscd/nscd.h (dbtype): Add netgrdb.
75958         (_PATH_NSCD_NETGROUP_DB): Define.
75959         (netgroup_iov_disabled): Declare.
75960         (xmalloc, xcalloc, xrealloc): Move declarations here.
75961         (cache_search): Adjust prototype.
75962         Add netgroup-related prototypes.
75963         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75964         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75965         (__nscd_innetgr): Declare.
75966         * nscd/selinux.c (perms): Use access_vector_t as element type and
75967         add netgroup-related initializers.
75968         * nscd/netgroupcache.c: New file.
75969         * nscd/nscd_netgroup.c: New file.
75970         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75971         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75972         For four parameters use innetgr.
75973         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75974         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75975         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75976         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75978         * nscd/connections.c (register_traced_file): Don't register file
75979         for disabled databases.
75981 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75983         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75985         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75986         from tree and freeing node.
75988 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75990         * nss/nsswitch.c (__nss_database_lookup): Handle
75991         nss_parse_service_list out of memory case.
75993 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75995         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75996         out of memory case.
75998 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76000         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76001         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76002         pass it down.
76003         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76004         elf_machine_rela, elf_machine_lazy_rel.
76005         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76006         (ELF_DYNAMIC_DO_REL): Likewise.
76007         (ELF_DYNAMIC_DO_RELA): Likewise.
76008         (ELF_DYNAMIC_RELOCATE): Likewise.
76009         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76010         to ELF_DYNAMIC_DO_REL.
76011         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76012         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76013         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76014         elf_machine_rela.
76015         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76016         skip_ifunc, don't call ifunc function if non-zero.
76017         (elf_machine_rela): Likewise.
76018         (elf_machine_lazy_rel): Likewise.
76019         (elf_machine_lazy_rela): Likewise.
76020         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76021         (elf_machine_lazy_rel): Likewise.
76022         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76023         Likewise.
76024         (elf_machine_lazy_rel): Likewise.
76025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76026         Likewise.
76027         (elf_machine_lazy_rel): Likewise.
76028         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76029         (elf_machine_lazy_rel): Likewise.
76030         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76031         (elf_machine_lazy_rel): Likewise.
76032         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76033         (elf_machine_lazy_rel): Likewise.
76034         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76035         (elf_machine_lazy_rel): Likewise.
76036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76037         (elf_machine_lazy_rel): Likewise.
76038         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76039         (elf_machine_lazy_rel): Likewise.
76041 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76043         * nss/nss_files/files-init.c (_nss_files_init): Use static
76044         initialization for all the *_traced_file variables.
76046 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76048         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76050 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76052         [BZ #13226]
76053         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76055 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76057         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76058         Reread the line before reparsing it.
76060 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76062         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76064 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76065             Maxim Kuvyrkov  <maxim@codesourcery.com>
76066             Joseph Myers  <joseph@codesourcery.com>
76068         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76069         if needed for __stack_chk_guard.
76071 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76073         * sysdeps/posix/spawni.c (script_execute): Always define it.
76074         It will be optimized away if unused.
76075         (maybe_script_execute): New function.
76076         (__spawni): Call it.
76078         * Makerules: Don't include tls.make.
76079         (config-tls): Always set to thread.
76080         * tls.make.c: File removed.
76082 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76084         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76085         * config.make.in (CPPFLAGS-config): New substituted variable.
76087 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76091         [BZ #13192]
76092         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76093         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76095 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76097         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76098         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76100         (CALL_FAIL): Likewise.
76101         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76102         (CALL_FAIL): Macro removed.
76103         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76105 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76107         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76108         for __FINITE_MATH_ONLY__ == 1.
76110 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76112         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76113         __ieee754_sqrt instead of sqrt.
76114         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76115         __ieee754_sqrtf instead of sqrtf.
76116         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76117         __floorf instead of floorf.
76118         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76119         __floorf, __truncf instead of floorf, truncf.
76121 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76123         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76125         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76126         __extern_always_inline.
76127         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76128         32-bit.
76130 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76132         * elf/rtld.c (dl_main): Also relocate in dependency order when
76133         doing symbol dependency testing.
76135 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76138         Always define `refsym'.
76140 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76142         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76143         (__FD_ELT): Renamed from __FDELT.
76144         * misc/bits/select2.h (__FD_ELT): Likewise.
76145         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76146         __FD_MASK instead of __FDELT, __FDMASK.
76147         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76148         Likewise.
76149         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76150         Likewise.
76152         * elf/Makefile (gen-ldd): Fix pattern.
76154         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76155         (init_tls): Likewise.
76157 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76161 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76163         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76164         `struct cmsghdr *' instead of `void *'.
76165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76166         Likewise.
76168 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76170         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76171         if non-absolute.
76172         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76173         ldd_rewrite_script.
76175 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76177         * configure.in: Remove --with-tls option.
76178         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76179         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76180         out in case it is missing.
76181         * sysdeps/ia64/elf/configure.in: Likewise.
76182         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76183         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76184         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76185         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76186         * sysdeps/sh/elf/configure.in: Likewise.
76187         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76188         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76189         * sysdeps/x86_64/elf/configure.in: Likewise.
76190         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76191         * sysdeps/mach/hurd/tls.h: Likewise.
76193         [BZ #13067]
76194         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76196         [BZ #13090]
76197         * configure.in: Fix use of AC_INIT.
76199         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76201 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76203         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76204         __set_errno.
76205         * malloc/hooks.c: Likewise.
76207         [BZ #11929]
76208         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76209         variables statically.
76210         (narenas): Initialize.
76211         (list_lock): Initialize.
76212         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76213         initializtion of main_arena and list_lock.  Small cleanups.
76214         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76215         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76216         Add initializers to main_arena and mp_.
76217         (malloc_state): Remove pagesize member.  Change all users to use
76218         GLRO(dl_pagesize).
76220         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76221         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76222         is always initialized.
76224         * malloc/malloc.c: Removed unused configurations and dead code.
76225         * malloc/arena.c: Likewise.
76226         * malloc/hooks.c: Likewise.
76227         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76229         * include/tls.h: Removed.  USE___THREAD must always be defined.
76230         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76231         * elf/dl-libc.c: Likewise.
76232         * elf/dl-tsd.c: Likewise.
76233         * include/errno.h: Likewise.
76234         * include/netdb.h: Likewise.
76235         * include/resolv.h: Likewise.
76236         * inet/herrno-loc.c: Likewise.
76237         * inet/herrno.c: Likewise.
76238         * malloc/arena.c: Likewise.
76239         * malloc/hooks.c: Likewise.
76240         * malloc/malloc.c: Likewise.
76241         * resolv/res-state.c: Likewise.
76242         * resolv/res_libc.c: Likewise.
76243         * sysdeps/i386/dl-machine.h: Likewise.
76244         * sysdeps/ia64/dl-machine.h: Likewise.
76245         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76246         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76247         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76248         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76249         * sysdeps/sh/dl-machine.h: Likewise.
76250         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76251         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76252         * sysdeps/unix/i386/sysdep.S: Likewise.
76253         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76254         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76259         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76263         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76264         * sysdeps/x86_64/dl-machine.h: Likewise.
76265         * tls.make.c: Likewise.
76267         * configure.in: Remove --with-__thread option.  Make tests for
76268         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76269         tls_model attribute fail if no support is available.  Remove
76270         USE_IN_LIBIO.
76271         * Makeconfig: Adjust for dropped configure option.  All features are
76272         now mandatory.
76273         * Makerules: Likewise.
76274         * Versions.def: Likewise.
76275         * argp/argp-fmtstream.c: Likewise.
76276         * argp/argp-fmtstream.h: Likewise.
76277         * argp/argp-help.c: Likewise.
76278         * assert/assert.c: Likewise.
76279         * config.h.in: Likewise.
76280         * config.make.in: Likewise.
76281         * configure: Likewise.
76282         * configure.in: Likewise.
76283         * csu/Versions: Likewise.
76284         * csu/init.c: Likewise.
76285         * elf/tst-audit2.c: Likewise.
76286         * elf/tst-tls10.c: Likewise.
76287         * elf/tst-tls10.h: Likewise.
76288         * elf/tst-tls11.c: Likewise.
76289         * elf/tst-tls12.c: Likewise.
76290         * elf/tst-tls14.c: Likewise.
76291         * elf/tst-tlsmod11.c: Likewise.
76292         * elf/tst-tlsmod12.c: Likewise.
76293         * elf/tst-tlsmod13.c: Likewise.
76294         * elf/tst-tlsmod13a.c: Likewise.
76295         * elf/tst-tlsmod14a.c: Likewise.
76296         * elf/tst-tlsmod15b.c: Likewise.
76297         * elf/tst-tlsmod16a.c: Likewise.
76298         * elf/tst-tlsmod16b.c: Likewise.
76299         * elf/tst-tlsmod7.c: Likewise.
76300         * elf/tst-tlsmod8.c: Likewise.
76301         * elf/tst-tlsmod9.c: Likewise.
76302         * gmon/gmon.c: Likewise.
76303         * grp/fgetgrent_r.c: Likewise.
76304         * grp/putgrent.c: Likewise.
76305         * hurd/fopenport.c: Likewise.
76306         * include/libc-symbols.h: Likewise.
76307         * include/tls.h: Likewise.
76308         * intl/gettextP.h: Likewise.
76309         * intl/loadinfo.h: Likewise.
76310         * locale/global-locale.c: Likewise.
76311         * locale/localeinfo.h: Likewise.
76312         * mach/devstream.c: Likewise.
76313         * malloc/arena.c: Likewise.
76314         * malloc/set-freeres.c: Likewise.
76315         * misc/err.c: Likewise.
76316         * misc/getttyent.c: Likewise.
76317         * misc/mntent_r.c: Likewise.
76318         * posix/getopt.c: Likewise.
76319         * posix/wordexp.c: Likewise.
76320         * pwd/fgetpwent_r.c: Likewise.
76321         * resolv/Versions: Likewise.
76322         * resolv/res_hconf.c: Likewise.
76323         * shadow/fgetspent_r.c: Likewise.
76324         * shadow/putspent.c: Likewise.
76325         * stdio-common/printf_fphex.c: Likewise.
76326         * stdio-common/tmpfile.c: Likewise.
76327         * stdlib/abort.c: Likewise.
76328         * stdlib/fmtmsg.c: Likewise.
76329         * sunrpc/auth_unix.c: Likewise.
76330         * sunrpc/clnt_perr.c: Likewise.
76331         * sunrpc/clnt_tcp.c: Likewise.
76332         * sunrpc/clnt_udp.c: Likewise.
76333         * sunrpc/clnt_unix.c: Likewise.
76334         * sunrpc/openchild.c: Likewise.
76335         * sunrpc/svc_simple.c: Likewise.
76336         * sunrpc/svc_tcp.c: Likewise.
76337         * sunrpc/svc_udp.c: Likewise.
76338         * sunrpc/svc_unix.c: Likewise.
76339         * sunrpc/xdr.c: Likewise.
76340         * sunrpc/xdr_array.c: Likewise.
76341         * sunrpc/xdr_rec.c: Likewise.
76342         * sunrpc/xdr_ref.c: Likewise.
76343         * sunrpc/xdr_stdio.c: Likewise.
76345 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76347         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76349 2011-07-03  Andreas Jaeger  <aj@suse.de>
76351         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76352         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76353         regenerate with gen-libm-tests.pl.
76355 2010-05-12  Petr Baudis  <pasky@suse.cz>
76357         [BZ #11589]
76358         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76359         around j0() zero points by switching to j1().
76360         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76361         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76363         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76365 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76367         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76368         instead of 0.
76369         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76370         instead of 0.
76371         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76372         Patch in part by Pavel Roskin <proski@gnu.org>.
76374         [BZ #13138]
76375         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76376         realloc.
76377         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76378         Free memory block if necessary.
76380         [BZ #12847]
76381         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76382         be NULL.  Don't lock in this case.
76384 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76386         * elf/elf.h (ELFOSABI_GNU): New macro.
76387         (ELFOSABI_LINUX): Define to that.
76389 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76391         * string/strncat.c (strncat): Undef the symbol in case it has been
76392         defined in bits/string.h.
76394 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76396         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76398         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76399         link map.
76401 2011-08-17  Andreas Jaeger  <aj@suse.de>
76403         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76405 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76406             Ian Lance Taylor  <iant@google.com>
76408         * math/libm-test.inc (lround_test): New testcase.
76409         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76411 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76413         * Makefile: Remove support for automatic cvs check-ins.
76414         * Makerules: Likewise.
76415         * config.make.in: Likewise.
76416         * configure.in: Likewise.
76417         * intl/Makefile: Likewise.
76418         * locale/Makefile: Likewise.
76419         * po/Makefile: Likewise.
76420         * posix/Makefile: Likewise.
76421         * sysdeps/gnu/Makefile: Likewise.
76422         * sysdeps/mach/hurd/Makefile: Likewise.
76423         * sysdeps/sparc/sparc32/Makefile: Likewise.
76425         [BZ #13118]
76426         * posix/Makefile (bug-regex32-ENV): Define.
76427         Patch by John Stanley <jpsinthemix@verizon.net>.
76429         * misc/Makefile (headers): Add bits/select2.h.
76430         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76431         * misc/bits/select2.h: New file.
76432         * include/bits/select2.h: New file.
76433         * debug/Makefile (routines): Add fdelt_chk.
76434         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76435         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76436         FD_ISSET.
76437         * debug/fdelt_chk.c: New file.
76439         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76440         * wcsmbs/test-wmemcmp.c: Likewise.
76441         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76442         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76444 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76446         * string/Makefile (strop-tests): Add memcmp.
76447         * string/test-wmemcmp.c: New file.
76448         * string/test-memcmp.c: Add wmemcmp support.
76450 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76452         [BZ #13153]
76453         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76454         2011-07-19 change.
76456         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76457         garbage value in a __mach_port_mod_refs call in the cases of the
76458         task-self and thread-self ports.
76460 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76462         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76464 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76466         * elf/dl-load.c (lose): Check for non-null L.
76468 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76470         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76472         * elf/dl-libc.c (dlerror_run): Pass back error code from
76473         dl_catch_error.
76475         [BZ #13123]
76476         * elf/dl-load.c (lose): Free l_origin if it is valid.
76478         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76479         names.
76480         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76481         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76482         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76483         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76484         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76485         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76487 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76489         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76490         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76491         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76492         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76493         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76494         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76495         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76496         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76497         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76498         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76500 2011-08-15  Alan Modra  <amodra@gmail.com>
76502         [BZ #13092]
76503         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76504         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76505         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76506         ppc_mcount to static-only-routines.
76507         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76508         __mcount_internal.
76509         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76510         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76512 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76514         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76515         for finite and infinity parameters.
76517 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76520         and add nop instructions for throughput optimization.
76521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76523 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76525         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76526         aligned copy for power7 with vector-scalar instructions.
76527         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76529 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76531         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76532         AVX check.
76534 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76536         [BZ #13144]
76537         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76538         last change.
76540 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76542         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76543         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76544         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76545         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76546         clock_gettime.
76548 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76550         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76551         Forgot to demangle the pointer.
76553         * sysdeps/i386/sysdep.h: Define atom_text_section.
76554         * sysdeps/x86_64/sysdep.h: Likewise.
76555         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76556         section with atom_text_section.
76557         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76558         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76559         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76561         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76563         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76564         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76565         already be defined.  Change to take two parameters and don't assign
76566         result to variable.  Adjust all users.
76567         Define INTERNAL_GETTIME if not already defined.
76568         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76569         call.
76570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76571         HAVE_CLOCK_GETTIME_VSYSCALL.
76572         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76574         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76575         gettimeofday vsyscall, just use time.
76577 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76580         <errno.h>.
76582 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76584         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76585         syscall on x86-64.
76586         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76587         syscall.
76588         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76589         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76590         syscall if possible.
76592 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76594         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76595         e_ident.  Don't pass to find_mapsXX.
76596         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76598 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76601         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76602         * sysdeps/x86_64/multiarch/strchr.S: Update.
76603         Check bit_slow_BSF bit.
76604         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76605         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76606         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76608 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76610         [BZ #13134]
76611         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76612         before glibc 2.15.
76613         (tryshell): Define.
76614         (__spawni): Change last parameter to be flag.  Test
76615         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76616         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76617         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76618         * posix/spawni.c: Likewise.
76619         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76620         * posix/spawnp.c: Likewise.  Change normal version to use
76621         SPAWN_XFLAGS_USE_PATH.
76622         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76623         SPAWN_XFLAGS_TRY_SHELL.
76625         [BZ #13150]
76626         * posix/glob.h: Remove gcc 1.x support.
76628         [BZ #13068]
76629         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76631 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76633         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76634         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76635         strrchr-sse2-bsf
76636         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76637         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76638         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76639         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76640         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76641         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76643 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76645         * sysdeps/x86_64/wcscmp.S: New file.
76647         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76648         wcscmp-c wcscmp-sse2
76649         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76650         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76651         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76652         * wcsmbs/wcscmp.c: Allow renaming.
76654 2011-09-05  David S. Miller  <davem@davemloft.net>
76656         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76657         stack slot, rather than the struct return pointer slot.
76658         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76659         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76661         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76663 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76665         * po/ja.po: Update from translation team.
76667         [BZ #13144]
76668         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76669         kernel in 64-bit binaries.
76671 2011-09-01  David S. Miller  <davem@davemloft.net>
76673         * elf/elf.h (HWCAP_SPARC_*): Move to..
76674         * sysdeps/sparc/sysdep.h: this new file and add new values.
76675         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76676         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76677         _DL_HWCAP_COUNT to 24.
76678         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76679         entries.
76680         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76681         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76682         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76684         instead of magic constants.
76685         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76687 2011-08-31  David S. Miller  <davem@davemloft.net>
76689         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76691         Reimplement to do errno handling inline.
76692         (SYSCALL_ERROR_HANDLER): New macro.
76693         (__SYSCALL_STRING): Do not do errno handling in asm.
76694         (__CLONE_SYSCALL_STRING): Delete.
76695         (__INTERNAL_SYSCALL_STRING): Delete.
76696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76697         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76698         (PSEUDO): Reimplement to do errno handling inline.
76699         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76700         (SYSCALL_ERROR_HANDLER): New macro.
76701         (__SYSCALL_STRING): Do not do errno handling in asm.
76702         (__CLONE_SYSCALL_STRING): Delete.
76703         (__INTERNAL_SYSCALL_STRING): Delete.
76704         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76705         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76706         i386.
76707         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76708         (inline_syscall*): Add 'err' argument.
76709         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76710         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76711         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76712         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76714         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76715         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76717 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76719         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76721 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76723         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76724         directive.
76726 2011-08-24  David S. Miller  <davem@davemloft.net>
76728         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76730 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76732         * elf/Makefile: Add rules to build and run unload8 test.
76733         * elf/unload8.c: New file.
76734         * elf/unload8mod1.c: New file.
76735         * elf/unload8mod1x.c: New file.
76736         * elf/unload8mod2.c: New file.
76737         * elf/unload8mod3.c: New file.
76739         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76740         it wasn't used.
76742 2011-08-23  David S. Miller  <davem@davemloft.net>
76744         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76745         subtract stack bias.
76746         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76747         %sp not %fp in calculations.
76748         (_JMPBUF_UNWINDS_ADJ): Likewise.
76750         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76751         (aio_suspend): Call it to force an exception region around the
76752         AIO_MISC_WAIT() invocation.
76754 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76756         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76757         backslash.
76759 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76761         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76762         protection macro.
76763         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76764         and <dl-machine.h>.
76765         (Elf64_FuncDesc): Remove.
76767 2011-08-22  David S. Miller  <davem@davemloft.net>
76769         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76770         sigaltstack check, add missing cfi directives.
76771         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76772         missing cfi directives, and sigaltstack handling.
76774 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76776         [BZ #11724]
76777         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76778         object is seen twice.
76779         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76781         * elf/Makefile (distribute): Add tst-initorder2.c.
76782         (tests): Add tst-initorder2.
76783         (modules-names): Add tst-initorder2a tst-initorder2b
76784         tst-initorder2c tst-initorder2d.  Add rules to build them.
76785         ($(objpfx)tst-initorder2.out): New rule.
76786         * elf/tst-initorder2.c: New file.
76787         * elf/tst-initorder2.exp: New file.
76789 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76791         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76793         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76794         dependencies back to end of function.
76796         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76797         $(elfobjdir)/ld.so.
76799 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76801         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76802         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76804         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76805         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76806         of __vdso_gettimeofday.
76807         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76808         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76809         attribute_hidden.
76810         (_libc_vdso_platform_setup): Remove initialization of
76811         __vdso_gettimeofday and __vdso_time.
76813 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76815         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76816         and fgetc_unlocked.
76817         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76818         getc_unlocked.
76820         * elf/dl-open.c (add_to_global): Report additions to the global scope
76821         for LD_DEBUG=scopes.
76822         (dl_open_worker): Also print scope of newly loaded dependencies.
76823         (_dl_show_scope): Indicate if there is no scope.
76825         [BZ #13114]
76826         * stdio-common/Makefile (tests): Add bug24.
76827         * stdio-common/bug24.c: New file.
76829 2011-08-19  Andreas Jaeger  <aj@suse.de>
76831         [BZ #13114]
76832         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76833         non-existant file when using close-on-exec mode.
76835 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76838         the very first instruction.
76840         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76841         the CFI state in the end.
76842         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76843         inclusion of dl-trampoline.h.
76844         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76846 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76848         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76849         expectations for long double.
76851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76852         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76854 2011-08-14  David S. Miller  <davem@davemloft.net>
76856         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76857         artificual limit depends upon the system page size.
76859 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76861         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76862         * resolv/Makefile: Define CFLAGS-libresolv.
76864 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76866         * nss/makedb.c (compute_tables): Make variables used in nested
76867         function static.
76869 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76871         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76872         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76873         if buffer was too small.
76875         * elf/pldd.c (main): Attach to all threads in the process.
76876         Rewrite /proc handling to use *at functions.
76878 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76880         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76881         specifies first scope to show.
76882         (dl_open_worker): Update callers.  Move printing scope of new
76883         object to before the relocation.
76884         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76885         * sysdeps/generic/ldsodefs.h: Update declaration.
76887         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76888         string for the scope number.
76890 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76892         * nscd/servicescache.c (cache_addserv): Make sure written is always
76893         initialized.
76895 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76897         * sysdeps/i386/i486/bits/atomic.h
76898         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76899         statement expression, so as to suppress "set but not used" warning.
76900         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76902         * string/strncat.c (STRNCAT): Use prototype definition.
76904         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76905         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76906         -Iprograms here.
76907         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76908         (localedef-modules): Add localedef.
76909         (locale-modules): Add locale.
76911         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76912         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76913         to avoid a warning.
76915 2011-08-14  David S. Miller  <davem@davemloft.net>
76917         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76918         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76920 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76922         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76923         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76924         * elf/rtld.c (dl_main): Set l_name of vDSO.
76925         Call _dl_show_scope when DL_DEBUG_SCOPES.
76926         (process_dl_debug): Recognize scopes flag and also set it for all.
76927         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76928         Declare _dl_show_scope.
76930         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76931         (do_dlopen): Pass caller_dlopen to dl_open.
76932         (__libc_dlopen_mode): Initialize caller_dlopen.
76934         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76935         of libc.  Make tolower call locale-independent.  Optimize a bit by
76936         using isdigit instead of isalnum.
76937         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76939 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76941         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76942         was a dependency or dynamically loaded.
76944 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76946         * intl/l10nflist.c: Allow architecture-specific pop function.
76947         * sysdeps/x86_64/l10nflist.c: New file.
76949         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76950         classification.
76952 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76954         * include/dirent.h: Add libc_hidden_proto for scandirat and
76955         scandirat64.  Don't declare __scandirat64.
76956         * dirent/scandirat.c: Add libc_hidden_def.
76957         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76958         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76960 2011-08-10  David S. Miller  <davem@davemloft.net>
76962         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76963         enum.
76964         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76965         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76966         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76968 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76970         * Versions.def [libc]: Add GLIBC_2.15.
76971         * dirent/Makefile (routines): Add scandirat and scandirat64.
76972         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76973         GLIBC_2.15.
76974         * dirent/dirent.h: Declare scandirat and scandirat64.
76975         * dirent/scandirat.c: New file.
76976         * dirent/scandirat64.c: New file.
76977         * sysdeps/wordsize-64/scandirat.c: New file.
76978         * sysdeps/wordsize-64/scandirat64.c: New file.
76979         * dirent/opendir.c: Define opendirat.
76980         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76981         using scandirat.
76982         * dirent/scandir64.c: Adjust for scandir.c change.
76983         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76984         __scandirat64, and __scandir_cancel_handler.
76985         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76986         additional parameter and use openat instead of open (outside of ld.so).
76987         Add new __opendir as wrapper around __opendirat.
76988         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76989         here without requiring old scandirat implementation.
76991 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76993         * dirent/scandir.c (cancel_handler): Renamed to
76994         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76995         defined.  Adjust users.
76996         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76997         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76999 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77001         * string/test-string.h (IMPL): Use __STRING to expand name and then
77002         stringify it.
77004         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77005         of cleanups.
77007 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77009         * string/Makefile: Update.
77010         (strop-tests): Append strncat.
77011         * string/test-wcscmp.c: New file.
77012         New comprehensive test for wcscmp.
77013         * string/test-strcmp.c: Update.
77014         (WIDE): New define.
77016 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77018         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77019         line.
77021 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77024         encoding to ACE if AI_IDN.
77026 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77028         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77029         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77031 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77033         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77034         Fix overflow bug in strncat.
77035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77037         * string/test-strncat.c: Update.
77038         Add new tests for checking overflow bugs.
77040 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77043         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77044         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77045         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77046         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77047         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77048         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77049         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77050         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77052         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77053         (USE_AS_STRCAT): Define.
77054         Add strcat and strncat support.
77055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77057 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77059         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77060         __n bigger than INT_MAX+1.
77061         (__strncmp_g): Likewise.
77063 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77065         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77066         * libio/stido.h: Likewise.
77068         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77069         (AF_NFC): Define.
77070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77071         (AF_NFC): Define.
77073         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77074         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77075         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77076         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77077         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77079         [BZ #13021]
77080         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77081         installed.
77083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77084         typo.
77085         (_dl_x86_64_save_sse): Likewise.
77087 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77090         OSXSAVE.
77091         (_dl_x86_64_save_sse): Likewise.
77093         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77095         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77097 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77099         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77100         change.
77101         (_dl_x86_64_save_sse): Use correct AVX check.
77103 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77105         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77106         bug in strncpy/strncat.
77107         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77109 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77111         * string/tester.c (test_strcat): Add tests for different alignments
77112         of source and destination.
77113         (test_strncat): Likewise.
77115 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77117         [BZ #12852]
77118         * posix/glob.c (glob): Check passed in values before using them in
77119         expressions to avoid some overflows.
77120         (glob_in_dir): Likewise.
77122         [BZ #13007]
77123         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77124         check for AVX enablement so that we don't crash with old kernels and
77125         new hardware.
77126         * elf/tst-audit4.c: Add same checks here.
77127         * elf/tst-audit6.c: Likewise.
77129         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77131 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77133         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77135 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77137         * po/cs.po: Update from translation team.
77138         * po/bg.po: Likewise.
77140 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77142         * misc/sys/cdefs.h: Add support for const attribute.
77143         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77144         to gnu_dev_{major,minor,makedev} functions.
77146 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77148         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77150 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77152         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77153         strlen results.
77155 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77158         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77159         register in order to avoid conflicts with the soft frame pointer
77160         being held in r11 when necessary.
77161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77162         (INTERNAL_VSYSCALL_NCS): Likewise.
77164 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77166         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77167         * elf/dl-fini.c (_dl_fini): Adjust caller.
77168         * elf/dl-close.c (_dl_close_worker): Likewise.
77169         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77171 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77173         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77174         "aux_cache->nlibs < 0".
77176         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77177         in the reload-count case.
77179 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77182         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77183         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77184         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77185         * sysdeps/x86_64/multiarch/strcat.S: New file.
77186         * sysdeps/x86_64/multiarch/strncat.S: New file.
77187         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77188         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77189         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77190         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77191         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77192         (USE_AS_STRCAT): Define.
77193         Add strcat and strncat support.
77194         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77195         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77196         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77197         * string/strncat.c: Update.
77198         (USE_AS_STRNCAT): Define.
77199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77200         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77201         and i7.
77202         * sysdeps/x86_64/multiarch/init-arch.h
77203         (bit_Prefer_PMINUB_for_stringop): New.
77204         (index_Prefer_PMINUB_for_stringop): Likewise.
77205         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77206         bit_Prefer_PMINUB_for_stringop.
77208 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77210         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77211         buffer64.
77212         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77213         of casting of buffer.
77214         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77215         buffer32 and buffer64.
77216         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77217         writes instead of casting of buffer.
77218         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77219         buffer32.
77220         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77221         casting of buffer.
77223 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77225         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77227 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77229         * nscd/nscd.c (termination_handler): Don't do anything for a database
77230         if it has not yet been initialized.
77232 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77234         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77236 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77238         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77240 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77242         * po/nl.po: Update from translation team.
77243         * po/sv.po: Likewise.
77245 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77247         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77248         now disallowed by GCC.
77250         * configure.in (use-default-link): Default to yes if a test -shared
77251         link meets our qualifications.
77252         * configure: Regenerated.
77254         * config.make.in (output-format): New variable.
77255         * configure.in: Check for ld --print-output-format support.
77256         * configure: Regenerated.
77257         * Makerules ($(common-objpfx)format.lds)
77258         [$(output-format) != unknown]: Just use $(output-format),
77259         instead of the linker-script munging.
77261 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77263         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77264         of $(common-objpfx)shlib.lds.
77265         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77267         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77268         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77270         * configure.in (-z relro check): Adjust test code to add a large
77271         writable data section after it.
77272         * configure: Regenerated.
77274 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77276         * configure.in (-z relro check): Fix test code to make the variable
77277         truly const.
77278         * configure: Regenerated.
77280 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77282         * nscd/nscd.h (struct traced_file): Define.
77283         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77284         elements.  Add traced_files.
77285         (inotify_fd): Declare.
77286         (register_traced_file): Declare.
77287         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77288         (inotify_fd): Export.
77289         (resolv_conf_descr): Remove.
77290         (nscd_init): Move inotify descriptor creation to main.
77291         Don't register files for notification here.
77292         (register_traced_file): New function.
77293         (invalidate_cache): Don't use reset_res to determine whether to call
77294         res_init, go through the list of registered files.
77295         (main_loop_poll): The inotify descriptors are now stored in the
77296         structures for the traced files.
77297         (main_loop_epoll): Likewise.
77298         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77299         to __nss_disable_nscd.
77300         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77301         for a database anymore.  Check the records for all the registered
77302         files instead.
77303         * nss/Makefile (libnss_files-routines): Add files-init.
77304         (libnss_db-routines): Add db-init.
77305         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77306         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77307         * nss/nss_db/db-init.c: New file.
77308         * nss/nss_files/files-init.c: New file.
77309         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77310         __nss_lookup_function.
77311         (__nss_lookup_function): Call nss_load_library.
77312         (nss_load_all_libraries): New function.
77313         (__nss_disable_nscd): Take parameter with callback function for files
77314         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77315         used for the cached services.
77316         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77317         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77318         options for features to all the files in nscd.
77320         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77322 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77324         * csu/elf-init.c (__libc_csu_init): Comment typo.
77326 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77328         * po/pl.po: Update from translation team.
77329         * po/ja.po: Likewise.
77330         * po/ru.po: Likewise.
77331         * po/ko.po: Likewise.
77332         * po/fr.po: Likewise.
77334 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77336         * configure.in (.ctors/.dtors header and trailer check):
77337         Use an empirical test on a built program.
77338         * configure: Regenerated.
77340         * configure.in (-z relro check): Use an empirical test on a built DSO.
77341         Detect, but do not require, on ia64.
77342         * configure: Regenerated.
77344         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77345         Update tests that use readelf to use $READELF instead.
77346         * configure: Regenerated.
77348 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77350         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77351         if the result is not used.
77353 2011-07-05  Andreas Jaeger  <aj@suse.de>
77355         [BZ#9696]
77356         * stdlib/tst-strtod.c: Add testcase.
77358 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77360         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77361         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77362         The latter has a higher limit.  Take additional parameter to pass to
77363         the new function.
77364         (__pathconf): Pass file to __statfs_link_max.
77365         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77366         __statfs_link_max.
77367         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77368         __statfs_link_max.
77370         [BZ #12868]
77371         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77372         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77373         Handle Lustre.
77374         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77375         (__statfs_filesize_max): Likewise.
77376         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77378 2011-07-05  Andreas Jaeger  <aj@suse.de>
77380         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77382 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77384         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77385         `status' variable.
77386         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77387         Likewise.
77389 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77391         * Makefile (strop-tests): Add strncat.
77392         * string/test-strncat.c: New file.
77394 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77396         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77398 2011-06-21  Andreas Jaeger  <aj@suse.de>
77400         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77401         Copy rule from iconvdata/Makefile.
77403 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77405         [BZ #12922]
77406         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77407         but no long options are defined, just return 'W'.
77409 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77411         [BZ #9696]
77412         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77414 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77416         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77417         netgroups to read.
77418         (innetgr): Likewise.
77420 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77422         * config.make.in (install_root): Default to $(DESTDIR).
77424 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77426         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77428 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77430         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77432         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77433         containing directory rather than embedding absolute directory names.
77435         * scripts/check-local-headers.sh: Rewritten using awk.
77436         Match by word, not by line.  Print error messages for matches.
77437         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77439         * Makerules [shlib-lds-flags empty]:
77440         ($(common-objpfx)libc_pic.opts): New target.
77441         ($(common-objpfx)libc_pic.os.clean): New target.
77442         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77444         * config.make.in (OBJCOPY): New variable.
77445         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77446         * configure: Regenerated.
77448         * config.make.in (use-default-link): New variable.
77449         * configure.in (use_default_link): Grok --with-default-link to set it.
77450         * configure: Regenerated.
77451         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77452         (shlib-lds, shlib-lds-flags): Define to empty.
77454         * Makerules (shlib-lds): New variable.
77455         (shlib-lds-flags): New variable.
77456         (build-shlib, build-moduile, build-module-asneeded): Use it.
77457         ($(common-objpfx)libc.so): Use $(shlib-lds).
77458         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77459         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77461         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77462         DT_FLAGS/DT_FLAGS_1 with zero flags.
77464         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77465         linker script munging.
77467 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77469         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77470         as 128-bit value.
77471         * crypt/sha512.c (sha512_process_block): Perform total addition using
77472         128-bit if possible.
77473         (__sha512_finish_ctx): Likewise.
77474         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77475         as 64-bit value.
77476         * crypt/sha256.c (SWAP64): Define.
77477         (sha256_process_block): Perform total addition using 64-bit if
77478         possible.
77479         (__sha256_finish_ctx): Likewise.
77481 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77483         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77484         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77485         * nscd/hstcache.c (cache_addhst): Likewise.
77486         * nscd/grpcache.c (cache_addgr): Likewise.
77487         * nscd/aicache.c (addhstaiX): Likewise.
77488         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77490 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77492         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77493         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77494         * nscd/hstcache.c (cache_addhst): Likewise.
77495         * nscd/grpcache.c (cache_addgr): Likewise.
77496         * nscd/aicache.c (addhstaiX): Likewise.
77498 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77500         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77501         domain only when needed.
77503 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77506         is always restored.
77508 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77510         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77511         are re-adding the entry.
77512         * nscd/servicescache.c (cache_addserv): Likewise.
77514 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77516         * sysdeps/generic/dl-irel.h: fix protection against multiple
77517         inclusions.
77518         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77520 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77522         [BZ #12935]
77523         * malloc/memusage.sh: Fix quoting in message.
77524         * debug/xtrace.sh: Likewise.
77526         * configure.in: Remove support for --experimental-malloc option, make
77527         it the default.
77528         * config.make.in: Likewise.
77529         * malloc/Makefile: Likewise.
77531 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77533         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77534         two-byte characters.
77536 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77538         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77539         AC_CACHE_CHECK invocation.
77540         * configure: Regenerated.
77542         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77544 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77546         [BZ #12350]
77547         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77548         bit from old_res_options.
77550         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77552         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77553         value type for setfct.
77555 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77557         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77558         __gettimeofday instead of gettimeofday.
77560 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77562         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77564 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77566         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77569         info.
77571 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77574         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77575         strcpy-sse2-unaligned strncpy-sse2-unaligned
77576         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77577         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77578         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77579         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77580         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77581         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77582         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77583         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77584         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77585         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77586         (STRCPY): Support SSE2 and SSSE3 versions.
77588 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77590         [BZ #12874]
77591         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77592         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77593         kernels which artificially limit size of requests.
77595 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77598         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77599         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77600         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77601         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77602         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77603         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77604         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77605         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77606         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77607         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77608         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77609         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77610         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77611         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77613         Enable unaligned load optimization for Intel Core i3, i5 and i7
77614         processors.
77615         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77616         Define.
77617         (index_Fast_Unaligned_Load): Define.
77618         (HAS_FAST_UNALIGNED_LOAD): Define.
77620 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77622         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77624 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77626         [BZ #12907]
77627         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77628         until it is clear that the information is realy needed.
77629         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77631 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77635 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77637         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77638         /sys/devices/system/cpu/online if it is usable.
77640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77641         reading the information from the /proc filesystem to once a second.
77643 2011-06-21  Andreas Jaeger  <aj@suse.de>
77645         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77646         NULL after inclusion of kernel headers.
77648 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77650         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77651         calls to internal_setent.
77653         [BZ #12885]
77654         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77655         addresses using gethostbyname4_r ignore IPv4 addresses.
77657         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77658         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77660         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77662 2011-06-20  David S. Miller  <davem@davemloft.net>
77664         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77665         inclusions.
77666         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77668         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77669         (elf_irel): Use it.
77670         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77671         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77672         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77673         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77674         * sysdeps/x86_64/dl-irel.h: Likewise.
77676         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77677         * elf/dl-sym.c: Likewise.
77679 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77681         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77682         need to dereference resplen2.
77684 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77686         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77688 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77690         * Makeconfig: Define vardbdir and inst_vardbdir.
77691         * nss/Makefile: Add rules to install db-Makefile.
77693         * nss/nss_db/db-XXX.c: Cleanup.
77695         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77696         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77697         GLIBC_PRIVATE.
77698         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77699         * nss/makedb.c: Implement -g option to specify that value strings
77700         are generated and should not be added to table iterated over for
77701         get*ent calls.
77702         * nss/nss_db/db-initgroups.c: New file.
77704         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77705         interface.
77707         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77708         (internal_getgrouplist): Adjust to name change.
77709         Update use_initgroups_entry if this is not the first call.
77710         * nss/databases.def: Add initgroups entry.
77712         * nss/makedb.c (compute_tables): Check result of multiple hash table
77713         sizes to minimize maximum chain length.
77715 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77717         * Versions.def: Add entry for libnss_db.
77718         * shlib-versions: Likewise.
77719         * nss/Makefile: Add rules to build libnss_db.
77720         * nss/Versions: Add libnss_db information.  Organize libnss_files
77721         entries better.
77722         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77723         makedb progra.  Some minor improvements to generate smaller files.
77724         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77725         here from...
77726         * nss/makedb.c: ...here.
77727         Improve database format to be smaller and require less memory at
77728         runtime.
77729         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77730         db anymore.
77731         * nss/nss_db/db-netgrp.c: Likewise.
77732         * nss/nss_db/db-open.c: Likewise.
77733         * nss/nss_files/flies-XXX.x: Adjust comments.
77734         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77735         * nss/nss_files/files-grp.c: Likewise.
77736         * nss/nss_files/files-hosts.c: Likewise.
77737         * nss/nss_files/files-network.c: Likewise.
77738         * nss/nss_files/files-proto.c: Likewise.
77739         * nss/nss_files/files-pwd.c: Likewise.
77740         * nss/nss_files/files-rpc.c: Likewise.
77741         * nss/nss_files/files-service.c: Likewise.
77742         * nss/nss_files/files-sgrp.c: Likewise.
77743         * nss/nss_files/files-spwd.c: Likewise.
77744         * nss/nss_db/db-alias.c: Removed.
77745         * nss/nss_db/dummy-db.h: Removed.
77747 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77749         * nss/makedb.c: Rewritten to not use database library.
77750         * nss/Makefile: Update to build new makedb program.
77752 2011-06-14  Andreas Jaeger  <aj@suse.de>
77754         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77755         memset declaration.
77757 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77760         tmpbuf.
77762 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77764         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77765         * elf/Makefile ($(objpfx)ld.so): Likewise.
77767         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77768         Don't list ld.so twice in dependencies.
77770         * posix/bug-regex31.c: Include <stdlib.h>.
77772         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77774         * nis/nss_compat/compat-spwd.c
77775         (getspent_next_nss_netgr): Remove unused variable.
77776         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77778         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77779         nonmembers" output to use the right array.
77781         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77783         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77785         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77786         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77787         * catgets/gencat.c (read_input_file): Likewise.
77788         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77790         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77791         variable definition inside #if's controlling its use.
77793         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77795         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77797         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77799         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77800         unreachable code.
77802         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77804         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77805         * configure: Regenerated.
77807         * Makerules: Revert last change.
77808         * elf/Makefile: Likewise.
77810 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77812         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77813         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77814         (reloc-link): Likewise.
77816 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77818         * elf/Makefile: Add rules to build pldd.
77819         * elf/pldd.c: New file.
77820         * elf/pldd-xx.c: New file.
77822 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77824         * version.h: Update for 2.15 development version.
77826 2011-06-07  David S. Miller  <davem@davemloft.net>
77828         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77829         ifuncs.
77830         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77831         elf_machine_lazy_rel): Likewise.
77832         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77833         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77834         elf_machine_lazy_rel): Likewise.
77835         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77836         dl_hwcap via passed in argument.
77837         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77838         Likewise.
77840 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77842         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77844 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77846         [BZ #12849]
77847         * manual/fdl-1.1.texi: New file, verbatim from:
77848         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77849         * manual/lgpl-2.1.texi: New file, verbatim from:
77850         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77851         * manual/Makefile (licenses): New variable, list those new file names.
77852         (texis): Use it.
77853         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77855         * manual/fdl.texi: File removed.
77856         * manual/lesser.texi: File removed.
77857         * manual/libc.texinfo (Copying, Documentation License):
77858         Use new @include file names, put @appendix directive before @include.
77860 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77862         [BZ #12841]
77863         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77864         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77865         (mq_open): Add __NTH.
77867 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77870         Assume Intel Core i3/i5/i7 processor if AVX is available.
77872 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77874         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77875         typo.
77877 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77879         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77880         memory.  Use alloca_account.  Fix memory leak when retrying.
77882 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77884         * version.h (RELEASE): Bump for 2.14 release.
77885         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77887         * config.make.in (RANLIB): Remove entry.
77889 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77891         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77892         (libc.pot): Work around missing support for .ksh extension in xgettext.
77894         [BZ #12684]
77895         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77896         if both request failed.
77897         (send_dg): In case of server errors clear resplen or *resplen2.
77899         [BZ #12454]
77900         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77901         when there are multiple maps.
77902         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77903         (_dl_fini): Remove test here.
77905         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77907 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77909         [BZ #12350]
77910         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77911         bit from old_res_options.
77912         (gaih_inet): Likewise.
77914         [BZ #11099]
77915         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77916         as signed.
77918         * resolv/res_init.c (res_setoptions): Make the code more compact.
77920         [BZ #11558]
77921         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77922         set RES_USEVC.
77924         [BZ #11634]
77925         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77927         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77929         [BZ #11781]
77930         * malloc/malloc.h: Declare malloc hook variables as volatile.
77932         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77933         in last patch.
77935         [BZ #11799]
77936         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77937         raise in the comment.
77938         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77939         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77940         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77942 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77944         [BZ #12811]
77945         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77946         grow the buffers more if it already has to be sufficient.
77947         (build_wcs_upper_buffer): Likewise.
77948         * posix/regexec.c (check_matching): Likewise.
77949         (clean_state_log_if_needed): Likewise.
77950         (extend_buffers): Don't enlarge buffers beyond size of the input
77951         buffer.
77952         Patches mostly by Emil Wojak <emil@wojak.eu>.
77953         * posix/bug-regex32.c: New file.
77954         * posix/Makefile (tests): Add bug-regex32.
77956         * locale/findlocale.c (_nl_find_locale): Return right away if
77957         _nl_explode_name failed.
77958         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77960         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77962         * debug/xtrace.sh: Unify messages.
77963         * malloc/memusage.sh: Likewise.
77965         [BZ #12813]
77966         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77967         time symbol from vDSO.  Substitute with vsyscall if not available.
77968         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77969         __vdso_time.
77971         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77972         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77973         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77974         Add sendmmsg and internal_sendmmsg.
77975         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77976         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77977         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77979         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77980         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77981         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77983 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77985         [BZ #12813]
77986         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77987         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77988         available.
77989         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77990         __vdso_getcpu.
77992         [BZ #12814]
77993         * iconvdata/Makefile (tests): Add bug-iconv9.
77994         * iconvdata/bug-iconv9.c: New file.
77996 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77998         [BZ #12814]
77999         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78001 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78003         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78004         (struct user_regs_struct): Change intcs field back to cs.
78006 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78008         * po/ja.po: Update from translation team.
78010 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78012         [BZ #12795]
78013         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78014         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78016 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78018         * stdlib/longlong.h: Update from GCC.
78020 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78022         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78023         parameter name.
78024         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78025         Add parameter name.
78026         (__sysconf): Pass it down.
78028 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78030         [BZ #12671]
78031         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78032         some situations.
78033         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78034         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78035         add in in __libc_use_alloca calls.  Adjust callers.
78036         (glob): Use malloc in some situations.
78038         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78039         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78040         pltexit.
78042 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78044         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78045         and CLOCK_BOOTTIME_ALARM.
78047         [BZ #12782]
78048         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78049         is returned.
78051         * string/_strerror.c (__strerror_r): Print negative errors as signed
78052         numbers.
78054         [BZ #12777]
78055         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78056         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78057         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78059         * configure.in: Fix typo in redirection and correct removal of test
78060         files in two cases.
78062         [BZ #12788]
78063         * locale/setlocale.c (new_composite_name): Fix test to check for
78064         identical name of all categories.
78066         [BZ #12792]
78067         * libio/filedoalloc.c (local_isatty): New function.
78068         (_IO_file_doallocate): Use local_isatty.
78069         * stdio-common/perror.c (perror): In case a new stream is used
78070         forward the stream error.
78071         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78072         error flag.
78074 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78076         [BZ #11884]
78077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78078         alloca.
78079         * include/alloca.h (extend_alloca_account): Define.
78081         [BZ #11857]
78082         * posix/regex.h: Fix comments with documentation of user-accessible
78083         fields after compilation and describe correct free'ing of pattern
78084         after re_compile_pattern.
78085         Patch by Reuben Thomas <rrt@sc3d.org>.
78087 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78089         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78090         and -mno-altivec to prevent the compiler from using Altivec and/or
78091         VSX instructions when the corresponding registers are not available.
78093 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78095         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78097 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78099         * libio/freopen.c (freopen): Use __dup2, not dup2.
78100         * libio/freopen64.c (freopen64): Likewise.
78102 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78104         [BZ #12775]
78105         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78106         * math/Makefile (tests): Add test-powl.
78107         (CFLAGS-test-powl.c): Define.
78108         * math/test-powl.c: New file.
78110 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78112         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78114 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78116         [BZ #11837]
78117         * iconvdata/gb18030.c: Update to GB18020-2005.
78119 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78121         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78122         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78123         Patch by Aharon Robbins <arnold@skeeve.com>.
78125         [BZ #11892]
78126         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78127         on the stack.
78129         [BZ #11895]
78130         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78131         through underflows.
78133         [BZ #12766]
78134         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78135         point to strings before performing equality test for error_one_per_line
78136         mode.
78138         [BZ #11697]
78139         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78141         [BZ #11820]
78142         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78143         (struct user_fpregs_struct): Avoid __uint*_t types.
78145         [BZ #6420]
78146         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78147         symbol info.  Use it instead of calling _dl_addr locally.
78148         (lock_and_info): New function.
78149         (tr_freehook): Call lock_and_info and pass symbol info as additional
78150         parameter to tr_where.
78151         (tr_mallochook): Likewise.
78152         (tr_reallochook): Likewise.
78153         (tr_memalignhook): Likewise.
78155         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78156         used and couldn't be at all thread-safe.
78158 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78160         * libio/freopen.c (freopen): Don't close old file descriptor
78161         before the new one is opened.  Instead dup the new file descriptor
78162         to the old one after the new stream is created.
78163         * libio/freopen64.c (freopen64): Likewise.
78164         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78165         * libio/fileops.c (_IO_new_file_close_it): Handle new
78166         _IO_FLAGS2_NOCLOSE flag.
78167         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78168         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78169         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78170         _IO_FLAGS2_NOCLOSE flag.
78171         * include/unistd.h: Add hidden_proto for dup3.
78172         Define __have_dup3.
78173         * io/dup3.c: Define hidden symbol.
78174         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78176         [BZ #7101]
78177         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78178         when an incomplete long option is used.
78179         * posix/tst-getopt_long1.c: New file.
78180         * posix/Makefile (tests): Add tst-getopt_long1.
78182         [BZ #10138]
78183         * scripts/config.guess: Update from autoconf-2.68.
78184         * scripts/config.sub: Likewise.
78186         [BZ #10157]
78187         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78188         tests into ...
78189         (has_cpuclock): ...this.  New function.
78190         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78191         macro here based on has_cpuclock code.
78193         [BZ #10149]
78194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78195         First byte (not low byte) is now always NUL.
78196         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78198         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78199         Use non-cancelable interfaces.
78201         [BZ #9809]
78202         * locale/iso-639.def: Add entry for Sorani.
78204         [BZ #11901]
78205         * include/stdlib.h: Move include protection to the right place.
78206         Define abort_msg_s.  Declare __abort_msg with it.
78207         * stdlib/abort.c (__abort_msg): Adjust type.
78208         * assert/assert.c (__assert_fail_base): New function.  Majority
78209         of code from __assert_fail.  Allocate memory for __abort_msg with
78210         mmap.
78211         (__assert_fail): Now call __assert_fail_base.
78212         * assert/assert-perr.c: Remove bulk of implementation.  Use
78213         __assert_fail_base.
78214         * include/assert.hL Declare __assert_fail_base.
78215         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78216         mmap.
78217         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78219 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78221         [BZ #11952]
78222         [BZ #12453]
78223         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78224         until all modules are registered in the DTV.
78225         * elf/Makefile: Add rules to build and run tst-tls19.
78226         * elf/tst-tls19.c: New file.
78227         * elf/tst-tls19mod1.c: New file.
78228         * elf/tst-tls19mod2.c: New file.
78229         * elf/tst-tls19mod3.c: New file.
78230         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78232         [BZ #12083]
78233         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78234         correctly.
78236         [BZ #12601]
78237         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78238         two-byte sequence errors.
78239         * iconvdata/Makefile (tests): Add bug-iconv8.
78240         * iconvdata/bug-iconv8.c: New file.
78242         [BZ #12626]
78243         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78244         buf2 definition.
78246         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78248         [BZ #12432]
78249         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78250         (dummy_getcfa): New function.
78251         (init): Get _Unwind_GetCFA address, use dummy if not found.
78252         (backtrace_helper): In recursion check, also check whether CFA changes.
78253         (__backtrace): Completely initialize arg.
78255         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78256         storing incomplete byte sequence in state object.  Avoid testing for
78257         guaranteed too small input if we know there is enough data available.
78259 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78261         * Makeconfig (+link-pie): Indent.
78262         * Rules (binaries-pie): Define if $(have-fpie) and
78263         $(build-shared).
78264         (binaries-shared): Also filter out $(binaries-pie).
78265         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78266         * nscd/Makefile (others-pie): Add nscd.
78267         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78268         ($(objpfx)nscd): Remove command override.
78269         * login/Makefile (others-pie): Add pt_chown.
78270         ($(objpfx)pt_chown): Remove command override.
78271         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78272         remove command overrides.
78274 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78276         * libio/tst_putwc.c: Fix error messages.
78278         [BZ #12724]
78279         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78280         currently writing and seek to current position when not.
78281         * libio/Makefile (tests): Add bug-fclose1.
78282         * libio/bug-fclose1.c: New file.
78284 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78286         [BZ #12511]
78287         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78288         don't set DF_1_NODELETE here.
78289         (do_lookup_x): When entering new entry test for copy relocation
78290         and if necessary set DF_1_NODELETE flag.
78291         * elf/tst-unique4.cc: New file.
78292         * elf/tst-unique4.h: New file.
78293         * elf/tst-unique4lib.cc: New file.
78294         * elf/Makefile: Add rules to build and run tst-unique4.
78295         Patch by Piotr Bury <pbury@goahead.com>.
78297 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78299         [BZ #12052]
78300         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78302         [BZ #12625]
78303         * misc/mntent_r.c (addmntent): Flush the stream after the output
78305         [BZ #12393]
78306         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78307         (is_trusted_path_normalize): Skip initial colon.  Append slash
78308         to empty buffer.  Duplicate is_trusted_path code but allow
78309         constructed patch to be prefix.
78310         (is_dst): Allow $ORIGIN followed by /.
78311         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78312         Correct testing of result of is_trusted_path_normalize
78313         (decompose_rpath): Fix warning.
78315 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78317         [BZ #11257]
78318         * grp/initgroups.c (internal_getgrouplist): When we found the service
78319         list through the initgroups entry in nsswitch.conf do not always
78320         continue on a successful lookup.  Don't always use the
78321         __nss_group_database value if it is set.
78322         * nss/nsswitch.conf (initgroups): Change action for successful db
78323         lookup to continue for compatibility.
78325 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78327         [BZ #11532]
78328         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78329         and CP774 modules.
78330         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78331         and CP774 modules.
78332         * iconvdata/tst-tables.sh: Likewise.
78333         * iconvdata/cp770.c: New file.
78334         * iconvdata/cp771.c: New file.
78335         * iconvdata/cp772.c: New file.
78336         * iconvdata/cp773.c: New file.
78337         * iconvdata/cp774.c: New file.
78338         * iconvdata/testdata/CP770: New file.
78339         * iconvdata/testdata/CP770..UTF8: New file.
78340         * iconvdata/testdata/CP771: New file.
78341         * iconvdata/testdata/CP771..UTF8: New file.
78342         * iconvdata/testdata/CP772: New file.
78343         * iconvdata/testdata/CP772..UTF8: New file.
78344         * iconvdata/testdata/CP773: New file.
78345         * iconvdata/testdata/CP773..UTF8: New file.
78346         * iconvdata/testdata/CP774: New file.
78347         * iconvdata/testdata/CP774..UTF8: New file.
78349         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78350         END CHARMAP line.
78351         * iconvdata/gen-8bit-gap.sh: Likewise.
78352         * iconvdata/gen-8bit.sh: Likewise.
78354         * locale/iso-639.def: Add ary entry.
78356         [BZ #11258]
78357         * locale/C-translit.h.in: Add U20A1 transliteration.
78359         [BZ #12178]
78360         * locale/iso-639.def: Add wae entry.
78361         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78363         [BZ #12545]
78364         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78365         for n.
78367         [BZ #12711]
78368         * locale/C-translit.h.in: Add entry for U20B9.
78369         Patch by pravin.d.s@gmail.com.
78371 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78373         [BZ #12713]
78374         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78375         ENAMETOOLONG use generic getcwd.
78376         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78377         in rtld.  Use *stat64.
78378         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78379         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78380         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78381         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78382         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78383         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78384         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78385         __fstatat64 macros.
78386         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78387         * dirent/rewinddir.c: Add libc_hidden_def.
78388         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78389         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78391         * include/dirent.h (__alloc_dir): Add flags parameter.
78392         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78393         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78394         __alloc_dir.
78395         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78396         from fdopendir if O_CLOEXEC is already set.
78398 2011-03-15  Alan Modra  <amodra@gmail.com>
78400         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78401         l_tls_firstbyte_offset non-zero.  Save padding offset in
78402         l_tls_firstbyte_offset for later use.
78403         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78404         freeing static tls block.
78406 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78408         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78409         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78410         being defined by the kernel headers.
78412 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78414         [BZ #12734]
78415         * resolv/resolv.h: Define RES_NOTLDQUERY.
78416         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78417         no-tld-query and set RES_NOTLDQUERY.
78418         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78419         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78420         modern BIND to search name as TLD unless forbidden.
78422 2011-05-07  Petr Baudis  <pasky@suse.cz>
78423             Ulrich Drepper  <drepper@gmail.com>
78425         [BZ #12393]
78426         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78427         (is_trusted_path): ...to here.
78428         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78429         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78430         using is_trusted_path_normalize() in setuid scripts.
78432 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78434         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78435         __BEGIN/__END_DECLS.
78437 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78439         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78440         NSS_STATUS_NOTFOUND if no record was found.
78442 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78444         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78445         (headers-not-in-tirpc): Remove rpc/netdb.h
78446         * resolv/netdb.h: Revert last change.
78448 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78450         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78451         circular dependency between libgcc.a and libc.a.
78453 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78455         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78456         * nis/Makefile: Don't install rpcsvc/*.
78457         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78458         instead of <rpc/types.h>.
78459         (MAXHOSTNAMELEN): Define.
78461 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78463         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78465 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78467         [BZ #12714]
78468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78469         gethostbyname4_r when IPv6 results are possible.
78471 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78473         [BZ #12723]
78474         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78475         _PC_PIPE_BUF handling.
78477 2011-04-30  Bruno Haible  <bruno@clisp.org>
78479         [BZ #12717]
78480         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78481         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78482         to 'int'.
78483         * inet/getnameinfo.c (getnameinfo): Likewise.
78485 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78487         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78488         to groups setting in database lookup.
78489         * nss/nsswitch.conf: Add initgroups entry.
78491 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78493         [BZ #12685]
78494         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78495         mode string.
78496         Patch by Eric Blake <eblake@redhat.com>.
78498 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78500         * sunrpc/Makefile (need-export-routines): Add svc_run.
78501         (routines): Remove svc_run.
78502         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78503         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78504         * sunrpc/svc_run.c (svc_run): Likewise.
78505         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78507 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78509         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78510         problem in reallocation in last patch.
78512 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78514         * sunrpc/Makefile: Move inclusion of Rules.
78516 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78518         * nss/nss_files/files-initgroups.c: New file.
78519         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78520         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78521         _nss_files_initgroups_dyn.
78523 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78525         * elf/elf.h (R_ARM_IRELATIVE): Define.
78527 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78529         * po/ru.po: Update from translation team.
78531 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78533         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78534         dependencies.
78536 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78538         [BZ #12653]
78539         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78540         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78541         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78545 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78547         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78548         differing bytes.
78549         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78550         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78551         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78553 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78555         [BZ #12420]
78556         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78557         storing it.
78558         * stdlib/bug-getcontext.c: New file.
78559         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78561 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78563         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78564         instructions into .machine "z9-109".
78565         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78566         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78568 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78570         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78571         between environment variables and auxiliary vector.
78573 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78575         * Makefile: Add rules to build linkobj/libc.so.
78576         * include/libc-symbols.h: Define libc_hidden_nolink.
78577         * include/rpc/auth.h: Mark functions which are to be hidden.
78578         * include/rpc/auth_des.h: Likewise.
78579         * include/rpc/auth_unix.h: Likewise.
78580         * include/rpc/clnt.h: Likewise.
78581         * include/rpc/des_crypt.h: Likewise.
78582         * include/rpc/key_prot.h: Likewise.
78583         * include/rpc/pmap_clnt.h: Likewise.
78584         * include/rpc/pmap_prot.h: Likewise.
78585         * include/rpc/pmap_rmt.h: Likewise.
78586         * include/rpc/rpc_msg.h: Likewise.
78587         * include/rpc/svc.h: Likewise.
78588         * include/rpc/svc_auth.h: Likewise.
78589         * include/rpc/xdr.h: Likewise.
78590         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78591         * nss/Makefile: Likewise.
78592         * sunrpc/Makefile: Don't install headers.  Build library with normal
78593         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78594         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78595         for the compat linking library.  Remove use of INTDEF/INTUSE.
78596         * sunrpc/auth_none.c: Likewise.
78597         * sunrpc/auth_unix.c: Likewise.
78598         * sunrpc/authdes_prot.c: Likewise.
78599         * sunrpc/authuxprot.c: Likewise.
78600         * sunrpc/clnt_gen.c: Likewise.
78601         * sunrpc/clnt_perr.c: Likewise.
78602         * sunrpc/clnt_raw.c: Likewise.
78603         * sunrpc/clnt_simp.c: Likewise.
78604         * sunrpc/clnt_tcp.c: Likewise.
78605         * sunrpc/clnt_udp.c: Likewise.
78606         * sunrpc/clnt_unix.c: Likewise.
78607         * sunrpc/des_crypt.c: Likewise.
78608         * sunrpc/des_soft.c: Likewise.
78609         * sunrpc/get_myaddr.c: Likewise.
78610         * sunrpc/key_call.c: Likewise.
78611         * sunrpc/key_prot.c: Likewise.
78612         * sunrpc/netname.c: Likewise.
78613         * sunrpc/pm_getmaps.c: Likewise.
78614         * sunrpc/pm_getport.c: Likewise.
78615         * sunrpc/pmap_clnt.c: Likewise.
78616         * sunrpc/pmap_prot.c: Likewise.
78617         * sunrpc/pmap_prot2.c: Likewise.
78618         * sunrpc/pmap_rmt.c: Likewise.
78619         * sunrpc/publickey.c: Likewise.
78620         * sunrpc/rpc_cmsg.c: Likewise.
78621         * sunrpc/rpc_common.c: Likewise.
78622         * sunrpc/rpc_dtable.c: Likewise.
78623         * sunrpc/rpc_prot.c: Likewise.
78624         * sunrpc/rpc_thread.c: Likewise.
78625         * sunrpc/rtime.c: Likewise.
78626         * sunrpc/svc.c: Likewise.
78627         * sunrpc/svc_auth.c: Likewise.
78628         * sunrpc/svc_authux.c: Likewise.
78629         * sunrpc/svc_raw.c: Likewise.
78630         * sunrpc/svc_run.c: Likewise.
78631         * sunrpc/svc_simple.c: Likewise.
78632         * sunrpc/svc_tcp.c: Likewise.
78633         * sunrpc/svc_udp.c: Likewise.
78634         * sunrpc/svc_unix.c: Likewise.
78635         * sunrpc/svcauth_des.c: Likewise.
78636         * sunrpc/xcrypt.c: Likewise.
78637         * sunrpc/xdr.c: Likewise.
78638         * sunrpc/xdr_array.c: Likewise.
78639         * sunrpc/xdr_float.c: Likewise.
78640         * sunrpc/xdr_intXX_t.c: Likewise.
78641         * sunrpc/xdr_mem.c: Likewise.
78642         * sunrpc/xdr_rec.c: Likewise.
78643         * sunrpc/xdr_ref.c: Likewise.
78644         * sunrpc/xdr_sizeof.c: Likewise.
78645         * sunrpc/xdr_stdio.c: Likewise.
78647 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78649         [BZ #12650]
78650         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78651         * sysdeps/ia64/dl-tls.h: Likewise.
78652         * sysdeps/powerpc/dl-tls.h: Likewise.
78653         * sysdeps/s390/dl-tls.h: Likewise.
78654         * sysdeps/sh/dl-tls.h: Likewise.
78655         * sysdeps/sparc/dl-tls.h: Likewise.
78656         * sysdeps/x86_64/dl-tls.h: Likewise.
78657         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78659 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78661         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78662         rpath element also skip the following colon.
78663         (expand_dynamic_string_token): Add is_path parameter and pass
78664         down to DL_DST_REQUIRED and _dl_dst_substitute.
78665         (decompose_rpath): Call expand_dynamic_string_token with
78666         non-zero is_path.  Ignore empty rpaths.
78667         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78668         with zero is_path.
78670 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78673         Make cancelable.
78675 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78677         [BZ #12655]
78678         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78679         Patch by Filipe David Manana <fdmanana@apache.org>.
78681 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78684         Maintain aligned stack.
78685         (CHECK_RSP): Remove unused macro.
78687 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78689         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78692 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78694         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78696         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78698 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78700         [BZ #12518]
78701         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78702         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78703         * sysdeps/x86_64/memmove.c: New file.
78704         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78705         (memcpy): Renamed to ...
78706         (__new_memcpy): This.
78707         (memcpy): Provide GLIBC_2_14 memcpy.
78708         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78709         (memcpy): Provide GLIBC_2_2_5 memcpy.
78711 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78713         [BZ #12631]
78714         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78716 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78718         * misc/syncfs.c: New file.
78719         * misc/Makefile (routines): Add syncfs.
78720         * posix/unistd.h: Declare syncfs.
78721         * sysdeps/unix/syscalls.list: Add syncfs.
78723 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78725         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78726         open_by_handle_at.
78727         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78728         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78729         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78730         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78731         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78732         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78735 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78737         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78738         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78739         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78741         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78743         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78745         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78746         sync_file_range.c with -fexceptions.
78747         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78748         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78749         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78750         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78751         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78752         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78753         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78754         sync_file_range as cancellation point
78755         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78756         now a wrapper around __call_sync_file_range with cancellation handling.
78757         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78758         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78759         function name to __call_sync_file_range.
78760         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78761         Add call_sync_file_range.
78763 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78766         bits/timex.h.
78768 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78770         * iconv/iconv.h: Fix typo in comment.
78771         * io/fcntl.h: Likewise.
78772         * libio/stdio.h: Likewise.
78773         * posix/spawn.h: Likewise.
78774         * posix/unistd.h: Likewise.
78775         * stdlib/stdlib.h: Likewise.
78776         * time/time.h: Likewise.
78777         * wcsmbs/wchar.h: Likewise.
78779         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78780         open_by_handle): Add.
78781         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78782         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78783         Augment a few comments.
78784         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78785         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78786         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78788         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78789         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78790         open_by_handle.
78792         * io/fcntl.h (AT_EMPTY_PATH): Define.
78794 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78796         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78797         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78798         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78799         to...
78800         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78801         * Versions.def: Add GLIBC_2.14.
78802         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78803         Export.
78805 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78807         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78808         round counter.
78809         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78811 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78813         [BZ #12597]
78814         * string/test-strncmp.c (do_page_test): New function.
78815         (check2): Likewise.
78816         (test_main): Call check2.
78817         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78819 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78821         [BZ #12587]
78822         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78823         Handle cache information in CPU leaf 4.
78824         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78826 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78828         [BZ #12583]
78829         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78830         character representation.
78831         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78833 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78835         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78836         END(__isnan) to END(__isnanf) to match function entry point/label
78837         EALIGN(__isnanf,...).
78839 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78841         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78843 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78845         [BZ #12510]
78846         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78847         copy from the symbol referenced in the relocation to initialize the
78848         used variable.
78849         Patch by Piotr Bury <pbury@goahead.com>.
78850         * elf/Makefile: Add rules to build and tst-unique3.
78851         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78852         * elf/tst-unique3.cc: New file.
78853         * elf/tst-unique3.h: New file.
78854         * elf/tst-unique3lib.cc: New file.
78855         * elf/tst-unique3lib2.cc: New file.
78857         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78859 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78861         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78862         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78863         to _start.
78865 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78867         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78868         to-be-loaded object along a path to loader is ld.so.
78870 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78871             Ulrich Drepper  <drepper@gmail.com>
78873         * sysdeps/x86_64/memset.S: After aligning destination, code
78874         branches to different locations depending on the value of
78875         misalignment, when multiarch is enabled. Fix this.
78877 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78879         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78880         Set _x86_64_preferred_memory_instruction for AMD processsors.
78881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78882         Set bit_Prefer_SSE_for_memop for AMD processors.
78884 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78886         * libio/fmemopen.c (fmemopen): Optimize a bit.
78888 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78890         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78892 2011-03-03  Roland McGrath  <roland@redhat.com>
78894         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78896 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78898         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78899         __bzero_ultra1 instead of __memset_ultra1.
78901 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78902             Ulrich Drepper  <drepper@gmail.com>
78904         [BZ #12509]
78905         * include/link.h (struct link_map): Add l_orig_initfini.
78906         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78907         returning unsuccessfully.
78908         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78909         close of a file loaded at startup, restore the original l_initfini
78910         list.
78911         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78912         list, store the pointer.
78913         * elf/Makefile ($(objpfx)noload-mem): New rule.
78914         (noload-ENV): Define.
78915         (tests): Add $(objpfx)noload-mem.
78916         * elf/noload.c: Include <memcheck.h>.
78917         (main): Call mtrace.  Close all opened handles.
78919 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78921         [BZ #12454]
78922         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78923         dependencies are missing.
78925 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78927         Fix __if_freereq crash: Unlike the generic version which uses free,
78928         Hurd needs munmap.
78929         * sysdeps/mach/hurd/ifreq.h: New file.
78931 2011-01-27  Petr Baudis  <pasky@suse.cz>
78932             Ulrich Drepper  <drepper@gmail.com>
78934         [BZ 12445]#
78935         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78936         to extend_alloca().
78937         * stdio-common/bug23.c: New file.
78938         * stdio-common/Makefile (tests): Add bug23.
78940 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78941             Ulrich Drepper  <drepper@gmail.com>
78943         [BZ #12489]
78944         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78945         before performing relro protection.  At old place add assertion
78946         to make sure nothing changed.
78948 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78949             Glauber de Oliveira Costa  <glommer@gmail.com>
78951         * elf/elf.h: Add new ARM TLS relocs.
78953 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78956         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78957         cast from r3.
78958         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78959         'tests' variable.
78960         * sysdeps/wordsize-64/tst-writev.c: New file.
78962 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78964         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78965         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78966         insns in _dl_start to prevent a TOC reference before relocs are
78967         resolved.
78969 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78971         [BZ #12469]
78972         * Makeconfig: Remove RANLIB definition.
78973         * Makerules: Don't use RANLIB.
78974         * aclocal.m4: Remove ranlib test.
78975         * configure.in: No need to check for ranlib.
78976         * elf/rtld-Rules: Don't use RANLIB.
78978 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78980         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78981         protection macro.
78982         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78983         inclusion protection macro.
78985         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78986         SIGRTMIN and SIGRTMAX and print information in that case only when
78987         SIGRTMIN is defined.
78989 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78991         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78992         arginfo fn returning -1.
78994         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78995         and thousands string is zero terminated.
78997 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79000         sysdeps/unix/sysv/linux/bits/socket.h.
79002 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79004         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79005         (__CPU_COUNT): Remove old macros.
79006         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79007         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79008         (__CPU_ALLOC, __CPU_FREE): Add macros.
79009         (__sched_cpualloc, __sched_cpufree): Add declarations.
79011 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79013         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79014         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79015         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79016         (readdhstai): Return value of addhstaiX call.
79017         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79018         (addgrbyX): Return value returned by cache_addgr.
79019         (readdgrbyname): Return value returned by addgrbyX.
79020         (readdgrbygid): Likewise.
79021         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79022         (addpwbyX): Return value returned by cache_addpw.
79023         (readdpwbyname): Return value returned by addhstbyX.
79024         (readdpwbyuid): Likewise.
79025         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79026         (addservbyX): Return value returned by cache_addserv.
79027         (readdservbyname): Return value returned by addservbyX:
79028         (readdservbyport): Likewise.
79029         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79030         (addhstbyX): Return value returned by cache_addhst.
79031         (readdhstbyname): Return value returned by addhstbyX.
79032         (readdhstbyaddr): Likewise.
79033         (readdhstbynamev6): Likewise.
79034         (readdhstbyaddrv6): Likewise.
79035         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79036         (readdinitgroups): Return value returned by addinitgroupsX.
79037         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79038         (prune_cache): Keep track of timeout value of re-added entries.
79039         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79040         * nscd/nscd.h: Adjust prototypes of readd* functions.
79042 2011-02-04  Roland McGrath  <roland@redhat.com>
79044         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79045         (nis_stats): Likewise.
79046         * nis/nis_modify.c (nis_modify): Likewise.
79047         * nis/nis_remove.c (nis_remove): Likewise.
79048         * nis/nis_add.c (nis_add): Likewise.
79050         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79052         * posix/fnmatch_loop.c: Add some consts.
79054         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79056 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79058         [BZ #12460]
79059         * config.make.in (config-cflags-novzeroupper): Define.
79060         * configure.in: Substitute libc_cv_cc_novzeroupper.
79061         * elf/Makefile (AVX-CFLAGS): Define.
79062         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79063         (CFLAGS-tst-auditmod4a.c): Likewise.
79064         (CFLAGS-tst-auditmod4b.c): Likewise.
79065         (CFLAGS-tst-auditmod6b.c): Likewise.
79066         (CFLAGS-tst-auditmod6c.c): Likewise.
79067         (CFLAGS-tst-auditmod7b.c): Likewise.
79068         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79070 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79072         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79073         function to the callback.
79074         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79076 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79078         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79079         of errno.
79081 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79083         [BZ #11724]
79084         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79085         of constructors.
79086         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79087         of destructors.
79088         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79090         [BZ #11724]
79091         * elf/Makefile: Add rules to build and run new test.
79092         * elf/tst-initorder.c: New file.
79093         * elf/tst-initorder.exp: New file.
79094         * elf/tst-initordera1.c: New file.
79095         * elf/tst-initordera2.c: New file.
79096         * elf/tst-initordera3.c: New file.
79097         * elf/tst-initordera4.c: New file.
79098         * elf/tst-initorderb1.c: New file.
79099         * elf/tst-initorderb2.c: New file.
79100         * elf/tst-order-a1.c: New file.
79101         * elf/tst-order-a2.c: New file.
79102         * elf/tst-order-a3.c: New file.
79103         * elf/tst-order-a4.c: New file.
79104         * elf/tst-order-b1.c: New file.
79105         * elf/tst-order-b2.c: New file.
79106         * elf/tst-order-main.c: New file.
79107         New test case by George Gensure <werkt0@gmail.com>.
79109 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79112         decoding ACE if AI_CANONIDN.
79114 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79116         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79118 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79120         * version.h (RELEASE): Bump for 2.13 release.
79121         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79123         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79125         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79126         MADV_NOHUGEPAGE.
79127         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79128         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79129         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79130         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79131         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79134         * posix/getconf.c: Update copyright year.
79135         * catgets/gencat.c: Likewise.
79136         * csu/version.c: Likewise.
79137         * debug/catchsegv.sh: Likewise.
79138         * debug/xtrace.sh: Likewise.
79139         * elf/ldconfig.c: Likewise.
79140         * elf/ldd.bash.in: Likewise.
79141         * elf/sprof.c (print_version): Likewise.
79142         * iconv/iconv_prog.c: Likewise.
79143         * iconv/iconvconfig.c: Likewise.
79144         * locale/programs/locale.c: Likewise.
79145         * locale/programs/localedef.c: Likewise.
79146         * malloc/memusage.sh: Likewise.
79147         * malloc/mtrace.pl: Likewise.
79148         * nscd/nscd.c (print_version): Likewise.
79149         * nss/getent.c: Likewise.
79151         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79152         PF_CAIF, and PF_ALG.
79153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79155 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79157         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79158         (modules-names): Use them.
79159         (ifunc-test-modules, ifunc-pie-tests): Define.
79160         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79161         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79162         (test-extras): Likewise.
79163         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79164         $(compile-command.c).
79165         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79166         (all-built-dso): Define.
79167         (check-textrel.out, check-execstack.out): Depend on it.
79169         * configure.in: Don't override --enable-multi-arch.
79171 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79173         [BZ #6812]
79174         * nscd/hstcache.c (tryagain): Define.
79175         (cache_addhst): Return tryagain not notfound for temporary errors.
79176         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79177         failed.
79179 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79181         [BZ #10563]
79182         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79183         to make the syscall.
79184         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79186         [BZ #12378]
79187         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79188         and fall back to matching as normal character if the string ends before
79189         the matching ']' is found.  This is what POSIX requires.
79190         * posix/testfnm.c: Adjust test result.
79191         * posix/globtest.sh: Adjust test result.  Add new test.
79192         * posix/tst-fnmatch.input: Likewise.
79193         * posix/tst-fnmatch2.c: Add new test.
79195 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79197         * elf/Makefile (check-execstack): Revert last change.  Depend on
79198         check-execstack.h.
79199         (check-execstack.h): New target.
79200         (generated): Add check-execstack.h.
79201         * elf/check-execstack.c: Include "check-execstack.h".
79202         (main): Revert last change.
79203         (handle_file): Return zero if GNU_STACK is absent and
79204         DEFAULT_STACK_PERMS doesn't include PF_X.
79206 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79208         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79209         in child fails because the descriptor is already closed.
79210         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79211         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79212         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79214         [BZ #12397]
79215         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79216         syscall.
79218         [BZ #10484]
79219         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79220         temporary buffer used to handle multi lookups locally.
79221         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79223 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79225         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79226         loader is ld.so.
79228 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79230         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79231         alignment for SSE2.
79233 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79235         [BZ #12394]
79236         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79237         characters.  When rounding increased number of integer digits recompute
79238         number of groups.
79239         * stdio-common/tst-grouping.c: New file.
79240         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79242 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79244         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79245         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79247         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79248         void.
79249         * bits/select.h: Likewise.
79251 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79253         * po/ja.po: Update from translation team.
79255 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79257         [BZ #11155]
79258         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79259         implementation just like for lxstat, fxstatat, et al.
79261 2010-12-27  Jim Meyering  <meyering@redhat.com>
79263         [BZ #12348]
79264         * posix/regexec.c (build_trtable): Return failure indication upon
79265         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79267 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79269         [BZ #12201]
79270         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79271         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79272         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79273         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79275         [BZ #12207]
79276         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79278         [BZ #12204]
79279         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79280         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79282 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79284         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79285         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79286         script has SORT_BY_INIT_PRIORITY.
79287         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79288         NO_CTORS_DTORS_SECTIONS is defined.
79289         * elf/soinit.c: Likewise.
79290         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79291         NO_CTORS_DTORS_SECTIONS is defined.
79292         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79293         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79294         * sysdeps/sh/init-first.c: Likewise.
79295         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79297 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79299         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79300         always use the slow path.
79302 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79304         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79305         similar rule which adds the sysdep directories to the header search in
79306         order to pick up the correct platform stackinfo.h.
79307         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79308         perform test if it is, otherwise return successfully without testing.
79309         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79310         DEFAULT_STACK_PERMS define in stackinfo.h.
79311         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79312         defined in stackinfo.h.
79313         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79314         DEFAULT_STACK_PERMS defined in stackinfo.h.
79315         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79316         * sysdeps/ia64/stackinfo.h: Likewise.
79317         * sysdeps/s390/stackinfo.h: Likewise.
79318         * sysdeps/sh/stackinfo.h: Likewise.
79319         * sysdeps/sparc/stackinfo.h: Likewise.
79320         * sysdeps/x86_64/stackinfo.h: Likewise.
79321         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79322         PF_X for powerpc64.  Retain PF_X for powerpc32.
79324 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79326         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79327         accurately.
79328         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79329         GETDENTS_64BIT_ALIGNED.
79331 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79333         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79335 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79337         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79338         _GNU_SOURCE.
79340         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79341         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79342         Remove __restrict.
79343         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79344         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79346 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79348         [BZ #11655]
79349         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79350         are initialized.
79352 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79354         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79356 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79358         * po/it.po: Update from translation team.
79360 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79362         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79363         unused codes.
79365 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79367         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79369 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79371         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79372         specially.
79373         (gaih_getanswer_slice): Likewise.
79375 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79379 2010-05-31  Petr Baudis  <pasky@suse.cz>
79381         [BZ #11149]
79382         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79383         silently even in the chroot mode.
79385 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79387         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79388         last patch a bit.  Pretty printing
79390 2010-05-31  Petr Baudis <pasky@suse.cz>
79392         [BZ #10085]
79393         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79394         initialization of skip_initgroups_dyn.
79396 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79398         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79399         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79401 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79403         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79405 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79407         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79408         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79409         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79410         ($(objpfx)tst-fnmatch-mem): New rule.
79411         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79412         * posix/tst-fnmatch.c (main): Call mtrace.
79414 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79417         Support Intel processor model 6 and model 0x2c.
79419 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79421         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79422           signed comparison.
79424 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79426         [BZ #12205]
79427         * string/test-strncasecmp.c (check_result): New function.
79428         (do_one_test): Use it.
79429         (check1): New function.
79430         (test_main): Use it.
79431         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79432         Support strcasecmp and strncasecmp.
79434 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79436         [BZ #12194]
79437         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79438         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79440 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79442         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79443         IFUNC support.
79444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79445         memset-x86-64.
79446         * sysdeps/x86_64/multiarch/bzero.S: New file.
79447         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79448         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79449         * sysdeps/x86_64/multiarch/memset.S: New file.
79450         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79452         Set bit_Prefer_SSE_for_memop for Intel processors.
79453         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79454         Define.
79455         (index_Prefer_SSE_for_memop): Define.
79456         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79458 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79460         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79461         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79463 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79465         [BZ #12191]
79466         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79467         (__x86_64_raw_data_cache_size_half): Likewise.
79468         (__x86_64_raw_shared_cache_size): Likewise.
79469         (__x86_64_raw_shared_cache_size_half): Likewise.
79471         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79472         (__x86_64_raw_data_cache_size_half): Likewise.
79473         (__x86_64_raw_shared_cache_size): Likewise.
79474         (__x86_64_raw_shared_cache_size_half): Likewise.
79475         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79476         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79477         and __x86_64_raw_shared_cache_size_half.  Round
79478         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79479         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79480         to multiple of 256 bytes.
79482 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79484         [BZ #12167]
79485         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79486         of inacessible symlinks.  Verify result of symlink before returning it.
79487         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79488         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79490 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79492         * math/math.h (isinf): Fix typo in comment.
79494 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79496         * po/da.po: Update from translation team.
79498 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79500         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79501         is added to the list.
79503 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79504             Ulrich Drepper  <drepper@gmail.com>
79506         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79507         the global list here.  Move code to...
79508         (_dl_add_to_namespace_list): ...here.  New function.
79509         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79510         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79511         * elf/dl-load.c (lose): Don't remove the element from the list.
79512         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79513         (_dl_map_object): Likewise.
79515 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79517         [BZ #12159]
79518         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79519         into all bytes of SSE register.
79520         Patch by Richard Li <richardpku@gmail.com>.
79522 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79524         [BZ #12140]
79525         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79526         perturbing.
79528 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79530         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79531         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79532         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79533         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79535         submachine.
79536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79538 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79540         * include/dlfcn.h (__RTLD_SECURE): Define.
79541         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79542         mode & __RTLD_SECURE instead.
79543         (open_path): Rename preloaded parameter to secure.
79544         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79545         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79546         * elf/dl-deps.c (openaux): Likewise.
79547         * elf/rtld.c (struct map_args): Remove is_preloaded.
79548         (map_doit): Don't use it.
79549         (dl_main): Likewise.
79550         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79551         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79553 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79555         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79556         (sysd-rules-targets): Remove duplicates.
79557         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79558         rtld-%.$o dependency.
79560 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79562         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79563         _dl_map_object do it.
79565 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79567         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79568         fast fma builtins, define the macros in the C99 standard.
79569         (FP_FAST_FMAF): Likewise.
79570         (FP_FAST_FMAL): Likewise.
79571         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79573         * bits/mathdef.h: Update copyright year.
79574         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79576 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79578         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79579         builtins, define the macros in the C99 standard.
79580         (FP_FAST_FMAF): Likewise.
79581         (FP_FAST_FMAL): Likewise.
79582         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79583         multiply/add.
79584         (FP_FAST_FMAF): Likewise.
79586 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79588         [BZ #3268]
79589         * math/libm-test.inc (fma_test): Some new testcases.
79590         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79592         y and infinite z.  Do multiplication by C already in long double.
79593         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79595         y and infinite z.  Do bitwise or of inexact bit into u.d.
79596         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79597         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79598         * sysdeps/i386/fpu/s_fma.S: Removed.
79599         * sysdeps/i386/fpu/s_fmal.S: Removed.
79601 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79603         [BZ #3268]
79604         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79606         computation is not scheduled after fetestexcept.  Fix value
79607         of minimum denormal long double.
79609 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79611         [BZ #3268]
79612         * math/libm-test.inc (fma_test): Add some more tests.
79613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79614         correctly.
79616 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79618         * scripts/data/localplt-s390-linux-gnu.data: New file.
79619         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79621 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79623         [BZ #3268]
79624         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79625         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79626         instead of dbl-64.
79627         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79628         inlines.
79629         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79631         if one of x and y is very large and the other is subnormal.
79632         * sysdeps/s390/fpu/s_fmaf.c: New file.
79633         * sysdeps/s390/fpu/s_fma.c: New file.
79634         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79635         * sysdeps/powerpc/fpu/s_fma.S: New file.
79636         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79637         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79638         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79640 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79642         [BZ #3268]
79643         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79644         fma tests.
79645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79646         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79647         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79648         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79649         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79650         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79651         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79653 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79655         [BZ #12078]
79656         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79657         * posix/bug-regex31.input: Add test case.
79659 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79661         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79662         * posix/bug-regex31.input: New file.
79664         [BZ #12078]
79665         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79666         (parse_sub_exp): Fix last change, use postorder.
79668         * posix/bug-regex31.c: New file.
79669         * posix/Makefile: Add rules to build and run bug-regex31.
79671         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79673         [BZ #12078]
79674         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79676         [BZ #12108]
79677         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79678         to have entries in sys_siglist.
79680         [BZ #12093]
79681         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79682         be NULL.
79684 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79686         [BZ #3268]
79687         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79688         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79689         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79690         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79691         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79692         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79693         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79694         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79695         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79696         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79697         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79698         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79699         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79700         * math/ftestexcept.c (fetestexcept): Likewise.
79701         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79702         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79703         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79704         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79705         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79706         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79707         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79709 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79711         [BZ #12107]
79712         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79713         newline.
79715 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79717         * string/bug-strstr1.c: New file.
79718         * string/Makefile: Add rules to build and run bug-strstr1.
79720 2010-10-05  Eric Blake  <eblake@redhat.com>
79722         [BZ #12092]
79723         * string/str-two-way.h (two_way_long_needle): Always clear memory
79724         when skipping input due to the shift table.
79726 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79728         [BZ #12005]
79729         * malloc/mcheck.c: Handle large requests.
79731         [BZ #12077]
79732         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79733         for strncmp and strncasecmp.
79734         * string/stratcliff.c: Add tests for strcmp and strncmp.
79735         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79737 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79739         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79740         __set_fpscr.
79742 2010-09-30  Andreas Jaeger  <aj@suse.de>
79744         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79745         (CGROUP_SUPER_MAGIC): Define.
79746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79747         Handle btrfs and cgroup file systems.
79748         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79749         Likewise.
79751 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79753         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79754         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79756 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79758         [BZ #12067]
79759         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79760         trying to locate the ELF header.
79762 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79764         [BZ #11611]
79765         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79766         Mask out sign-bit copies when constructing f_fsid.
79768 2010-09-24  Petr Baudis <pasky@suse.cz>
79770         * debug/stack_chk_fail_local.c: Add missing licence exception.
79771         * debug/warning-nop.c: Likewise.
79773 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79775         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79776         implementing getdents64 using getdents syscall, set d_type if
79777         __ASSUME_GETDENTS32_D_TYPE.
79779 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79781         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79782         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79784 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79786         [BZ #12037]
79787         * posix/unistd.h: Undo change of feature selection for ftruncate from
79788         2010-01-11.
79790 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79792         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79793         detection.
79795 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79797         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79798         fanotify_mark.
79799         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79801 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79803         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79804         variables after CHECK_SP call.
79805         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79807 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79808             Ulrich Drepper  <drepper@redhat.com>
79810         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79811         re-relocationg ld.so.
79812         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79813         _dl_init_paths call.
79814         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79815         here anymore.
79817 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79819         * resolv/res_init.c (__res_vinit): Count the default server we added.
79821 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79822             Ulrich Drepper  <drepper@redhat.com>
79824         [BZ #11968]
79825         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79826         (____longjmp_chk): Use %ebx for saving value across system call.
79827         Add unwind info.
79829 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79831         * manual/Makefile: Don't mix pattern rules with normal rules.
79833 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79835         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79836         operation.
79837         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79838         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79839         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79840         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79842         Likewise.
79844 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79846         [BZ #11979]
79847         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79848         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79850 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79852         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79853         * sysdeps/x86_64/addmul_1.S: Likewise.
79854         * sysdeps/x86_64/lshift.S: Likewise.
79855         * sysdeps/x86_64/mul_1.S: Likewise.
79856         * sysdeps/x86_64/rshift.S: Likewise.
79857         * sysdeps/x86_64/sub_n.S: Likewise.
79858         * sysdeps/x86_64/submul_1.S: Likewise.
79860 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79862         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79863         Define __sched_param instead of SCHED_* and sched_param when
79864         <bits/sched.h> is included with __need_schedparam defined.
79865         * bits/sched.h [__need_schedparam]
79866         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79867         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79868         (__defined_schedparam): Define to 1.
79869         (__sched_param): New structure, identical to sched_param.
79870         (__need_schedparam): Undefine.
79872 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79874         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79875         (epoll_create1): Declare.
79877         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79879 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79881         [BZ #7066]
79882         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79883         shifting retval into place.
79885 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79887         * nis/rpcsvc/nis.h: Update copyright notice.
79888         * nis/rpcsvc/nis.x: Likewise.
79889         * nis/rpcsvc/nis_callback.h: Likewise.
79890         * nis/rpcsvc/nis_callback.x: Likewise.
79891         * nis/rpcsvc/nis_object.x: Likewise.
79892         * nis/rpcsvc/nis_tags.h: Likewise.
79893         * nis/rpcsvc/yp.h: Likewise.
79894         * nis/rpcsvc/yp.x: Likewise.
79895         * nis/rpcsvc/ypupd.h: Likewise.
79896         * nis/yp_xdr.c: Likewise.
79897         * nis/ypupdate_xdr.c: Likewise.
79899         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79900         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79901         (pmap_getport): Use __libc_rpc_getport.
79902         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79903         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79904         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79906 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79909         fanotify_mark.
79911 2010-08-27  Roland McGrath  <roland@redhat.com>
79913         * sysdeps/i386/i686/multiarch/Makefile
79914         (CFLAGS-varshift.c): New variable.
79916 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79918         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79919         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79921         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79923         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79925 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79927         * sysdeps/x86_64/strlen.S: Unroll the loop.
79928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79929         strlen-sse2 strlen-sse2-bsf.
79930         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79931         __strlen_no_bsf if bit_Slow_BSF is set.
79932         (__strlen_sse42): Removed.
79933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79934         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79936 2010-08-25  Roland McGrath  <roland@redhat.com>
79938         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79939         * sysdeps/x86_64/multiarch/varshift.c: New file.
79940         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79941         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79942         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79943         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79945 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79948         strlen-sse2 strlen-sse2-bsf.
79949         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79950         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79951         (__strlen_sse2): Removed.
79952         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79955         bit_Slow_BSF for Atom.
79956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79957         (index_Slow_BSF): Define.
79958         (HAS_SLOW_BSF): Define.
79960 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79962         [BZ #10851]
79963         * resolv/res_init.c (__res_vinit): When no server address at all
79964         is given default to loopback.
79966 2010-08-24  Roland McGrath  <roland@redhat.com>
79968         * configure.in: Remove config-name.h generation.
79969         * configure: Regenerated.
79970         * config-name.in: File removed.
79971         * scripts/config-uname.sh: New file.
79972         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79973         ($(objdir)config-name.h): New target.
79975         * sunrpc/rpc_parse.h: Avoid nested comment.
79977 2010-08-24  Richard Henderson  <rth@redhat.com>
79978             Ulrich Drepper  <drepper@redhat.com>
79979             H.J. Lu  <hongjiu.lu@intel.com>
79981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79983         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79984         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79985         _mm_alignr_epi8 with _mm_loadu_si128.
79986         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79987         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79988         (__m128i_shift_right): Removed.
79989         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79990         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79991         * sysdeps/x86_64/multiarch/varshift.h: New file.
79992         * sysdeps/x86_64/multiarch/varshift.S: New file.
79994 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79996         * configure.in: Move assembler checks to before sysdep dir checking.
79998 2010-08-20  Petr Baudis  <pasky@suse.cz>
80000         * LICENSES: Sync the sunrpc license.
80002 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80004         * sunrpc/auth_des.c: Update copyright notice once again.
80005         * sunrpc/auth_none.c: Likewise.
80006         * sunrpc/auth_unix.c: Likewise.
80007         * sunrpc/authdes_prot.c: Likewise.
80008         * sunrpc/authuxprot.c: Likewise.
80009         * sunrpc/bindrsvprt.c: Likewise.
80010         * sunrpc/clnt_gen.c: Likewise.
80011         * sunrpc/clnt_perr.c: Likewise.
80012         * sunrpc/clnt_raw.c: Likewise.
80013         * sunrpc/clnt_simp.c: Likewise.
80014         * sunrpc/clnt_tcp.c: Likewise.
80015         * sunrpc/clnt_udp.c: Likewise.
80016         * sunrpc/clnt_unix.c: Likewise.
80017         * sunrpc/des_crypt.c: Likewise.
80018         * sunrpc/des_soft.c: Likewise.
80019         * sunrpc/get_myaddr.c: Likewise.
80020         * sunrpc/getrpcport.c: Likewise.
80021         * sunrpc/key_call.c: Likewise.
80022         * sunrpc/key_prot.c: Likewise.
80023         * sunrpc/openchild.c: Likewise.
80024         * sunrpc/pm_getmaps.c: Likewise.
80025         * sunrpc/pm_getport.c: Likewise.
80026         * sunrpc/pmap_clnt.c: Likewise.
80027         * sunrpc/pmap_prot.c: Likewise.
80028         * sunrpc/pmap_prot2.c: Likewise.
80029         * sunrpc/pmap_rmt.c: Likewise.
80030         * sunrpc/rpc/auth.h: Likewise.
80031         * sunrpc/rpc/auth_unix.h: Likewise.
80032         * sunrpc/rpc/clnt.h: Likewise.
80033         * sunrpc/rpc/des_crypt.h: Likewise.
80034         * sunrpc/rpc/key_prot.h: Likewise.
80035         * sunrpc/rpc/netdb.h: Likewise.
80036         * sunrpc/rpc/pmap_clnt.h: Likewise.
80037         * sunrpc/rpc/pmap_prot.h: Likewise.
80038         * sunrpc/rpc/pmap_rmt.h: Likewise.
80039         * sunrpc/rpc/rpc.h: Likewise.
80040         * sunrpc/rpc/rpc_des.h: Likewise.
80041         * sunrpc/rpc/rpc_msg.h: Likewise.
80042         * sunrpc/rpc/svc.h: Likewise.
80043         * sunrpc/rpc/svc_auth.h: Likewise.
80044         * sunrpc/rpc/types.h: Likewise.
80045         * sunrpc/rpc/xdr.h: Likewise.
80046         * sunrpc/rpc_clntout.c: Likewise.
80047         * sunrpc/rpc_cmsg.c: Likewise.
80048         * sunrpc/rpc_common.c: Likewise.
80049         * sunrpc/rpc_cout.c: Likewise.
80050         * sunrpc/rpc_dtable.c: Likewise.
80051         * sunrpc/rpc_hout.c: Likewise.
80052         * sunrpc/rpc_main.c: Likewise.
80053         * sunrpc/rpc_parse.c: Likewise.
80054         * sunrpc/rpc_parse.h: Likewise.
80055         * sunrpc/rpc_prot.c: Likewise.
80056         * sunrpc/rpc_sample.c: Likewise.
80057         * sunrpc/rpc_scan.c: Likewise.
80058         * sunrpc/rpc_scan.h: Likewise.
80059         * sunrpc/rpc_svcout.c: Likewise.
80060         * sunrpc/rpc_tblout.c: Likewise.
80061         * sunrpc/rpc_util.c: Likewise.
80062         * sunrpc/rpc_util.h: Likewise.
80063         * sunrpc/rpcinfo.c: Likewise.
80064         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80065         * sunrpc/rpcsvc/key_prot.x: Likewise.
80066         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80067         * sunrpc/rpcsvc/mount.x: Likewise.
80068         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80069         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80070         * sunrpc/rpcsvc/rex.x: Likewise.
80071         * sunrpc/rpcsvc/rstat.x: Likewise.
80072         * sunrpc/rpcsvc/rusers.x: Likewise.
80073         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80074         * sunrpc/rpcsvc/spray.x: Likewise.
80075         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80076         * sunrpc/rtime.c: Likewise.
80077         * sunrpc/svc.c: Likewise.
80078         * sunrpc/svc_auth.c: Likewise.
80079         * sunrpc/svc_authux.c: Likewise.
80080         * sunrpc/svc_raw.c: Likewise.
80081         * sunrpc/svc_run.c: Likewise.
80082         * sunrpc/svc_simple.c: Likewise.
80083         * sunrpc/svc_tcp.c: Likewise.
80084         * sunrpc/svc_udp.c: Likewise.
80085         * sunrpc/svc_unix.c: Likewise.
80086         * sunrpc/svcauth_des.c: Likewise.
80087         * sunrpc/xcrypt.c: Likewise.
80088         * sunrpc/xdr.c: Likewise.
80089         * sunrpc/xdr_array.c: Likewise.
80090         * sunrpc/xdr_float.c: Likewise.
80091         * sunrpc/xdr_mem.c: Likewise.
80092         * sunrpc/xdr_rec.c: Likewise.
80093         * sunrpc/xdr_ref.c: Likewise.
80094         * sunrpc/xdr_sizeof.c: Likewise.
80095         * sunrpc/xdr_stdio.c: Likewise.
80097         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80098         handling.
80100 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80102         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80104 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80106         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80107         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80108         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80109         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80110         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80111         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80112         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80113         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80114         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80115         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80116         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80117         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80118         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80119         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80121 2010-07-26  Anton Blanchard  <anton@samba.org>
80123         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80124         * malloc/arena.c (heap_trim): Likewise.
80126 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80128         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80129         here.  Not...
80130         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80131         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80133 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80135         * sysdeps/i386/elf/Makefile: New file.
80137 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80139         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80140         from fanotify_init.
80141         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80142         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80144 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80146         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80147         of strncasecmp_l.
80148         * sysdeps/multiarch/strcmp.S: Likewise.
80150 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80152         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80153         strncase_l-nonascii.
80154         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80155         Add strncase_l-ssse3.
80156         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80157         * sysdeps/x86_64/strcmp.S: Likewise.
80158         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80159         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80160         * sysdeps/x86_64/strncase.S: New file.
80161         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80162         * sysdeps/x86_64/strncase_l.S: New file.
80163         * string/Makefile (strop-tests): Add strncasecmp.
80164         * string/test-strncasecmp.c: New file.
80166         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80167         warning.
80169         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80170         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80172 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80174         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80176 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80178         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80179         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80180         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80182 2010-05-01  Alan Modra  <amodra@gmail.com>
80184         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80185         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80186         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80187         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80188         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80189         tidying.  Don't tail-call __sigjmp_save for static lib.
80190         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80191         save location.
80192         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80193         (CALL_MCOUNT): Add eh info, and nop after bl.
80194         (TAIL_CALL_SYSCALL_ERROR): New macro.
80195         (PSEUDO_RET): Use it.
80196         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80197         Correct save location of integer regs and cr.
80198         (_dl_profile_resolve): Correct cr save location.  Delete nops
80199         after bl when SHARED.  Reduce cfi size a little by better
80200         placement of cfi directives.
80201         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80202         make a stack frame.  Instead use parm save area as a temp.
80203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80204         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80206         Don't make a stack frame for parent, use parm save area.
80207         Increase child stack frame to 112 bytes.  Don't save unused reg,
80208         and adjust reg usage.  Set up cfi on error recovery and
80209         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80211         (__makecontext): Add dummy nop after jump to exit.
80212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80213         Use correct parm save area and cr save, reduce stack frame.
80214         Correct cfi for possible PSEUDO_RET frame setup.
80215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80216         Branch to local label emitted by PSEUDO_RET rather than
80217         __syscall_error.
80219 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80221         [BZ #11904]
80222         * locale/programs/locale.c (print_assignment): New function.
80223         (show_locale_vars): Use it.
80225 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80227         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80228         field.
80229         (struct statfs64): Likewise.
80230         (_STATFS_F_FLAGS): Define.
80231         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80232         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80233         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80234         (ST_VALID): Define locally.
80235         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80236         __statvfs_getflags, use the provided value.
80237         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80238         __ASSUME_STATFS_F_FLAGS.
80240         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80242         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80243         Add sys/fanotify.h.
80244         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80245         fanotify_mask for GLIBC_2.13.
80246         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80247         fanotify_init and fanotify_mark.
80248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80249         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80251         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80252         Add prlimit.
80253         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80254         prlimit64 for GLIBC_2.13.
80255         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80256         prlimit64.
80257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80258         syscall.
80259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80260         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80261         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80262         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80263         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80264         add prlimit alias.
80265         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80267         [BZ #11903]
80268         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80269         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80271         * nss/Makefile: Add rules to build and run tst-nss-test1.
80272         * shlib-versions: Add entry for libnss_test1.
80273         * nss/nss_test1.c: New file.
80274         * nss/tst-nss-test1.c: New file.
80276         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80277         (__nss_configure_lookup): Set appropriate entry in
80278         __nss_configure_lookup to true.
80279         * nss/nsswitch.h: Define enum with indeces of databases in
80280         databases and __nss_database_custom arrays.  Declare
80281         __nss_database_custom.
80282         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80283         to avoid using nscd when custom rules are installed.
80284         * nss/getXXbyYY_r.c: Likewise.
80285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80287         * nss/nss_files/files-parse.c: Whitespace fixes.
80289 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80291         [BZ #11883]
80292         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80293         * posix/fnmatch_loop.c: Likewise.
80295 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80297         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80298         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80299         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80300         * Versions.def [GLIBC_2.13]: Add.
80302 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80304         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80305         Also fail if tpwd after pwuid call is NULL.
80307 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80309         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80310         when converting to ms.
80312 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80314         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80315         EOPNOTSUPP errors with ENOTTY.
80316         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80317         EOPNOTSUPP errors with ENOTTY.
80319 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80321         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80322         Add strcasecmp_l-ssse3.
80323         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80324         strcasecmp.
80325         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80326         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80327         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80329 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80331         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80333         * string/Makefile (strop-tests): Add strcasecmp.
80334         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80335         strcasecmp_l-nonascii.
80336         (gen-as-const-headers): Add locale-defines.sym.
80337         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80338         * sysdeps/x86_64/strcasecmp.S: New file.
80339         * sysdeps/x86_64/strcasecmp_l.S: New file.
80340         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80341         * sysdeps/x86_64/locale-defines.sym: New file.
80342         * string/test-strcasecmp.c: New file.
80344         * string/test-strcasestr.c: Test both ends of the range of characters.
80345         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80347 2010-07-29  Roland McGrath  <roland@redhat.com>
80349         [BZ #11856]
80350         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80352 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80354         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80355         for ld.so.
80357 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80359         * manual/memory.texi (Malloc Tunable Parameters): Document
80360         M_PERTURB.
80362 2010-07-26  Roland McGrath  <roland@redhat.com>
80364         [BZ #11840]
80365         * configure.in (-fgnu89-inline check): Set and substitute
80366         gnu89_inline, not libc_cv_gnu89_inline.
80367         * configure: Regenerated.
80368         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80370 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80372         * string/test-strnlen.c: New file.
80373         * string/Makefile (strop-tests): Add strnlen.
80374         * string/tester.c (test_strnlen): Add a few more test cases.
80375         * string/tst-strlen.c: Better error reporting.
80377         * sysdeps/x86_64/strnlen.S: New file.
80379 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80381         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80382         lower-latency instructions.
80384 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80386         * string/test-strcasestr.c: New file.
80387         * string/test-strstr.c: New file.
80388         * string/Makefile (strop-tests): Add strstr and strcasestr.
80389         * string/str-two-way.h: Don't undefine MAX.
80390         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80392 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80395         strcasestr-nonascii.
80396         (CFLAGS-strcasestr-nonascii.c): Define.
80397         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80398         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80399         Remove unused attribute.
80401 2010-07-20  Roland McGrath  <roland@redhat.com>
80403         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80404         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80405         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80406         like LD_HWCAP_MASK can disable hwcaps.
80408 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80410         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80412 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80414         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80415         call in strcasestr.
80416         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80417         __strcasestr_sse42_nonascii.
80418         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80419         strcasestr-nonascii.c.
80420         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80422 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80424         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80425         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80427         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80429 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80431         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80432         fcntl.
80434 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80436         [BZ #11577]
80437         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80438         dl_signal_cerror.
80440 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80442         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80443         _PC_PIPE_BUF using F_GETPIPE_SZ.
80445 2010-07-05  Roland McGrath  <roland@redhat.com>
80447         * manual/arith.texi (Rounding Functions): Fix rint description
80448         implicit in round description.
80450 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80452         * elf/Makefile: Fix linking for a few tests to make recent linker
80453         happy.
80455 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80457         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80458         $(common-objpfx)libc_nonshared.a.
80460 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80462         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80463         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80464         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80465         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80466         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80467         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80468         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80469         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80484         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80485         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80486         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80487         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80488         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80489         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80490         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80491         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80492         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80493         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80494         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80495         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80511 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80513         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80514         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80515         * string/memmove.c (memmove): Renamed to ...
80516         (MEMMOVE): ...this.  Default to memmove.
80517         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80518         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80519         (END_CHK): Define.
80520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80521         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80522         mempcpy-ssse3-back memmove-ssse3-back.
80523         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80524         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80526         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80527         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80528         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80529         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80530         * sysdeps/x86_64/multiarch/memmove.c: New file.
80531         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80532         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80533         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80534         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80535         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80536         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80537         Define.
80538         (index_Fast_Copy_Backward): Define.
80539         (HAS_ARCH_FEATURE): Define.
80540         (HAS_FAST_REP_STRING): Define.
80541         (HAS_FAST_COPY_BACKWARD): Define.
80543 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80545         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80546         Restore proper fallback handling.
80548 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80550         [BZ #11701]
80551         * posix/group_member.c (__group_member): Correct checking loop.
80553         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80554         OOM in getpwuid_r correctly.  Return error number when the caller
80555         should return, otherwise -1.
80556         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80557         call returning > 0 value.
80558         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80560 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80562         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80563         libc_nonshared.a from targets in modules-names.
80565 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80567         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80568         requires it.
80570 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80572         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80573         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80574         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80575         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80577 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80579         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80581 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80583         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80584         and F_GETPIPE_SZ.
80585         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80586         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80590         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80592 2010-06-14  Roland McGrath  <roland@redhat.com>
80594         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80596 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80598         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80599         __REDIRECT followed by __THROW.
80600         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80601         * posix/getopt.h (getopt): Likewise.
80603 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80605         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80606         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80607         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80608         in AT_FLAGS.
80609         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80610         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80612 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80614         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80616 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80618         [BZ #11640]
80619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80620         Properly check family and model.
80622 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80624         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80626 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80628         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80630 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80632         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80633         symbol reference.
80635 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80637         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80638         symbol reference.
80640 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80642         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80643         and internal_recvmmsg.
80644         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80645         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80646         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80647         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80649         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80650         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80651         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80653 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80655         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80657 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80659         POWER7 optimizations.
80660         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80661         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80663 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80665         * version.h: Update for 2.13 development version.
80667 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80669         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80670         exceptions.  Return 0.
80672 2010-05-07  Roland McGrath  <roland@redhat.com>
80674         * elf/ldconfig.c (main): Add a const.
80676 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80678         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80679         (args_options): Add no-idn option.
80680         (ahosts_keys_int): Add idn_flags to ai_flags.
80681         (parse_option): Handle 'i' option to clear idn_flags.
80683         * malloc/malloc.c (_int_free): Possible race in the most recently
80684         added check.  Only act on the data if no current modification
80685         happened.
80687 See ChangeLog.17 for earlier changes.